[Chameleon] wfs layer and query widget
Danna Dowdy
Danna.Dowdy at noaa.gov
Wed Jan 18 11:46:42 EST 2006
Can someone point me in the right direction for some information on
querying wfs layers? Does the query widget work with wfs layers? From
all of the reading that I've done, it appears as though it does but i'm
not quite sure what I'm doing wrong....when I try and query a wfs layer
I get an empty popup and a x where my map image should be. The query
results returned are:
Array ( [8] => Array ( [0] => Array ( [SHAPE_INDEX] => 1 [TILE_INDEX] =>
0 [LAYER_INDEX] => 8 ) ) )
Here is my mapfile layer defintion:
LAYER
NAME "Sea Surface Temperature"
TYPE POINT
CONNECTIONTYPE WFS
CONNECTION "http://nautilus.baruch.sc.edu/wfs/seacoos_in_situ?"
GROUP "SEACOOS"
STATUS DEFAULT
METADATA
wfs_service "WFS"
wfs_version "1.0.0"
wfs_request_method "GET"
wfs_request "GetFeature"
wfs_typename "sst_obs_hourly"
wfs_srs "EPSG:4326 EPSG:4269"
wfs_connectiontimeout "120"
END
DUMP TRUE
TOLERANCE 5
TOLERANCEUNITS pixels
TEMPLATE "ttt_query.html"
PROJECTION
"init=epsg:4326"
END # Projection
CLASS
SYMBOL 'circle' SIZE 9
OUTLINECOLOR 0 0 0 COLOR 1 1 1
END
END
More information about the Chameleon
mailing list