[Geoserver-users] A question with GML generated by GS

hi all,
I am using GS1.6-RC1 and openlayers2.5.
GS1.6-RC1 has already supported GML2,so did openlayers2.5.
The GML generated by GS can not be used by openlayers.
The reason is that the "gml:coordinates" format in openlayers is "lon1,lat1
lon2,lat2 ...",but
in GS is "lat1,lon1 lat2,lon2 ...".
Am i wrong?

Thanks in advance of any tips.

regards,
minimeteor
--
View this message in context: http://www.nabble.com/A-question-with-GML-generated-by-GS-tf4879062.html#a13962559
Sent from the GeoServer - User mailing list archive at Nabble.com.

minimeteor ha scritto:

hi all,
I am using GS1.6-RC1 and openlayers2.5.
GS1.6-RC1 has already supported GML2,so did openlayers2.5.
The GML generated by GS can not be used by openlayers.
The reason is that the "gml:coordinates" format in openlayers is "lon1,lat1
lon2,lat2 ...",but in GS is "lat1,lon1 lat2,lon2 ...".
Am i wrong?

If you are using WFS 1.1 calls (or if you omit the service number) then
yes, you are right, we have to provide lat/lon ordered data in order to
comply with the wfs 1.1 standard.
Make sure you're using the wfs 1.0 protocol (by appending &version=1.0.0
to your requests) and you should be fine.

Cheers
Andrea