ogr personal geodatabase issue

Jim Donaghy jim at JIMDONAGHY.COM
Tue Jan 24 23:35:26 EST 2006


Actually the only problem was that I had the extent set for the wrong  
projection.

Sorry to waste bandwidth, and thanks for the excellent code!


On Jan 24, 2006, at 2:46 PM, Frank Warmerdam wrote:

> On 1/24/06, Jim Donaghy <jim at jimdonaghy.com> wrote:
>> 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?
>
> Jim,
>
> The above looks fine assuming your .mdb file contains a
> geospatial layer called "Areas" with polygons in it.   Also,
> keep in mind that different permissions issues could apply
> in a web context.   I don't know much about this aspect.
>
> Best regards,
> --
> --------------------------------------- 
> +--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,  
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for  
> Rent
>
>



More information about the mapserver-users mailing list