[Geomoose-users] GDB layer problems - Pink Screen

TC Haddad tchaddad at gmail.com
Tue Jun 2 12:53:59 PDT 2015


Ok, that was just a guess :)

Do you happen to know if your version of gdal/ogr has the  FileGDB API
library installed?

That is listed as a requirement on the OGR supported vector formats page:

http://www.gdal.org/ogr_formats.html

It sounds like if you have OGR 1.11 you *should* be ok for reading:

http://www.gdal.org/drv_filegdb.html

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):

http://mapserver.org/input/vector/filegdb.html

That might help narrow down where your problem is originating...

Tanya

On Tue, Jun 2, 2015 at 12:40 PM, Joshua Meyer <jmeyer at lcsheriff.com> wrote:

> 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
>
>
>
> _______________________________________________
> 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/254e65f8/attachment-0001.html>


More information about the Geomoose-users mailing list