[Geomoose-users] GDB layer problems - Pink Screen

Joshua Meyer jmeyer at lcsheriff.com
Tue Jun 2 10:33:20 PDT 2015


I have tried to add layers from an ESRI geodatabase.  The following error is
received: msOGRFileOpen(): OGR error. Open failed for OGR connection in
layer `ESN'.  File not found or unsupported format.  I originally exported
the layers to shapefiles for testing and they worked.  I have tested each
map file using shp2img with success on each individual layer.  However, when
loading from the mapbook.xml I received the above error.  

 

 

The gdb file is located in the same folder as the map file.

 

LAYER

    NAME lafSchools

    TYPE POINT

    CONNECTIONTYPE OGR

    CONNECTION "./Lafayette.gdb"

    DATA "Schools"

..

..

 

 

Below is the mapbook entry.

 

<map-source name="lafSchools" type="mapserver">

        <file>./lafayette/ESN/school.map</file>

        <layer name="lafSchools" status="off"/>

        <layer name="lafSchools_anno" status="off"/>

        <param name="FORMAT" value="image/png; mode=8bit"/>

</map-source>

 

...

...

<layer title="Lafayette Schools" src="lafSchools/lafSchools" popups="false"
minscale="3000" maxscale="20000">

</layer>

 

 

 

Joshua Meyer

Lafayette County Sheriff's Office GIS

107 S 11th St

Lexington, MO 64067

Phone: 660-259-2796

Cell: 660-259-1234

Fax: 660-259-2545

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20150602/ab53fbd6/attachment.html>


More information about the Geomoose-users mailing list