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 the GetFeatureResponse (GML 3.2.1) the axis-order is inverted (Northing, Easting).

Also in the SHAPE-ZIP Output-Format:

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["Northing", NORTH],
  AXIS["Easting", EAST],*
  AUTHORITY["EPSG","31468"]]


The shapefile is shown with the wrong axis-order in QGIS (using SRS:EPSG:31468).

Best regards

Jürgen

------------------------------------------------------------------------------
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