Leaflet.VectorGrid icon indicating copy to clipboard operation
Leaflet.VectorGrid copied to clipboard

TileStache GeoJSON compatibility

Open radumas opened this issue 8 years ago • 2 comments

TileStache can serve slices of GeoJSON from PostGIS, presenting a URL of form:
http://example.org/path/tile.cgi/streets/{z}/{x}/{y}.json

The example VectorGrid.Protobuf URL is:
https://free-{s}.tilehosting.com/data/v3/{z}/{x}/{y}.pbf.

This seems like a match made to be no?

radumas avatar Jun 26 '17 18:06 radumas

Should most likely be very straight forward to add, given that GeoJSON already feeds data to the slicer, and we already load tiles in the protobuf implementation, as you already noted.

Having said that, I don't think it's likely that any of the maintainers will go ahead and just implement this, given pretty limited resources at the moment.

I'd be happy to answer questions to help you with this, if it's something you'd be willing to implement. Another option would be if you'd be willing to sponsor development of this feature.

perliedman avatar Aug 25 '17 13:08 perliedman

I don't think this is as much a priority for me since Tangram works as a leaflet plugin and can parse either GeoJSON or protobuf vector tiles. I haven't actually tried it out yet

radumas avatar Aug 25 '17 16:08 radumas