[Chameleon] Displaying geoserver WFS data through Chameleon
Eijnden, B. van den (Bart)
b.vdeijnden at agi.rws.minvenw.nl
Wed Mar 1 01:28:28 EST 2006
What is the exact error message you get?
Don't use parameters in your CONNECTION, define them using the respective
METADATA, something like (you may need to add some extra params, check the
Mapserver WFS client HOWTO):
METADATA
wfs_typename "topp:alrgemarea"
END
CONNECTION
"
<http://10.109.2.57:8080/geoserver/wfs?VERSION=1.1.1&REQUEST=GetFeature&TYPE
NAME=topp:alrgemarea> http://10.109.2.57:8080/geoserver/wfs?"
On a side note, you use version 1.1.1 for WFS, 1.1.1 is for WMS, WFS
normally has version 1.0.
Best regards,
Bart
-----Oorspronkelijk bericht-----
Van: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org]Namens Steven De Vriendt
Verzonden: dinsdag 28 februari 2006 18:26
Aan: chameleon at lists.maptools.org
Onderwerp: [Chameleon] Displaying geoserver WFS data through Chameleon
Hi,
I'm trying to add a WFS layer server by geoserver in the chameleon JSAPI
sample.
When I put my connection url in the browser I get a valid form back; but
when
putting it in a mapfile I get an error saying there's a problem near the
beginning
of my layer declaration.
Can someone tell me what's wrong with folllowing syntax:
I've removed the metadata information (I've searched through the mapserver
users mailing list and bumped accross
a post where deleting the map file was one of the options to do...)
LAYER
GROUP "Polygon"
NAME aaltergrens
TYPE POLYGON
CONNECTIONTYPE WFS
CONNECTION
"
<http://10.109.2.57:8080/geoserver/wfs?VERSION=1.1.1&REQUEST=GetFeature&TYPE
NAME=topp:alrgemarea>
http://10.109.2.57:8080/geoserver/wfs?VERSION=1.1.1&REQUEST=GetFeature&TYPEN
AME=topp:alrgemarea"
PROJECTION
"init=epsg:31300"
END
STATUS ON
DEBUG TRUE
CLASS
NAME "test"
COLOR 255 0 0
END
END
PROJECTION
"init=epsg:31300"
END
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060228/8aaa974c/attachment.html
More information about the Chameleon
mailing list