Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2258 closed defect (fixed)

Serve WFS in alternate CS: SRSNAME not respected in getfeature, alternate SRS not available

Reported by: christinebao Owned by: Christine Bao
Priority: high Milestone:
Component: Server Version: 2.1.0
Severity: trivial Keywords:
Cc: External ID: 1489164

Description

Reported from Autodesk:

  1. In studio, connect to a datalayer in a projected CS, such as state plane or UTM.
  2. In studio, define a WFS connection, and be sure to set an EPSG: 4326 CS as the default CS with the native CS as an alternate.
  3. Perform a getfeature request using EPSG: 4326 in the string, such as <http://localhost/mapserver2013/mapagent/mapagent.fcgi?service=wfs&version=1.1.0&request=GetFeature&srsName=epsg:4326&typeName=ns189738229:Untitled1>
  4. perform another getfeature, this time with the native CS or no cs in the string, such as <http://localhost/mapserver2013/mapagent/mapagent.fcgi?service=wfs&version=1.1.0&request=GetFeature&typeName=ns189738229:Untitled1> or <http://localhost/mapserver2013/mapagent/mapagent.fcgi?service=wfs&version=1.1.0&request=GetFeature&srsName=epsg:25831&typeName=ns189738229:Untitled1>

Expected: native CS values in the results with the native CS request only. The other two should be in LL84 actual: all in native cs

Change History (4)

comment:1 by christinebao, 12 years ago

Submit to trunk in rev 7541, 7542, 7543.

comment:2 by christinebao, 12 years ago

Integrate 7541, 7542, 7543 to http://svn.osgeo.org/mapguide/sandbox/adsk/2.4j. Submission 7545.

comment:3 by christinebao, 12 years ago

Resolution: fixed
Status: newclosed

comment:4 by christinebao, 12 years ago

Fix Linux build error due to std::to_wstring is available since C++11. Trunk: rev 7551. http://svn.osgeo.org/mapguide/sandbox/adsk/2.4j: rev 7552.

Note: See TracTickets for help on using tickets.