wfs GetFeature problem

Henry Han hhan at GEOTANGO.COM
Tue Dec 21 16:33:05 EST 2004


I tested again in another computer. It is not right.
http://130.63.110.128/scripts/mapserv.exe?map=d:\data\wfs\gsn_wfs.map&request=ge
tfeature&service=wfs&typename=rivers&version=1.0.0

Click on the link and search for feature "Blue Nile", then you should be able to
see what is wrong with its geometry: no delimiter between each pair of x and y.
It is like this:

<gml:coordinates>32.485130,15.62972632.576096,15.62027232.794991,15.34721633.014
709,....

Pay attention to the y coordinates which has two dots (e.i. 15.62972632.576096,
should be 15.629726,32.576096). In other words, the first y and next x are not
seperated from each other.

Henry


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf
Of Kralidis,Tom [Burlington]
Sent: Tuesday, December 21, 2004 4:13 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] wfs GetFeature problem

>
> I put a world rivers.shp layer from ESRI demo data in  MapServer 4.4
>WFS. This is my getFeature request (click to  see the GML return):
> http://130.63.110.128/scripts/mapserv.exe?map=d:\data\wfs\gsn_
>wfs.map&request=ge
>tfeature&service=wfs&typename=rivers&version=1.0.0

>But the format of the generated GML does not look right. Each pair of x
andy coordinates of some MultiLineString >features is NOT seperated by a
delimiter such as " ". As a result, the XML parser can not parse them.
Below is one> >GML-based MultiLineString feature.

Wierd.  I ran the request above, and the coordinates come back ok for me, i.e.:

x,y x,y x,y

..Tom



More information about the mapserver-users mailing list