[mapserver-users] GetFeatureInfo crashes MapServer 5.6.6

2011-05-02 Thread Richard Matsunaga
I’ve been trying to get GetFeatureInfo working with MapServer 5.6.6 and have
found that if one of several layers returns “Search returned no results”
then the query will fail and the server will return a 500 – Internal Server
Error. If I query the one layer, I will get a normal “Search returned no
results” return.



We have several (too many) versions of MapServer running on our server and I
have found that older versions will work, but anything after 5.2 will not.
The server is running CentOS and the MapServer versions have been built from
scratch, although I don’t know much more than that. We have no issues with
GetMap requests on these map files on any version of MapServer.



When the error occurs, there are no MapServer logs generated. The only clue
is in the messages log:



… kernel: mapserv-test[4192] trap stack segment rip:3dad072cd1
rsp:7fff6e2b5080 error:0



In trying to troubleshoot this, I installed ms4w with MapServer 5.6.6 on my
Windows PC and it works in all scenarios.



Any ideas what might be going on? Have we built MapServer incorrectly? Is
there any way to get more detailed logging?



Thanks,

Richard
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Map image not appearing

2011-05-02 Thread Bistrais, Bob
I have an application which doesn't show its map image.  I think it's
not accessing the tmp directory for the image, in Firebug I get a 404
not found error.  I can see the map image in a Windows Explorer, and
view the image graphic.  I know this must be something simple, but I'm
perplexed.  Other than the imagedir variable in the Map file, can anyone
think of another place to check?  Permissions issue?

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Map image not appearing

2011-05-02 Thread Jeff McKenna

Hi Bob,

Hmm I have been in that same situation many times.  My thoughts:

- since your map image is created properly on disk, this means that 
there is no problem with your IMAGEPATH setting in your mapfile
- however there might be a problem with your IMAGEURL setting in your 
mapfile.  In your mapping application, in Firefox right-click where the 
map image is supposed to be, and select View Image...does that URL in 
the location bar match what you specified in the mapfile's IMAGEURL 
setting? (and verify that you have configured your Apache correctly for 
that alias)


For example, MapServer for Windows (MS4W) comes with Apache configured 
for a ms_tmp alias, which points to /ms4w/tmp/ms_tmp/ on your harddrive.


Those are my initial thoughts when hitting that error.

-jeff

--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 11-05-02 11:29 AM, Bistrais, Bob wrote:

I have an application which doesn’t show its map image. I think it’s not
accessing the tmp directory for the image, in Firebug I get a 404 not
found error. I can see the map image in a Windows Explorer, and view the
image graphic. I know this must be something simple, but I’m perplexed.
Other than the imagedir variable in the Map file, can anyone think of
another place to check? Permissions issue?


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: AW: [mapserver-users] Some issues with SLD and MapServer 6.0.0 Beta RC1

2011-05-02 Thread Yewondwossen Assefa

On 29/04/2011 5:38 PM, Arnd Wippermann wrote:

Hi

Here you can online see

external graphic mostly not showing
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp?SLDsrcIdx=51mapservVersion=6.0.0

Perhaps it has something to do with the complexity of the polygons. Locally
test with simplier polygons works. But also with the simplier polygons it
doesn't show the graphic if i apply the sld file from
http://demo.mapserver.org/ogc-demos/map/sld/sld_polygon_fill_symbol_external
.xml (gif image).

Rotated square not like 5.6.1
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp?SLDsrcIdx=51mapservVersion=6.0.0

Are the above 2 demos still work? I see broken tiles. As I mentioned 
initially, I was not able to see the problem with my test using external 
symbols. I just also used a copy of your sld (pointing to an external 
symbol on your server) and was also able to get expected result. Same 
with the sld on mapserver site.
Please file a bug with data/map that shows the problem and I can spend 
more time on it.

borders as thin lines without stroke set
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp?SLDsrcIdx=52mapservVersion=6.0.0

I see that on your server. One test to do is to put your map in debug 
and see the map file that is produced after the sld is applied. It 
should only have one class with one style for the fill. If that is not 
that case, please report.

The patch I cannot test. I'm not able to compile MapServer by myself.

Thank for watching the points
I will apply the patch when MapServer trac/svn come back. It should be 
available fr the next release.


best regards,



Regards,
Arnd


--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users