nakijun / morisoliver

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

mkzip does not download extra metadata files for rasters #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The mkzip script will download any files with GeoServer keywords 
"MassgisMetadataUrl" or "ExtractDoc".  This works well for shapefile and kml 
downloads but for GeoTiff downloads only the .tif is downloaded.

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 13 Dec 2011 at 3:48

GoogleCodeExporter commented 9 years ago
http://maps.massgis.state.ma.us/map_ol/oliver.php?lyrs=2001%20Color%20Orthos~mas
sgis:GISDATA.IMG_COQ2001&bbox=-71.04871603791929,42.32675882579602,-71.045571294
66257,42.328184056764734&coordUnit=m&measureUnit=m&base=custom¢er=237325.100770
59,897541.50514726&zoom=12.668795335077476

is a good one to use (GISDATA.IMG_COQ2001) as it has both a MassgisMetadataUrl 
and a ExtractDoc.

Original comment by Aleda.Fr...@state.ma.us on 13 Dec 2011 at 3:55

GoogleCodeExporter commented 9 years ago
Notes from Charlton on what this would entail: 
"A bit more complicated than flipping a switch.  The metadata links are 
assembled in map.js per layer and then passed along to mkzip which blindly zips 
up everything.  Why the rasters don’t contain pointers to the metadata and 
the others do would require digging to find out."

Original comment by Aleda.Fr...@state.ma.us on 13 Dec 2011 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 30 Dec 2011 at 8:24

GoogleCodeExporter commented 9 years ago
I was able to get the ExtractDoc files for MORIS.CCAP_MA_96_RD and 
GISDATA.IMG_WIND_SPD100M.
GISDATA.IMG_COQ2001 did not work because the ExtractDoc link also needs to be 
on staging maps, then the slice_getcaps.pl needs to be run and the resulting 
file for the datalayer copied to maps.  
MassgisMetadataUrl won't work unless the document is on 
maps.massgis.state.ma.us.
Michael and I decided not to put the MassGIS datalayer description pages on 
maps. 

Original comment by Aleda.Fr...@state.ma.us on 6 Jan 2012 at 8:41

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 6 Jan 2012 at 9:09