[Mapserver-users] Using OGR with tab files
Phil Maskell
maskellp at ntlworld.com
Thu Oct 2 15:44:43 PDT 2003
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
I hope someone can explain what I'm doing wrong.
Thanks in advance
Phil Maskell
---
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
More information about the MapServer-users
mailing list