[Geoserver-users] WCS: cannot setup a srs different to 4326

Hi list,
following approach: i want to combine a public served Topographical map with a development plan of my own geoserver in an Open layers mapviewer. The public map comes with a native Gauss-Krüger projection (epsg:31467). My development plan is a raster file accompanied by a world file.

Although the world file depends on the projected Gauss-Krüger coordinates, the geoserver WCS automatically recognizes them as WGS84 (epsg:4326). I tried to turn the configuration manually to 31467 (SRS, Request CRS and Response CRS), so that GetCapabilities serves the 31467, but the GetMap just works with 4326.

The result is that i’m not able to view both layers in Open layers together.
What may be wrong there?
I#m using geoserver 1.6.5
Thanks
Albrecht

Albrecht,

I have the same problem. I have an image stored in the universal polar
projection (south). When exported from Manifold as a j2k file and loaded
into Geoserver the coverage epsg is 4326. It should be 32761 i think.
Weirdly the bounding X & Y are UPS bounding coordinates. When epsg is 4326,
the image appears in the openlayers demo page with UPS cursor coordinates.
When epsg is set to 32761 then a blank image appears. I wish I could provide
more details but i'm posting from home.

I've ignore this problem until now since openlayers reads it fine and i have
a kml converted to UPS coordinates overlayed which works too. The problem
has occured after installed GeoWebCache. Through GeoWebCache a blank image
appears yet all the examples images/vector demos work fine. My guess is that
i should return to this 4326 problem and fix it properly.
--
View this message in context: http://www.nabble.com/WCS%3A-cannot-setup-a-srs-different-to-4326-tp20898478p21083991.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi all,
the WCS allows you to define a custom EPSG code only if it cannot find
one from the native CRS, otherwise it will show the EPSG code defined
by the original raster.

That means that your rasters have an envelope which is not coherent
with the declared CRS. For instance for the rasters with a world file
attached you also need a prj file defining the WKT of its native CRS.

-------------------------------------------------------
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000

http://www.geo-solutions.it

-------------------------------------------------------

On Fri, Dec 19, 2008 at 1:53 AM, coastalrocket <andy@anonymised.com> wrote:

Albrecht,

I have the same problem. I have an image stored in the universal polar
projection (south). When exported from Manifold as a j2k file and loaded
into Geoserver the coverage epsg is 4326. It should be 32761 i think.
Weirdly the bounding X & Y are UPS bounding coordinates. When epsg is 4326,
the image appears in the openlayers demo page with UPS cursor coordinates.
When epsg is set to 32761 then a blank image appears. I wish I could provide
more details but i'm posting from home.

I've ignore this problem until now since openlayers reads it fine and i have
a kml converted to UPS coordinates overlayed which works too. The problem
has occured after installed GeoWebCache. Through GeoWebCache a blank image
appears yet all the examples images/vector demos work fine. My guess is that
i should return to this 4326 problem and fix it properly.
--
View this message in context: http://www.nabble.com/WCS%3A-cannot-setup-a-srs-different-to-4326-tp20898478p21083991.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Alessio Fabiani ha scritto:

Hi all,
the WCS allows you to define a custom EPSG code only if it cannot find
one from the native CRS, otherwise it will show the EPSG code defined
by the original raster.

That means that your rasters have an envelope which is not coherent
with the declared CRS. For instance for the rasters with a world file
attached you also need a prj file defining the WKT of its native CRS.

Having a way to force a different SRS than the native one on
coverages like we do on feature types would go a long way avoiding
these issues. For example the world+img chooses 4326 if no prj is
found, but that is arbitrary, the user should be left able to
override it from UI without having to write a prj file...
Which is already in jira, here:
http://jira.codehaus.org/browse/GEOS-1677

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.