EL-BID / BabelGrid

BabelGrid is a common python API to work with different established grid systems.
Other
32 stars 6 forks source link

Add GeoHash and XYZ Grids #9

Open njanakiev opened 4 years ago

njanakiev commented 4 years ago

Great project! I think Geohash (e.g. https://github.com/hkwi/python-geohash) and XYZ Grid might be a great addition (e.g. https://github.com/mapbox/mercantile)

JoaoCarabetta commented 4 years ago

Hi, thanks!

I was taking a look at these grids. They are certainly great additions to the package.

One question though,

Are XYZ Grid the same as quadtrees? Because the project API documentation has conversion examples between them

image

njanakiev commented 4 years ago

From what I understood it is the same segmentation, so perhaps a conversion might be sufficient there (Use Bing Quadkey tiles instead of x/y/z tiles in leafletjs map)

By the way, there are some nuances with TMS tiles, WMTS tiles and XYZ tiles (What are the Differences Between TMS, XYZ & WMTS?).

JoaoCarabetta commented 4 years ago

Thanks! I will take a deeper look.