[Mapserver-users] Using OGR with tab files
Phil Maskell
maskellp at ntlworld.com
Thu Oct 2 20:21:59 PDT 2003
Thanks for this, I tried it, still no joy.
Being new to MapServer, do you think this has anything to do with my
projection settings? The tabs are using "British National Grid".
I use the following:
PROJECTION
"init=epsg:27700"
END
Phil
-----Original Message-----
From: Matthew Haines [mailto:mhaines94108 at hotmail.com]
Sent: 03 October 2003 03:30
To: maskellp at ntlworld.com
Subject: Re: [Mapserver-users] Using OGR with tab files
I have the line "FORCE TRUE" in my LAYER declaration for a POINT type
layer.
Matthew
----Original Message Follows----
From: "Phil Maskell" <maskellp at ntlworld.com>
To: <mapserver-users at lists.gis.umn.edu>
Subject: [Mapserver-users] Using OGR with tab files
Date: Thu, 2 Oct 2003 23:44:43 +0100
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
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $29.95/month
(depending on the local service providers in your area).
https://broadband.msn.com
---
Incoming 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
---
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