Problem configuring WFS-SERVER on oraclespatial layers

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Tue Jun 7 00:34:55 PDT 2005


Okay, my information was 4.6 specific. I was assuming you were using that version.

Could you try the latest 4.6 beta? There have also been a lot of improvements made by Fernando in maporaclespatial.c.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> ludovic gnemmi <l_gnemmi at YAHOO.FR> 06/07/05 09:22am >>>
Hi,
Thanks for your answer Bart but it still doesn't
work...I'm trying with mapserver 4.4.2...Is
gml_include_tems include in mapserver 4.4.2? Or i'll
have to upgrade to 4.4.6?

Ludovic

--- Bart van den Eijnden <bartvde at XS4ALL.NL> a écrit :

> Hi,
>
> use:
>
> gml_include_items "all"
>
> in the METADATA section of your LAYER.
>
> Best regards,
> Bart
>
> On Mon, 06 Jun 2005 18:32:03 +0200, ludovic gnemmi
> <l_gnemmi at YAHOO.FR>
> wrote:
>
> > 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 
> >
>
>
>
> --
> Using Opera's revolutionary e-mail client:
> http://www.opera.com/mail/ 
>



	

	
		
_____________________________________________________________________________
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