On Tue, Apr 24, 2012 at 10:42 AM, Jürgen Weichand <
[email protected]> wrote:

> **
>
> Hello everyone,
>
> I created a layer "gmd_ex" (postgis as datasource). The internal preview
> in OpenLayers (WMS 1.1.0) looks fine.
>
> SRS definition of source-layer (EPSG:31468) --> using native SRS
>
> PROJCS["DHDN / 3-degree Gauss-Kruger zone 4",
>   GEOGCS["DHDN",
>     DATUM["Deutsches Hauptdreiecksnetz",
>       SPHEROID["Bessel 1841", 6377397.155, 299.1528128, 
> AUTHORITY["EPSG","7004"]],
>       TOWGS84[612.4, 77.0, 440.2, -0.054, 0.057, -2.797, 2.55],
>       AUTHORITY["EPSG","6314"]],
>     PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
>     UNIT["degree", 0.017453292519943295],
>     AXIS["Geodetic longitude", EAST],
>     AXIS["Geodetic latitude", NORTH],
>     AUTHORITY["EPSG","4314"]],
>   PROJECTION["Transverse_Mercator", AUTHORITY["EPSG","9807"]],
>   PARAMETER["central_meridian", 12.0],
>   PARAMETER["latitude_of_origin", 0.0],
>   PARAMETER["scale_factor", 1.0],
>   PARAMETER["false_easting", 4500000.0],
>   PARAMETER["false_northing", 0.0],
>   UNIT["m", 1.0], *  AXIS["Easting", EAST],
>   AXIS["Northing", NORTH], *  AUTHORITY["EPSG","31468"]]
>
>   The determined envelope also looks fine.
>
>
>  I tried several WFS 2.0 requests (stored queries):
>
>
> http://www.weichand.de/2012/04/22/wfs-2-0-geoserver-beta-stored-queries-beispiele/
>

In these stored queries you are using the deprecated EPSG:XYWZ format,
which GeoServer
assumes to force lon/lat order, if you want the natural EPSG order you'll
have to use
the srs expression mandated by WFS 2.0, the urn:... format.

See this for a bit more details:
http://docs.geoserver.org/latest/en/user/services/wfs/basics.html#axis-ordering

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to