[Geomoose-users] GDB layer problems - Pink Screen

Dan Little theduckylittle at gmail.com
Tue Jun 2 12:29:38 PDT 2015


Is that what you are seeing in the response body?

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

> I took a look at the page with firebug.  I am getting the error below on
> the request for the GDB layers.
>
>
>
> Reload the page to get source for:
> http://127.0.0.1/cgi-bin/mapserv.exe?FORMAT=image%2Fpng%3B%20mode%3D8bit&MAP=%2Fms4w%2Fapps%2Fgeomoose2%2Fmaps%2Flafayette%2FESN%2Fschool.map&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=lafSchools&SRS=EPSG%3A3857&BBOX=-10462567.998083,4719295.6982846,-10455999.190965,4720977.3129066&WIDTH=1375&HEIGHT=352
>
>
>
>
>
>
>
> 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:* Dan Little [mailto:theduckylittle at gmail.com]
> *Sent:* Tuesday, June 02, 2015 1:41 PM
> *To:* Joshua Meyer; geomoose-users at lists.osgeo.org
> *Subject:* Re: [Geomoose-users] GDB layer problems - Pink Screen
>
>
>
> Can you use firebug or chrome's developer tools to see what error is
> actually happening? Pink tiles usually indicates a return of a text error
> message.
>
>
>
> I don't have any specific help on the GDB usage.  If there's an ODBC
> problem it very well could be that the web server user does not have the
> permissions to do what your local user can do.
>
>
>
> On Tue, Jun 2, 2015 at 1:36 PM 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/ba1ee460/attachment-0001.html>


More information about the Geomoose-users mailing list