-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enable tiling for TMS WebMercatorQuad
(and other TMS's accepted by the morecantile
library)
#27
Comments
When we save any tile, regardless if it will be a new tile or appended to an existing tile, we extract the Then, if the tile is a new tile, we use that Because of those |
Notes:
When I run the workflow with the default TMS,
When I run the workflow with the desired TMS,
Seems the None values result from this operation. I am not sure if the repeated 1 and -1 values are valid. In contrast, the default TMS shows a large diversity in values for these lists. |
When setting the config to tile for the TMS
WebMercatorQuad
, which differs from the default TMSWGS1984Quad
, the x and y identifiers for each tile cannot be identified (only the z component can be identified) when we save the tiles.Before we save the tiles, when we extract the EPSG code pulled from the default TMS
WGS1984Quad
here, it looks like:urn:ogc:def:crs:EPSG::4326
. When we extract the EPSG code from TMSWebMercatorQuad
, it is in the same format:urn:ogc:def:crs:EPSG::3857
. This means identifying the CRS of the TMS is not likely the issue.When we save tiles, we use the method
tile_from_str()
which pulls the tile x, y, and z identifiers.The following output identifies 2 options for the source of the error:
urn:ogc:def:crs:EPSG::3857
which is what we want(-18034999.95487016, 10070194.973863265)
looks like the units are meters, while the TMS bounds[-180.0, -85.0511287798066, 180.0, 85.0511287798066]
are in degreesconfig
Other TMS's that we should be able to process can be found here.
The text was updated successfully, but these errors were encountered: