Problem configuring WFS-SERVER on oraclespatial layers

ludovic gnemmi l_gnemmi at YAHOO.FR
Mon Jun 6 09:32:03 PDT 2005


Hi all,
I have a problem configuring WFS-SERVER with
oraclespatial (Nativ support) layers...Everything is
ok when configuring WMS-SERVER on these layers  but i
still receive an incomplete XML result when i try a
getfeature request on my WFS oraclespatial layers
(without errors). getcapabilitie request is OK.
getfeature requests are OK on shapefiles.

Here is my mapfile:
MAP
  NAME "my_wfs"
  EXTENT 868470 83215 965015 165840
  SIZE 400 300
 IMAGETYPE PNG
  IMAGECOLOR 255 255 255
  STATUS ON
  UNITS METERS
  FONTSET "path to font"
  SYMBOLSET "path to symbol"
 SHAPEPATH "path to shape"

  
WEB
 IMAGEPATH "path to images"
 IMAGEURL "/ms_tmp/"
 
METADATA
	"wfs_title"			"my_wfs"
	"wfs_onlineresource" 
"http://localhost/cgi-bin/mapserv?map=my_wfs.map&"
	"wfs_srs"			"EPSG:27582"
END
END

#oracle spatial layer

LAYER
NAME "bati"
TYPE POLYGON
CONNECTIONTYPE oraclespatial
CONNECTION "usr/pass at DB"
DATA "GEOM FROM BATIMENT USING SRID NULL" 
DUMP TRUE
STATUS DEFAULT
DEBUG ON
PROJECTION
"init=epsg:27582"
END
METADATA
"wfs_title"	"bati"
"wfs_extent" 	"868470 83215 965015 165840"
END
	
CLASSITEM "BAT_CODE" 
CLASS
	EXPRESSION "01"  
	COLOR 152 152 152
	OUTLINECOLOR 0 0 0
END
CLASS
	EXPRESSION "02"  
	COLOR 202 202 202
	OUTLINECOLOR 0 0 0
END 

END
END



here the result of a getfeature request on this layer:
-------------------------------------------------------
-
	<wfs:FeatureCollection
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengeospatial.net/wfs/1.0.0/WFS-basic.xsd
                        http://www.ttt.org/myns
http://localhost/cgi-bin/mapserv?map=my_wfs.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=bati">
-
	<gml:boundedBy>
-
	<gml:Box srsName="EPSG:27582">
-
	<gml:coordinates>
874619.370000,112072.490000
875774.930000,113685.950000
</gml:coordinates>
</gml:Box>
</gml:boundedBy>
</wfs:FeatureCollection>

---------------------------------------


Has anybody got an idea?

Thanks a lot.

Ludovic



	

	
		
_____________________________________________________________________________ 
Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com



More information about the MapServer-users mailing list