[postgis-users] RE: [postgis-devel] GML and XY,XYM,XYZ,XYZM

Darko Androsevic dandrosevic at galdosinc.com
Wed Oct 6 11:31:49 PDT 2004


Hello,

GML has no way to emulate M, L or other special characters used in SVG for
drawing the shape. GML should be used to describe geometries.

GML provides NO support (except deprecated support) for explicit coordinate
tags and this will not come back in GML.
We would recommend to use the <gml:pos> element in combination with the CRS
("srsName" attribute) to desribe the coordinates of the geometries. The
<gml:coord> element should not be supported in any new softwares.

Thanks,
Darko



-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of
strk at refractions.net
Sent: Wednesday, October 06, 2004 3:17 AM
To: PostGIS Development Discussion; PostGIS Users Discussion
Subject: Re: [postgis-users] RE: [postgis-devel] GML and XY,XYM,XYZ,XYZM


On Wed, Oct 06, 2004 at 10:37:28AM +0100, Martin Daly wrote:
> strk,
>
> > I've introduced support for XYM.
> > How should XYM geometries be rendered in GML ?
> > And what aboux XYZM ?
>
> Excellent questions, with no easy answers.
>
> GML 2.x <coord> elements are hard-wired to have elements <X>, <Y> and
> <Z>, so that is a non-starter.  GML 2.x <coordinates> elements just
> contains tuples of co-ordinates, so that is a possibility.  I very much
> doubt that any existing GML 2.x parsers have any knowledge of linear
> reference systems, and instead assume that the tuples have at most three
> ordinates, and that they are X, Y and  optionally Z.  Other usage is
> valid, but is likely to be restricted to a particular vendor, or
> industry, or whatever, and is not likely to be particularly
> interoperable.
>
> GML 3.x has more support for specifying the CRS of the tuples, including
> linear reference systems, but using that will reduce the number of
> available clients for the data, because GML 3 support is not widespread.
>
> Not only no easy answers, but no answers at all!  Would it be tolerable
> to not support AsGML for XYM and XYZM, or to strip the M?

Sure.
Current implementation uses:
	GML:XY  for XY and XYM (strips the M)
	GML:XYZ for XYZ and XYZM (strips the M)
thanks for the info.
--strk;

>
> Regards,
> Martin
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list