[Mapserver-users] OGR & GML
Van Ulden, Joost
jvanulde at nrcan.gc.ca
Thu Feb 19 09:12:53 PST 2004
Thanks Daniel it works. I had tried it earlier but had the wrong value for
the layer DATA. Ogrinfo set me straight.
Here is the layer code if anyone else is interested:
LAYER
NAME 'Earthquake'
TYPE POINT
CONNECTIONTYPE OGR
CONNECTION 'D:\wwwroot\MS_DEMO\mapserver\data\quakes.gml'
DATA 'Earthquake'
STATUS ON
CLASS
NAME 'Earthquake'
SYMBOL 'circle'
SIZE 4
COLOR 0 0 255
END
END
============================================
Joost van Ulden
Programmer/Analyst
Natural Resources Canada / Ressources naturelles Canada
Geological Survey of Canada / Commission geologique du Canada
101 - 605 Robson Street / 101 - 605 rue Robson
Vancouver, B.C. / Vancouver (C.-B.)
V6B 5J3
Office/Bureau: 604.666.7525
fax/telecopieur: 604.666.1124
jvanulde at nrcan.gc.ca
============================================
> -----Original Message-----
> From: Daniel Morissette [mailto:dmorissette at dmsolutions.ca]
> Sent: Thursday, February 19, 2004 8:53 AM
> To: Van Ulden, Joost
> Cc: Mapserver-Users at Lists. Gis. Umn. Edu
> (mapserver-users at lists.gis.umn.edu)
> Subject: Re: [Mapserver-users] OGR & GML
>
>
> Van Ulden, Joost wrote:
> > I know OGR has support for GML, but can it use a GML document as a
> > virtual datasource? Or is there another mechanism (other than WFS)
> > available to read in GML as a layer?
> >
>
> You can use an OGR CONNECTION to open a GML file directly.
> That's what
> the WFS does behind the scene.
>
> Daniel
> --
> ------------------------------------------------------------
> Daniel Morissette dmorissette at dmsolutions.ca
> DM Solutions Group http://www.dmsolutions.ca/
> ------------------------------------------------------------
>
More information about the MapServer-users
mailing list