[postgis-devel] GML and boxes

strk strk at keybit.net
Mon Mar 8 06:38:43 PST 2010


On Sun, Mar 07, 2010 at 10:17:44PM +0100, Olivier Courtin wrote:
> 
> On Mar 7, 2010, at 10:01 PM, strk wrote:
> 
> 
> >>For GML what do you expect ?
> >
> >An GML 3 Envelope, like this:
> >
> ><gml:Envelope srsName="urn:ogc:def:crs:EPSG:3003" srsDimension="2">
> ><gml:lowerCorner>1619809.00 4806923.00</gml:lowerCorner>
> ><gml:upperCorner>1726740.00 4902589.00</gml:upperCorner>
> ></gml:Envelope>
> 
> Ok and  in GML 2.1.2 it's Box

Excellent, as we already have a 'version' options :)

> >A problem with this is the SRS, which is missing from box types.
> 
> ST_SetSRID could be used in userland.
> Current GML export function just omit srsName if SRID=-1

I meant BOX types do not have SRID info.

> I like a bit more the envelopeOnly flag

Yeah, me too.

> You create the related enhance ticket ?

http://trac.osgeo.org/postgis/ticket/459

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list