ogr personal geodatabase issue

Jim Donaghy jim at JIMDONAGHY.COM
Tue Jan 24 13:48:09 PST 2006


I am connecting to an esri .mdb file using ogr, but unable to display 
the shapes in it. Running the ogrinfo utility displays the data in the 
mdb tables correctly, but when I use the connection in a map file it 
displays a blank image. No error is displayed. Below is the relevant 
layer from my map file.
LAYER
    NAME "area"
    CONNECTIONTYPE OGR
    CONNECTION "d:/geodata/test.mdb"
    DATA "Areas"
    TYPE POLYGON
    STATUS DEFAULT
   
    CLASS
     STYLE
        COLOR 199 215 158
      END
    END
  END

I'm using the latest distribution of MS4W. Is defining a class for this 
kind of layer different from using a shape file as the data source?

Thanks,
Jim



More information about the MapServer-users mailing list