[Mapserver-users] Fwd: Using OGR with tab files
Kari Geurts
kgeurts at gis.umn.edu
Fri Oct 3 12:21:39 PDT 2003
Phil Maskell wrote:
> Hi,
>
> I have set MapServer 4.0 up with the demo, I have used OGR to load a
> POLYGON type layer from a tab, but cannot get it to work with LINE or
> POINT.
>
> This is a sample of the layer in my map file:
>
> # This works
> LAYER
> NAME Counties_region
> TYPE POLYGON
> STATUS DEFAULT
> CONNECTIONTYPE OGR
> CONNECTION "data/Counties.TAB"
> STYLEITEM "AUTO"
> CLASS
> NAME "Counties"
> END
> PROJECTION
> "AUTO"
> END
> END # Layer
>
> # This doesn't work
> LAYER
> NAME Motorways
> TYPE LINE
> STATUS DEFAULT
> CONNECTIONTYPE OGR
> CONNECTION "data/Motorways.TAB"
> STYLEITEM "AUTO"
> CLASS
> NAME "Motorways"
> END
> PROJECTION
> "AUTO"
> END
> END # Layer
>
> Thanks in advance
>
> Phil Maskell
> Phil Maskell <maskellp at ntlworld.com>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003
>
>
>
Kari A. Geurts
Department of Forest Resources
University of Minnesota
115 Green Hall
1530 Cleveland Ave. N.
St. Paul, MN 55108-6112
Phone: 612-624-3459
Email: kgeurts at gis.umn.edu
More information about the MapServer-users
mailing list