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
Level directory names #310
Conversation
@groldan does this look right to you? If so we should really include it in 1.7. |
@xguaita I'm afraid I don't know enough about ArcGIS Cache to verify this. Could you point to some documentation or other source? A unit test would also be helpful. |
@smithkm Unfortunately I never found esri documentation regarding this topic, that is why I had just changed my sources to suit my directory structure (zoom levels). In this blog post they say, explicitly, that both rows and columns are hex encoded. But they don't say anything about levels In this one, they show an example of directory structure to google maps scales which shows that the level directories not encoded in hex OpenLayers fixed the issue in January 2013 A year later they added a option (hexZoom) to encode in decimal (default) or hex, because "both options seem to be used" Versions of arcgis server available to me (9.2, 9.3 and 10.0) have no choice for encoding zoom levels, and they encode in decimal numbers. Currently I don't have higher versions to 10.0 |
OK, so it sounds like ESRI may be using either hex or decimal depending on some factor we are not presently aware of? Could you make this a configurable option? It should be done in the layer configuration. If this is going to be in 1.7.0, it needs to be in by tomorrow (the 18th). This issue is not a blocker so we won't delay the release for it. There is a potential blocker on GeoServer being verified right now which might delay the combined GT/GS/GWC release for a week. If there isn't time to do this properly by extending the layer configuration, I'd be willing to consider configuring this system wide via GeoWebCacheExtensions.getProperty (something along the lines of |
The GeoServer security regression has been confirmed so the release has been pushed back. |
Successfully tested an exploded arcgis cache produced with 10.0 |
A unit test covering the new behaviour would also be a good addition. That you did remember to update the config schema and docs is very much appreciated. Those both tend to get forgotten. |
Arcgis encodes levels (directory names) in decimal, not hexadecimal Add hexZoom layer option: configure whether or not the z-values should be hex-encoded or not
Arcgis encodes levels (directory names) in decimal, not hexadecimal