MassGIS / morisoliver

Automatically exported from code.google.com/p/morisoliver
2 stars 2 forks source link

What does it mean that the ArcGIS Server folder names have changed when Gabriela created 3 additional levels L20-L22 #204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For now we are sticking with L19 but we'd like to figure out why this 
happened/what needs to change. 

In order to create 3 additional levels Gabriela needed to create an XML tile 
scheme file (using an ArcToolbox tool) and read that rather than the built-in 
Bing/ArcGIS Online theme.  We did this only in this one basemap cache called 
Basemaps/MassGISBasemapWithLabelsSpringTest3.  Unfortunately that changed for 
some reason all the underlying folder names under the LXX folders. 

Each Level for each cache had the same subfolder names up until now. 

For example:

Basemaps_MassGISBasemapWithLabels1/Layers/_alllayers/L12 has:

R000005e0  R000005e2  R000005e4  R000005e6  R000005e8  R000005ea  R000005ec  
R000005ee  R000005f0  R000005f2  R000005f4  R000005f6  R000005f8  R000005fa  
R000005fc  R000005fe
R000005e1  R000005e3  R000005e5  R000005e7  R000005e9  R000005eb  R000005ed  
R000005ef  R000005f1  R000005f3  R000005f5  R000005f7  R000005f9  R000005fb  
R000005fd

Basemaps_MassGISBasemapNoLabels1/Layers/_alllayers/L12 has:

R000005e0  R000005e2  R000005e4  R000005e6  R000005e8  R000005ea  R000005ec  
R000005ee  R000005f0  R000005f2  R000005f4  R000005f6  R000005f8  R000005fa  
R000005fc  R000005fe
R000005e1  R000005e3  R000005e5  R000005e7  R000005e9  R000005eb  R000005ed  
R000005ef  R000005f1  R000005f3  R000005f5  R000005f7  R000005f9  R000005fb  
R000005fd

The Python code depends on the particular folder names to be the same.

However, the new one 
Basemaps_MassGISBasemapWithLabelsSpringTest3/Layers/_alllayers/L12 has a 
different scheme:

R00001170  R00001172  R00001174  R00001176  R00001178  R0000117a  R0000117c  
R0000117e  R00001180  R00001182  R00001184  R00001186
R00001171  R00001173  R00001175  R00001177  R00001179  R0000117b  R0000117d  
R0000117f  R00001181  R00001183  R00001185

OLIVER is looking for 
Basemaps_MassGISBasemapWithLabelsSpringTest3/Layers/_alllayers/L12/R000005ee/C00
0004ca.png which doesn't exist.

Something about adding the 3 new levels has changed the folder naming scheme.

The tile scheme file is attached.  Gabriela doesn't have them for the others.  
The original .mxd is in state plane so we don't think the fact that the tile 
schema file says state plane is an issue. 

The AGS JS viewer 
http://170.63.161.135/arcgisserver/rest/services/Basemaps/MassGISBasemapWithLabe
lsSpringTest3/MapServer?f=jsapi works with the new folder names and it does a 
hex translation too. 
http://170.63.161.135/arcgisserver/rest/services/Basemaps/MassGISBasemapWithLabe
lsSpringTest3/MapServer/tile/8/279/235

becomes L08/R00000117/C000000eb.png

http://www.statman.info/conversions/hexadecimal.html

http://gisprpxy.itd.state.ma.us/arcgiscache/Basemaps_MassGISBasemapWithLabelsSpr
ingTest3/Layers/_alllayers/L08/R00000117/C000000eb.png which does exist 

Trying to isolate one tile perhaps in 

http://170.63.161.135/arcgisserver/rest/services/Basemaps/MassGISBasemapWithLabe
lsSpringTest2/MapServer?f=jsapi

vs. 

http://170.63.161.135/arcgisserver/rest/services/Basemaps/MassGISBasemapWithLabe
lsSpringTest3/MapServer?f=jsapi

to try to understand what the folder names change means.

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 8 Jan 2013 at 9:10

Attachments:

GoogleCodeExporter commented 9 years ago
By comparing some tiles at a particular level I was able to see that the tile 
scheme for each cache up until now is the same in terms of what the tiles look 
like, how they're broken up - except for SpringTest3.

For example 

SpringTest2 
http://gisprpxy.itd.state.ma.us/arcgiscache/Basemaps_MassGISBasemapWithLabelsSpr
ingTest2/Layers/_alllayers/L08/R0000005f/C0000004e.png

and NoLabels1
http://gisprpxy.itd.state.ma.us/arcgiscache/Basemaps_MassGISBasemapNoLabels1/Lay
ers/_alllayers/L08/R0000005f/C0000004e.jpg

show the same part of the Cape.

But SpringTest3 shows a different, overlapping part of the Cape when I try to 
get a tile in the same general area: 
http://gisprpxy.itd.state.ma.us/arcgiscache/Basemaps_MassGISBasemapWithLabelsSpr
ingTest3/Layers/_alllayers/L08/R00000117/C000000eb.png

They're all level 8.  But the folder names being different seems to reflect a 
difference in how things are "cut up" into tiles as well. 

For SpringTest2 and NoLabels1, L08 on the s: drive consists of 2 folders, each 
folder has 4 images - so 8 total to make up L08 
For SprintTest3 L08 on the s: drive consists of 2 folders, but each folder 
consists of 3 images - so 6 total to make up L08 

Here's another one of the 6 for L08 for SpringTest3 is:
http://gisprpxy.itd.state.ma.us/arcgiscache/Basemaps_MassGISBasemapWithLabelsSpr
ingTest3/Layers/_alllayers/L08/R00000118/C000000eb.png

Original comment by Aleda.Fr...@state.ma.us on 8 Jan 2013 at 9:59

GoogleCodeExporter commented 9 years ago
Michael/Gabriela and I have figured out the correct XML file to generate the 2 
extra levels we need (L20 and L21 - we already had L19).  Should take a week or 
more to grid through that I guess.

Original comment by Aleda.Fr...@state.ma.us on 17 Jan 2013 at 5:12

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 18 Jan 2013 at 2:47

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 24 Jan 2013 at 8:13