[Chameleon] Displaying geoserver WFS data through Chameleon

Steven De Vriendt gisaalter at gmail.com
Tue Feb 28 12:26:14 EST 2006


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&TYPENAME=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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060228/97ec7780/attachment.html


More information about the Chameleon mailing list