NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Greetings!

The Web Map Service for an OpenStreetMap recently started displaying a reddish overlay, and I am struggling to determine the cause of this. The developer who created the maps/WMS is no longer with us, and so my team can not ask him any questions about this project. I had little knowledge of this aspect of the project until a few days ago when it broke.

We have valid .kml files that display fine when placed directly into google earth or a basic map, but routing these files through the WMS seems to cause it to crash. I'm not even sure if this is the right place to ask, but I'm sure someone has seen something similar before.

My main question is what would cause a red overlay (in IE only, apparently) as seen in the link below when using OpenStreetMap?

Furthermore... when you click the map, there's a javascript alert that says "unhandledRequest". That seems more of an ajax issue when fetching new data, but it could be related.

Thanks.

URL: http://wateroutlook.nwrfc.noaa.gov/maps/?page=maps

        ***The error in the httpd error_log file is:
        [Tue Nov 15 14:18:09 2011] [error] [client xxx.xxx.xxx.xxx] /usr4/web/water_outlook/cgi/mapserv.cgi: line 7: /home/amurray/FWTools-2.0.6/fwtools_env.sh: No such file or directory
        The fwtools_env.sh file is there.***

asked 16 Nov '11, 23:19

mith36's gravatar image

mith36
0111
accept rate: 0%

edited 16 Nov '11, 23:59

Disregard this question as it is not relevant to this forum. (Where's the delete button?) Thanks.

(17 Nov '11, 00:02) mith36

The problem is not restricted to any browser and not related to OpenStreetMap.

You are using the javascript library OpenLayers to display the default OpenStreetMap layer with your own overlay. This overlay uses WMS with the url set to http://wateroutlook.nwrfc.noaa.gov/cgi/mapserv.cgi?map=/home/amurray/wro_map.map&filename=esp30median .

This url just gives an 500 error message. You should be able to find more information in the server logs.

permanent link

answered 16 Nov '11, 23:53

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

Thanks. See the comment to the previous answer. Apologies for posting this in the wrong place. We've already tracked it to that point.

(17 Nov '11, 00:01) mith36

I think this is a problem peculiar to your individual setup, so perhaps not quite what this site was intended for.

However, I get the red overlay in Opera too. Using Inspect element in Opera and looking at the network tab after loading the above page, there is an http 500 error (Internal Server Error) when trying to "GET /cgi/mapserv.cgi?map=/home/amurray/wro_map.map&filename=esp30median&LAYERS=hydro_points&SRS=EPSG%3A900913&STYLES=&FORMAT=image%2Fpng&TILED=false&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=-15639790.546857,3907" so I'd start by trying to resolve that.

permanent link

answered 16 Nov '11, 23:40

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

Thank you for the reply. We've tracked it down that far already, yes.

The error in the httpd error_log file is:

[Tue Nov 15 14:18:09 2011] [error] [client xxx.xxx.xxx.xxx] /usr4/web/water_outlook/cgi/mapserv.cgi: line 7: /home/amurray/FWTools-2.0.6/fwtools_env.sh: No such file or directory

The fwtools_env.sh file is there.

I don't have administrative privs on this machine as it is remote work, so I had to ask the admin to supply me this info. I think the missing file is because it believes the first argument is missing-$arg0

(16 Nov '11, 23:45) mith36

Apologies if I chose the wrong forum. I'll look for a WMS one if this isn't the proper place.

(16 Nov '11, 23:48) mith36

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×34
×1
×1

question asked: 16 Nov '11, 23:19

question was seen: 8,069 times

last updated: 17 Nov '11, 00:02

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum