layer configuration for WMS
Zenon Panoussis
oracle at PROVOCATION.NET
Mon Aug 21 11:15:41 PDT 2006
xslove wrote:
> Well, I try request with your mapfile (a bit modification with paths), but
> still nothing. Also I correct all quotes to double. Also I modify layer
> connection for request on my local server. This servlet is never called by
> mapserver - mapserver simple ignore this wms layer!
Obviously it's hard to help you troubleshoot the servlet because
I don't know anything about it. In fact, I think it adds an extra
source of potential errors and makes troubleshooting harder.
Does your mapserver have free access to the internet? No firewall
that's blocking it, no routing errors? What does
telnet wms.jpl.nasa.gov 80
say (from the mapserver machine)?
If the internet connection works, save the map file I posted under
a new name, exactly as it is without any changes, and then hit it
with a browser at
http://your.mapserver/cgi-bin/mapserv?map=/full/filesystem/path/to/new.map
If it doesn't work, hit it again and again and again. For me it
worked 40% of the time, the rest of the time it returned without
error messages and with an empty (blank) map.
Now, if you get it to work even once, you will know that the problem
is at JPL, not with your mapserver. If you can't get it to work at
all, there is probably a problem with your mapserver too, over and
above the one with JPL. In either case the map file is known good
because it has worked, so the problem is not there.
Question to others: is there any way to disable the check at
This script can only be used to decode form results and
should be initiated as a CGI process via a httpd server.
so that the cgi can be run with strace? If not, RFE.
> It run under Windows XP and version is 4.8.4. Can this be a problem?
You mean the migration? It could be. Try
./mapserver -v
on both linux and windoze and compare the output. Are you lacking
some capability on linux that you had on windoze? Post it here, it
could be relevant. Do you have (and has your mapserver been compiled
with) the usual necessities, proj, gdal, geos? Standard system stuff,
like gd, zlib, curl? That's normally on every system, but you never
know; better check.
> here is your (my) modified mapfile
Don't modify it. Get it to work first, and when you have eliminated
all other potential problems and it does work, then start working on
it. Otherwise you can easily end up fixing what's not broken and not
be able to find what is broken.
Z
More information about the MapServer-users
mailing list