OGR - Access to Mapinfo

fx gamoy fx.gamoy at MAPXPLORE.COM
Fri Aug 27 05:04:46 EDT 2004


Hello,
you can try :

LAYER
  NAME "lakes"
   TYPE POLYGON
   CONNECTIONTYPE OGR
   CONNECTION "couche_shp/lakes.tab" // (or absolute path) - linux plateform
sould be case sensitive -> .TAB
   STATUS ON
   CLASS
       SYMBOL 0
      OUTLINECOLOR 0 0 0
      COLOR 255 255 255
    SIZE 1
   END
END

Bon courage
fx gamoy
http://www.geomatika.fr/


----- Original Message -----
From: "Pierre RELLA" <Pierre.RELLA at AGRICULTURE.GOUV.FR>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Friday, August 27, 2004 10:13 AM
Subject: [UMN_MAPSERVER-USERS] OGR - Access to Mapinfo


Hi,
When i want to view a vector layer in format Mapinfo (.tab") i have the
message
"msOGRLayerOpen(): General error message. OGR support is not available" and

In format ESRI(.shp) it works

In the mapefile i write:
LAYER
  NAME "lakes"
   TYPE POLYGON
   CONNECTIONTYPE OGR
   DATA "couche_shp/lakes.tab"
   STATUS OFF
   CLASS
      OUTLINECOLOR 0 0 0
      COLOR 255 255 255
   END
END

If i change the "lakes.tab" by "lakes.shp" i have the same problem.

thank for your help,

Bests regards



More information about the mapserver-users mailing list