ESRI Personal GDB / OGR not working

Flavio Hendry flavio at TYDAC.CH
Mon Oct 15 07:50:05 PDT 2007


Hi all [hello Frank, me again]

No way to get something displayed and everything should be correct (same
layer as MapInfo file in same MapFile with same settings works, means
parcels drawn as it should, mdb creates blank image); any idea ??? (mdb
is ESRI ArcGIS 9.1).

LAYER
	NAME "Parcelle"
	TYPE POLYGON
	STATUS ON
	CONNECTIONTYPE ogr
	CONNECTION "cademonti.mdb"
	DATA "parcelle" 
	SIZEUNITS inches
		CLASS
			NAME "Parcelle"
			STYLE
			COLOR -1 -1 -1
			OUTLINECOLOR 0 0 0
			SYMBOL 'continue'
			SIZE 10
			END
		END
	PROJECTION
	 "init=world:CH1903"
	END
END

shp2img and ogrinfo say as well all OK:

*******
OGRINFO:
INFO: Open of `data/cademonti.mdb'
      using driver `PGeo' successful.

Layer name: parcelle
Geometry: Unknown (any)
Feature Count: 506
Extent: (715889.010000, 110427.013000) - (719144.278000, 112312.140000)
Layer SRS WKT:
PROJCS["CH1903_LV03",
    GEOGCS["GCS_CH1903",
        DATUM["CH1903",
            SPHEROID["Bessel_1841",6377397.155,299.1528128]],
        PRIMEM["Greenwich",0.0],
        UNIT["Degree",0.0174532925199433]],
    PROJECTION["Hotine_Oblique_Mercator"],
    PARAMETER["False_Easting",600000.0],
    PARAMETER["False_Northing",200000.0],
    PARAMETER["Scale_Factor",1.0],
    PARAMETER["Azimuth",90.0],
    PARAMETER["Longitude_Of_Center",7.439583333333333],
    PARAMETER["Latitude_Of_Center",46.95240555555556],
    PARAMETER["rectified_grid_angle",90],
    UNIT["Meter",1.0]]
Numero_Parcella: String (10.0)
OBJECTID: Integer (10.0)
SHAPE_Length: Real (0.0)
SHAPE_Area: Real (0.0)

********************
SHP2IMG (result is empty image):
[Mon Oct 15 16:34:11 2007].46000 msOGRFileOpen(cademonti.mdb)...
[Mon Oct 15 16:34:11 2007].46000 OGROPen(f:/temp/data/cademonti.mdb)
[Mon Oct 15 16:34:11 2007].78000 msOGRLayerClose(cademonti.mdb).
[Mon Oct 15 16:34:11 2007].78000
msOGRFileClose(f:/temp/data/cademonti.mdb,0).
[Mon Oct 15 16:34:11 2007].125000 msDrawMap(): Layer 1 (Edifici), 0.079s
[Mon Oct 15 16:34:11 2007].125000 msOGRFileOpen(cademonti.mdb)...
[Mon Oct 15 16:34:11 2007].125000 OGROPen(f:/temp/data/cademonti.mdb)
[Mon Oct 15 16:34:11 2007].156000 msOGRLayerClose(cademonti.mdb).
[Mon Oct 15 16:34:11 2007].156000
msOGRFileClose(f:/temp/data/cademonti.mdb,1).
[Mon Oct 15 16:34:11 2007].203000 msDrawMap(): Layer 2 (Parcelle), 0.078s
[Mon Oct 15 16:34:11 2007].203000 msOGRFileOpen(cademonti.mdb)...
[Mon Oct 15 16:34:11 2007].203000 OGROPen(f:/temp/data/cademonti.mdb)
[Mon Oct 15 16:34:11 2007].234000 msOGRLayerClose(cademonti.mdb).
[Mon Oct 15 16:34:11 2007].234000
msOGRFileClose(f:/temp/data/cademonti.mdb,1).
[Mon Oct 15 16:34:11 2007].281000 msDrawMap(): Layer 4 (Parcelle - Scala
grande)
, 0.078s
[Mon Oct 15 16:34:11 2007].281000 msDrawMap(): Drawing Label Cache, 0.000s
[Mon Oct 15 16:34:11 2007].281000 msDrawMap() total time: 0.235s
[Mon Oct 15 16:34:11 2007].312000 msFreeMap(): freeing map at 003FB258.



More information about the MapServer-users mailing list