Personal geodatabase layer not working.

Paul Moen pmoen at ND.GOV
Wed Nov 29 10:34:32 EST 2006


I have a dsn named 'thecounty' set up to access a Personal Geodatabase.
When I use the following command,
ogrinfo Pgeo:thecounty votes

I get the following output,

INFO: Open of `PGeo:thecounty'
      using driver `PGeo' successful.

Layer name: Votes
Geometry: Unknown (any)
Feature Count: 3
Extent: (2785689.942372, 524554.643027) - (2857978.115425, 559998.112040)
Layer SRS WKT:
PROJCS["NAD_1983_StatePlane_North_Dakota_South_FIPS_3302_Feet",
    GEOGCS["GCS_North_American_1983",
        DATUM["North_American_Datum_1983",
            SPHEROID["GRS_1980",6378137.0,298.257222101]],
        PRIMEM["Greenwich",0.0],
        UNIT["Degree",0.0174532925199433]],
    PROJECTION["Lambert_Conformal_Conic_2SP"],
    PARAMETER["False_Easting",1968500.0],
    PARAMETER["False_Northing",0.0],
    PARAMETER["Central_Meridian",-100.5],
    PARAMETER["Standard_Parallel_1",46.18333333333333],
    PARAMETER["Standard_Parallel_2",47.48333333333333],
    PARAMETER["Latitude_Of_Origin",45.66666666666666],
    UNIT["Foot_US",0.3048006096012192]]
OBJECTID: Integer (11.0)
ADDRESS: String (255.0)
PRECINCT: String (255.0)
PARCEL: String (255.0)
CITYNAME: String (255.0)
POLL_LOCAT: String (255.0)
OGRFeature(Votes):1
  OBJECTID (Integer) = 1
  ADDRESS (String) = N/A
  PRECINCT (String) = 09-20-02 & 09-20-03 & 09-20-04
  PARCEL (String) = 26000001343010
  CITYNAME (String) = ARTHUR
  POLL_LOCAT (String) = Northern Cass School District

OGRFeature(Votes):2
  OBJECTID (Integer) = 2
  ADDRESS (String) = 550 MAIN ST
  PRECINCT (String) = 09-22-02
  PARCEL (String) = 08010011629000
  CITYNAME (String) = ARTHUR
  POLL_LOCAT (String) = Arthur Community Hall

OGRFeature(Votes):3
  OBJECTID (Integer) = 3
  ADDRESS (String) = 17150 25TH ST SE
  PRECINCT (String) = 09-22-06
  PARCEL (String) = 09020011904000
  CITYNAME (String) = ARGUSVILLE
  POLL_LOCAT (String) = Argusville Fire Hall

Which leads me to believe that things are working properly.  But, when I add
the following layer to my mapfile,

LAYER
   NAME votes
   TYPE POINT
   GROUP "TEST"
   CONNECTIONTYPE ogr
   CONNECTION "PGeo:thecounty"
   DATA "Votes"
   STATUS ON
   CLASS
     NAME "votes"
     STYLE
       COLOR 255 0 0
       OUTLINECOLOR 0 0 0
     END
   END
END

I get no errors, but nothing is displayed on my map.  The projection of my
map is the same as the Projection in the personal geodatabase.

Anyone have any ideas?

Thank you,

Paul



More information about the mapserver-users mailing list