<div dir="ltr"><br>Ok, that was just a guess :)<br><br>Do you happen to know if your version of gdal/ogr has the FileGDB API library installed?<div><br><div>That is listed as a requirement on the OGR supported vector formats page:</div><div><br></div><div><a href="http://www.gdal.org/ogr_formats.html">http://www.gdal.org/ogr_formats.html</a> </div></div><div><br></div><div>It sounds like if you have OGR 1.11 you *should* be ok for reading:</div><div><br></div><div><a href="http://www.gdal.org/drv_filegdb.html">http://www.gdal.org/drv_filegdb.html</a><br></div><div><br></div><div>You could try using the command line tool "ogrinfo" to test your connection, using some of the steps outlined on this page (under the "OGRINFO Examples" section):</div><div><br></div><div><a href="http://mapserver.org/input/vector/filegdb.html">http://mapserver.org/input/vector/filegdb.html</a><br></div><div><br></div><div>That might help narrow down where your problem is originating...</div><div><br></div><div>Tanya</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 2, 2015 at 12:40 PM, Joshua Meyer <span dir="ltr"><<a href="mailto:jmeyer@lcsheriff.com" target="_blank">jmeyer@lcsheriff.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It is not an ESRI annotation layer. It is pointing to the same layer.<u></u><u></u></span></p><span class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Joshua Meyer<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Lafayette County Sheriff's Office GIS<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">107 S 11th St<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Lexington, MO 64067<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Phone: <a href="tel:660-259-2796" value="+16602592796" target="_blank">660-259-2796</a><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Cell: <a href="tel:660-259-1234" value="+16602591234" target="_blank">660-259-1234</a><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Fax: <a href="tel:660-259-2545" value="+16602592545" target="_blank">660-259-2545</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p></span><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> TC Haddad [mailto:<a href="mailto:tchaddad@gmail.com" target="_blank">tchaddad@gmail.com</a>] <br><b>Sent:</b> Tuesday, June 02, 2015 2:40 PM<br><b>To:</b> Joshua Meyer<br><b>Cc:</b> <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a><span class=""><br><b>Subject:</b> Re: [Geomoose-users] GDB layer problems - Pink Screen<u></u><u></u></span></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Just a check: <u></u><u></u></p></div><div><div class="h5"><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">is "<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">lafSchools_anno" refferring to an ESRI Annotation layer? because I don't think OGR supports those types of layers.</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Tanya</span><u></u><u></u></p></div></div></div></div><div><div class="h5"><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Tue, Jun 2, 2015 at 10:33 AM, Joshua Meyer <<a href="mailto:jmeyer@lcsheriff.com" target="_blank">jmeyer@lcsheriff.com</a>> wrote:<u></u><u></u></p><div><div><p class="MsoNormal">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. <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">The gdb file is located in the same folder as the map file.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">LAYER<u></u><u></u></p><p class="MsoNormal"> NAME lafSchools<u></u><u></u></p><p class="MsoNormal"> TYPE POINT<u></u><u></u></p><p class="MsoNormal"> CONNECTIONTYPE OGR<u></u><u></u></p><p class="MsoNormal"> CONNECTION "./Lafayette.gdb"<u></u><u></u></p><p class="MsoNormal"> DATA "Schools"<u></u><u></u></p><p class="MsoNormal">….<u></u><u></u></p><p class="MsoNormal">….<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Below is the mapbook entry.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><map-source name="lafSchools" type="mapserver"><u></u><u></u></p><p class="MsoNormal"> <file>./lafayette/ESN/school.map</file><u></u><u></u></p><p class="MsoNormal"> <layer name="lafSchools" status="off"/><u></u><u></u></p><p class="MsoNormal"> <layer name="lafSchools_anno" status="off"/><u></u><u></u></p><p class="MsoNormal"> <param name="FORMAT" value="image/png; mode=8bit"/><u></u><u></u></p><p class="MsoNormal"></map-source><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">…..<u></u><u></u></p><p class="MsoNormal">…..<u></u><u></u></p><p class="MsoNormal"><layer title="Lafayette Schools" src="lafSchools/lafSchools" popups="false" minscale="3000" maxscale="20000"><u></u><u></u></p><p class="MsoNormal"></layer><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Joshua Meyer<u></u><u></u></p><p class="MsoNormal">Lafayette County Sheriff's Office GIS<u></u><u></u></p><p class="MsoNormal">107 S 11th St<u></u><u></u></p><p class="MsoNormal">Lexington, MO 64067<u></u><u></u></p><p class="MsoNormal">Phone: <a href="tel:660-259-2796" target="_blank">660-259-2796</a><u></u><u></u></p><p class="MsoNormal">Cell: <a href="tel:660-259-1234" target="_blank">660-259-1234</a><u></u><u></u></p><p class="MsoNormal">Fax: <a href="tel:660-259-2545" target="_blank">660-259-2545</a><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal"><br>_______________________________________________<br>Geomoose-users mailing list<br><a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div><br>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br></blockquote></div><br></div>