[Mapserver-users] Mapserver and GML.
Andrew Larcombe
andrew at redink.demon.co.uk
Fri Jan 23 07:46:06 PST 2004
> Andrew Larcombe wrote:
> The GDAL/OGR library essentially supports GML 2 (though relatively simple
> GML 3 files should work too). Note that GML *generation* from MapServer
> goes through a completely different mechanism, so I am just speaking about
> GML consumption by MapServer via GDAL/OGR.
>
>
> > 2. Can I use 3-d coordinates, and if so how are these handled?
>
> OGR should have no problem consuming 3D GML data. However, I am not
> aware of any meaningful way to make use of the Z coordinates in MapServer.
>
>> 3. Can I use the Mapserver CLASS to select a subset of records
>> within the GML to display?
>
> Yes. All recognised attributes from the GML file should be carried
> through
> for normal processing in mapserver. I would suggest you use "ogrinfo" to
> show you what OGR sees in your GML file (layers, attribute names, etc).
> Then
> construct classes, filters and so on accordingly. You should also read
> over
> the MapServer OGR HOWTO if you haven't already.
>
> PS. The Practical GML Interoperability document isn't particularly
> refined,
> nor does it reflect current OGR operation all that closely.
Frank,
Many thanks for your help. From your answers it sounds very encouraging.
Andrew
More information about the MapServer-users
mailing list