-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Error: Unimplemented type: 4,6,7 error #29
Comments
Does tilemaker .gzip the files when they're created? The library is expecting unzipped .pbfs - if you were using Mapbox Studio to make your vector tiles, they come out gzipped and inside of an .mbtiles container. The tile server then has the responsibility of extracting and then sending out the .pbf files with the correct gzip header so the browser knows to unzip the file when it gets there. So - you might need to add a header to your web service response indicating whether or not the file is gzipped. Here's an example of how TileStream does it (this example is from PGRestAPI, based on the TileStream ecosystem: https://github.com/spatialdev/PGRestAPI/blob/master/endpoints/tiles/mbtileserver.js#L427 If you want to reference the tiles NOT using a server, but instead from a folder on your workstation (for example), you can unzip them as described here. Here are some related links: I'm not sure of a GUI to check the .PBF tiles. |
I am using apache server and gzip is not enabled, tilemaker simply breaks the osm files into vector files (pbf) and these are served in apache like z/x/y format , just like raster .png tiles. if you are interested i can send few tiles for testing purpose which are produced from tilemaker |
Yes, please send over some sample files. |
Please download them from |
Thanks - what is the full z/x/y address of these tiles? |
Please see below link its for rhode island, OSM file from http://download.geofabrik.de/, converted using tilemaker and hosted at ubuntu apache |
Hi Regards |
Yes - sorry, just slammed today!
|
No problem :) |
Hosted at new address http://ec2-52-3-48-243.compute-1.amazonaws.com/rhode/ |
It is a compression problem, thanks for your help |
@Alphatiger Could you elaborate? What was the solution? Edit: found it. Tilemaker config fix: systemed/tilemaker#10 (comment) |
I am trying to achieve this
Pre render all mapbox vector files (.pbf) files using tilemaker https://github.com/systemed/tilemaker from planet OSM downloaded data and then serving them through apache server.
When i tried to use leaflet i see the error Unimplemented type: 4, Unimplemented type: 6 errors.
Any ideas, and also is there any GUI tool where i can open and check the PBF files.
The text was updated successfully, but these errors were encountered: