Comments (6)
Initial MBTiles tile implementation in 0d4d50a. Conditional get added as function into tileserver.php, but it is not yet used - still to be done.
from tileserver-php.
It would be also cool to expose the grid.json interaction layers out of .mbtiles files. It is pretty simple with:
$query = sprintf('SELECT grid FROM grids WHERE tile_column = %d AND tile_row = %d AND zoom_level = %d', $tile_col, $tile_row, $zoom);
...
gzinflate(substr($compressed, 2));
...
and adding traditional JSONP callback(...) around..
Discussed at: http://support.mapbox.com/discussions/general-questions/573-how-do-i-get-gridjson-files-out-of-mbtiles
from tileserver-php.
Demo of UTFGrid:
https://www.mapbox.com/demo/visiblemap/
from tileserver-php.
A sample MBTiles to download:
http://a.tiles.mapbox.com/v3/mapbox.geography-class.mbtiles
and preview at:
http://a.tiles.mapbox.com/v3/mapbox.geography-class/page.html#2/30.3/0.0
from tileserver-php.
from tileserver-php.
Our TileJSON request such as:
http://s444715029.onlinehome.us/geographyclass.json
must contain the grids
value similar to the one available in:
http://a.tiles.mapbox.com/v3/mapbox.geography-class.json
It should be present ONLY if there are some UTFGrids in the MBTiles (the table 'grids' is present). The test can be done as described in http://stackoverflow.com/questions/1601151/how-do-i-check-in-sqlite-whether-a-table-exists
from tileserver-php.
Related Issues (20)
- mbtiles from QGIS? HOT 5
- Apache 2 - php 7.2.19 - getting warning / array dump vs loading page HOT 1
- GDAL2Tiles? HOT 1
- Running tileserver-php via Docker on Windows using a bind mount volume makes filemtime() return 0
- localhost MBTiles HOT 3
- map.js erro HOT 1
- When the file is updated, we can reload the file make it work without a restart HOT 1
- Tiles like à la Google Maps HOT 3
- PBF serving in non-root directory not working
- wmts problem with arcmap HOT 2
- Chinese file name
- Valid KVP getTile Requests respond with a GetCapabilities document
- urn:ogc:def:crs:EPSG:6.18:3:3857 is wrong and should be urn:ogc:def:crs:EPSG:6.18.3:3857 HOT 1
- Map Tiles working on localhost but not from remote computer
- Question: has anyone ever tried to convert a osm.pbf to MBtiles and produced a map? using tippecanoe ogr2ogr
- All maps Invisible HOT 4
- Trying to get in touch regarding a security issue
- support arcgis tile package? HOT 2
- JSON metadata file is not valid. Please check configuration of your server. HOT 1
- Tile folder xyz
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tileserver-php.