[Chameleon] WFS layer display problem
William Bronsema
wbronsema at DMSOLUTIONS.CA
Thu Oct 27 04:30:31 PDT 2005
Hi Derek,
The world map demo does use Mapserver via a script alias. You say you have
not had an answer from us yet, to whom did you ask a question?
Cheers,
Bill
________________________________________________
William A. Bronsema, C.E.T.
Software & Applications Development,
DM Solutions Group Inc.
_____
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Bird, Derek
Sent: Wednesday, October 26, 2005 7:21 PM
To: Matthew Edmondson; Chameleon Users; MAPSERVER-USERS at lists.umn.edu
Subject: RE: [Chameleon] WFS layer display problem
Hi, this is the same question I asked on the chameleon forum ...
What is occuring is the URL to your map server has a ? followed by the map
and whatever parameters .. The Chameleon all then takes that URL and
automatically appends a ? to the URL, you can not have two ? marks in a URL.
The only solution I know of would be to create an alias in Apache for your
map... ie
http://10.59.36.53:8080/cgi-bin/mapserv?map=/var/www/html/fgs/apps/chameleon
-2.0/test/map/test.map
<http://10.59.36.53:8080/cgi-bin/mapserv?map=/var/www/html/fgs/apps/chameleo
n-2.0/test/map/test.map&typename=sightings2004_point>
&typename=sightings2004_point becomes
http://10.59.36.53:8080/cgi-bin/maptest then it will work great.
If you notice DMS has their world map demo does not go through mapserv ....
They must either have an scriptalias or some custom cgi script. I have not
had an answer from them yet...
Regards,
Derek
-----Original Message-----
From: chameleon-bounces at lists.maptools.org on behalf of Matthew Edmondson
Sent: Wed 26/10/2005 6:47 PM
To: Chameleon Users; MAPSERVER-USERS at lists.umn.edu
Cc:
Subject: [Chameleon] WFS layer display problem
I have a layer (pulling from a shapefile) set up on my server set up to
share as a wfs layer. The layer displays properly, when tapped via a
getfeature request, the data comes back parsed properly with no errors, when
using a chameleon experssionbuilder widget, I can see each of the headers
for my columns of data. However, when I try to tap that wfs layer to display
it in a mapserver, I instantly get a red x in the upper left corner and my
map won't load. Even tyring to tap it in the same mapfile (as a wfs
connection to the url) gives me errors.
here is the layer attempting to tap the working layer (note, this is on a
intranet):
LAYER
NAME wfs_sightings_test
TYPE POINT
STATUS off
CONNECTIONTYPE WFS
CONNECTION "
<http://10.59.36.53:8080/cgi-bin/mapserv?map=/var/www/html/fgs/apps/chameleo
n-2.0/test/map/test.map&typename=sightings2004_point>
http://10.59.36.53:8080/cgi-bin/mapserv?map=/var/www/html/fgs/apps/chameleon
-2.0/test/map/test.map&typename=sightings2004_point&"
METADATA
"wfs_typename" "sightings2004_point"
"wfs_version" "1.0.0"
"wfs_request_method" "GET"
"wfs_connectiontimeout" "60"
"wms_srs" "epsg:4326"
END
END # Layer
I've read every piece of documentation I've found, and searched every
mailing list archive, and I've yet to see any reason why this should be
happening. Any help would be greatly appreciated.
Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051027/7df5e4a7/attachment.htm>
More information about the MapServer-users
mailing list