[Geomoose-users] GDB layer problems - Pink Screen
Joshua Meyer
jmeyer at lcsheriff.com
Tue Jun 2 12:40:46 PDT 2015
It is not an ESRI annotation layer. It is pointing to the same 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
From: TC Haddad [mailto:tchaddad at gmail.com]
Sent: Tuesday, June 02, 2015 2:40 PM
To: Joshua Meyer
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] GDB layer problems - Pink Screen
Just a check:
is "lafSchools_anno" refferring to an ESRI Annotation layer? because I don't think OGR supports those types of layers.
Tanya
On Tue, Jun 2, 2015 at 10:33 AM, Joshua Meyer <jmeyer at lcsheriff.com> wrote:
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
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20150602/2ddabdcd/attachment.html>
More information about the Geomoose-users
mailing list