I have a map with circles on it that I'm having trouble
displaying it nicely using geoserver+openlayers and would
like some pointers or advice.
When I convert the maps to epsg:4326 (WGS 84) and load them
into geoserver and view it with openlayers, circles on the
map look 'squished'. If I convert those maps into epsg:3395
(WGS 84 / World Mercator) the circles on the dipslayed map
looks more circular (and the overall map looks much nicer).
However, the nexrad radar data (i.e.,
http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi)
doesn't overlay on that because of the different formats.
Is there a projection that will look as nice as 3395 and
still allow the iastate.edu radar data overlays to appear?
Or is the lack of radar overlays an OpenLayers problem?
Thanks,
Wendell
Wendell Turner ha scritto:
I have a map with circles on it that I'm having trouble
displaying it nicely using geoserver+openlayers and would
like some pointers or advice.
When I convert the maps to epsg:4326 (WGS 84) and load them
into geoserver and view it with openlayers, circles on the
map look 'squished'. If I convert those maps into epsg:3395
(WGS 84 / World Mercator) the circles on the dipslayed map
looks more circular (and the overall map looks much nicer).
However, the nexrad radar data (i.e.,
http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi)
doesn't overlay on that because of the different formats.
Is there a projection that will look as nice as 3395 and
still allow the iastate.edu radar data overlays to appear?
I believe you have to start with the SRS that the WMS above
can generate. If you look at its capabilities documents:
http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?request=GetCapabilities&service=wms&version=1.1.1
you'll see that depending on the layer only one/two
SRS can be used, meaning that you'll have to use one
of them to perform the overlay in OpenLayers.
Pick the layer you want to use, see what srs are actually
supported, and use one of them. It seems that, depending on the
layer, your choice is limited to 29615, 4326 and 900913.
Cheers
Andrea