[Geomoose-users] strange highlight-PSOD problem

Jim Klassen klassen.js at gmail.com
Thu Oct 18 10:11:21 PDT 2012


Thanks for sharing your solution.  It sounds like you may have found a
bug in MapServer.

On 10/18/2012 11:49 AM, Bistrais, Bob wrote:
> After much scrutiny and several times down the wrong path, I found that the problems were in the shapfiles of the orthophoto indices.  So I meticulously looked at what was different between a good index layer and one which set off the pink screen.  Projection?  Nope, those were good.  Spatial index?  Nope, no issue there.  It turns out that every index layer with a problem had an attribute called "group".  This item isn't needed by the viewer, and by dropping the "group" item from each index shapefile, the viewer works correctly.
>
>
> -----Original Message-----
> From: Eli Adam [mailto:eadam at co.lincoln.or.us] 
> Sent: Monday, October 15, 2012 2:36 PM
> To: Bistrais, Bob
> Cc: geomoose-users at lists.osgeo.org
> Subject: Re: [Geomoose-users] strange highlight-PSOD problem
>
> On Mon, Oct 15, 2012 at 8:05 AM, Bistrais, Bob <Bob.Bistrais at maine.gov> wrote:
>> I'm not sure where to begin looking into this problem.  In my 
>> basemap-orthoimagery viewer, 
>> http://mapserver.maine.gov/basemap/index.html#
>>
>> We are getting a strange problem.  If one selects municipal imagery 
>> for downloading, the selection process works, but the selection does 
>> not highlight, instead we get the dreaded pink screen of death.  This 
>> occurs when selecting some image layers, but not all of them.  The 
>> NAIP series appear to be fine, the selection highlights properly.  
>> But, for example, the municipal orthoimagery layers have this problem.  
>> I tried to turn on the debug with highlight.map, but that didn't write anything to the error log.
>>
>>
>>
>> Any ideas where to start looking?
> I selected some Augusta/Manchester imagery and got the pink screen then (in firefox: tools-->page info-->Media) went to the url of the pink tile, http://mapserver.maine.gov/cgi-bin/mapserv.exe?service=WMS&version=1.1.1&request=GetMap&styles=&format=image%2Fjpeg&LAYERS=highlight&TRANSPARENT=true&MAP=%2Fms4w_304%2Ftmp%2Fms_tmp%2F%2Fselect_68441350325488.map&FORMAT=image%2Fpng&SRS=EPSG%3A26919&BBOX=374887.49149445,4873840.1331571,516143.11974579,4960061.1010507&WIDTH=924&HEIGHT=564
> which offered to download mapserv.exe which I saved then opened with a test editor to see:
>
> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?> <!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
> <ServiceExceptionReport version="1.1.1"> <ServiceException>
> msDrawMap(): Image handling error. Failed to draw layer named 'selected'.
> msOGRFileOpen(): OGR error. GetLayer(features) failed for OGR connection `/ms4w_304/tmp/ms_tmp//select_68441350325488.db'.
> </ServiceException>
> </ServiceExceptionReport>
>
> This is often how MapServer wms errors are delivered.
>
> HTH, Eli
>
>
>>
>> _______________________________________________
>> 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



More information about the Geomoose-users mailing list