Closed GoogleCodeExporter closed 9 years ago
Same as Issue 171?
Original comment by Aleda.Fr...@state.ma.us
on 5 Dec 2012 at 5:43
Would you help me w/ a simple use case? Looking at the nice examples you gave
me above, it looks like you fired the export by using a shape. Here are two
examples that are from simple bbox queries.
wget --header "Content-Type:text/xml" --post-file=26986.post
'http://giswebservices.massgis.state.ma.us/geoserver/wfs' -O 26986.ZIP
Gives us a nice ZIP as we'd expect.
wget --header "Content-Type:text/xml" --post-file=26918.post
'http://giswebservices.massgis.state.ma.us/geoserver/wfs' -O 26918.ZIP
Gives us a ZIP w/o any features. However, there is only one EPSG that is part
of the POST (which differs from the more complex by-shape export from your
example). So can you tell me what is broken here? Do the coordinates always
need an EPSG defined? And it should be 26986?
Original comment by cpl...@gmail.com
on 25 Jun 2013 at 3:51
Attachments:
I think I've figured our my questions for #2 above. I'll be back . . .
Original comment by cpl...@gmail.com
on 25 Jun 2013 at 4:37
Please try r502.
Original comment by cpl...@gmail.com
on 25 Jun 2013 at 5:34
So far I tried all 3 (26918, 26919, 4326) in Firefox successfully, with custom
basemap.
Original comment by Aleda.Fr...@state.ma.us
on 25 Jun 2013 at 6:09
All my vector testing is good so far - 4 browsers, different basemaps, 3
different ways of extracting. Rasters, however,
http://maps.massgis.state.ma.us/map_ol_to5b/oliver.php?lyrs=Modeled%20Wind%20Spe
ed%20at%20100M~massgis:GISDATA.IMG_WIND_SPD100M~GISDATA.IMG_WIND_SPD100M::Defaul
t&bbox=-73.90661498992527,41.51844894553887,-69.47088501007312,42.58706179928094
6&coordUnit=m&measureUnit=m&base=MassGIS_Basemap¢er=-7980355.1456062,5169222.16
66416&zoom=9&opacity=1&baseO=1&filt=undefined
The UI says we can download a raster in the 4 different projections.
Does extracting this raster in different projections really download it in
different projections? It seems to always give me 26986 I think. It's hard for
me to read the WFS request in Firebug, because it's "Charlton-style". When I
ask for 4326 this is what I see:
<layers><layer wmsStyle="" wmsLayer="GISDATA.IMG_WIND_SPD100M" name="Modeled
Wind Speed at 100M"
baseURL="http://giswebservices.massgis.state.ma.us/geoserver/wms?REQUEST___EQ___
GetMap___AMP___VERSION___EQ___1.1.0___AMP___SERVICE___EQ___WMS___AMP___EXCEPTION
___EQ___application/vnd.ogc.se_inimage___AMP___layers___EQ___massgis:GISDATA.IMG
_WIND_SPD100M___AMP___FORMAT___EQ___image/geotiff___AMP___bbox___EQ___-866.45248
10006,809269.19714698,369365.173507,929393.88570299___AMP___srs___EQ___EPSG:2698
6___AMP___width___EQ___1851___AMP___height___EQ___601"><metadata>http://www.mass
.gov/anf/research-and-tech/it-serv-and-support/application-serv/office-of-geogra
phic-information-massgis/datalayers/windspeed.html</metadata><metadata>http://ma
ps.massgis.state.ma.us/metadata/GISDATA_IMG_WIND_SPD100M.xml</metadata></layer><
zip name="wind_4326_custom"/></layers>
If we're not supporting anything bug 26986 for rasters we should grey out the
other projections. I'm having trouble finding notes on this...
Original comment by Aleda.Fr...@state.ma.us
on 25 Jun 2013 at 7:27
If I had it to do over again, I would do away w/ that Charlton style for sure!
Exporting raster as WFS? That doesn't seem like it even makes sense.
Original comment by cpl...@gmail.com
on 25 Jun 2013 at 7:36
Ah, right, it's WMS isn't it? Any way I can get the actual request to
GeoServer? That would make more sense to me.
Original comment by Aleda.Fr...@state.ma.us
on 25 Jun 2013 at 7:38
We already had a note in our docs:
"Currently, rasters can only be downloaded in NAD83/Massachusetts State Plane
Coordinate System, Mainland Zone, meters - EPSG:26986."
so let's not look to support other projections as that would probably get us
into WCS territory.
But we should, if someone only has one raster layer - currently it looks in the
UI as if they get to download it in 4 projections, we should grey out the
non-26986 options.
Original comment by Aleda.Fr...@state.ma.us
on 25 Jun 2013 at 7:44
See what you think about r506.
Basically, if they are ONLY exporting a raster, the projection options are
disabled. In any other case, they are enabled (including when they are
exporting a combo of features and shapes -- in that case, I hope the only
available... stuff will clue people in).
Original comment by cpl...@gmail.com
on 25 Jun 2013 at 8:40
I like it, letting Emily know...
Original comment by Aleda.Fr...@state.ma.us
on 26 Jun 2013 at 3:03
Emily likes the raster change too.
She's going to do a little extract testing today. I have done a number of
combinations successfully so far:
FF towns bbox custom basemap 26986
FF towns bbox custom basemap 26918
FF towns bbox custom basemap 26919
FF towns bbox custom basemap 4326
FF towns bbox google basemap 26986
FF towns bbox google basemap 26918
FF towns bbox google basemap 26919
FF towns bbox google basemap 4326
FF towns draw google basemap 26986
FF towns draw google basemap 26918
FF towns draw google basemap 26919
FF towns draw google basemap 4326
FF schools by town google basemap 4326
IE towns draw google basemap 4326
Chrome schools by town google basemap 26918
Chrome towns bbox google basemap 4326
Safari towns bbox google basemap 4326
Original comment by Aleda.Fr...@state.ma.us
on 26 Jun 2013 at 3:07
Hi Aleda,
This looks fixed to me. Here's what I tested:
IE schools bbox custom basemap 26918
IE schools bbox custom basemap 26919
IE schools bbox custom basemap 4326
Chrome schools draw bing basemap 26918
Chrome schools draw bing basemap 26919
Chrome schools draw bing basemap 4326
Safari schools by town custom basemap 26918
Safari schools by town custom basemap 26919
Safari schools by town custom basemap 4326
Thanks,
Emily
Original comment by Aleda.Fr...@state.ma.us
on 26 Jun 2013 at 7:45
Original issue reported on code.google.com by
Aleda.Fr...@state.ma.us
on 9 Nov 2012 at 9:21Attachments: