bug in GML writer for multipoints
Eijnden, Bart van den (AGI)
b.vdeijnden at AGI.RWS.MINVENW.NL
Wed Jul 26 03:32:07 PDT 2006
Hi Mateusz,
that is also my conclusion (I have patched my local copy already).
I have opened up bug 1847 to track this issue.
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1847
Best regards,
Bart
-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens Mateusz Loskot
Verzonden: woensdag 26 juli 2006 12:25
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: Re: [UMN_MAPSERVER-USERS] bug in GML writer for multipoints
Eijnden, Bart van den (AGI) wrote:
> Hi list,
>
> when Mapserver (we use 4.8.3) writes a multipoint, it writes:
>
> <gml:MultiPoint srsName="EPSG:28992"> <gml:Point>
> <gml:coordinates>139190.125000,461492.869000</gml:coordinates>
> </gml:Point> </gml:MultiPoint>
>
> This is not correct according to the GML schema, it is missing
> gml:pointMember in between.
I'm not a MapServer developer but just to sleep well ;-) I checked if
this problem applies to the OGR. And it does not :-)
OGR outputs correct schema of MultiPoint geometry in GML 2
After quick look at the MS code, the problem is in mapgml.c file, in
function gmlWriteGeometry_GML2. This function constructs GML geometry
output and it does not include gml:pointMember for MultiPoint.
Other Multi* geometries should be OK, with *Member elements included,
as I see in the code. So, only MultiPoint is broken.
BTW, there is also gmlWriteGeometry_GML3 function which does output
gml:pointMember element.
Best regards
--
Mateusz Loskot
http://mateusz.loskot.net
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
More information about the MapServer-users
mailing list