Hello again.<br><br>Im trying to configure a WFS Server with oraclespatial.<br>This is the definition of the layer:<br><br>LAYER<br>NAME "ferrocarriles"<br>TYPE LINE<br>STATUS ON<br>DUMP TRUE<br>DEBUG ON<br>CONNECTIONTYPE oraclespatial
<br>CONNECTION "user/pass@SDE"<br>DATA "SHAPE FROM RED_FERROCARRIL USING VERSION 9i"<br>PROJECTION           <br>        "init=EPSG:4326"<br>END<br><br>METADATA<br>    "wfs_title"                "Ferrocarriles"
<br>    "gml_featureid"         "OBJECTID"<br>    "gml_include_items"     "all"<br>    <br>END<br>CLASS<br>        NAME "ferrocarriles"<br>        STYLE<br>                COLOR 200 255 0
<br>        END<br>END<br>END  # layer<br><br>When i make a getcapabilities like:<br>
<br>
<a href="http://192.168.53.18:81/cgi-bin/mapserver?SERVICE=WFS&VERSION=1.1.1&REQUEST=Getcapabilities">http://192.168.53.18:81/cgi-bin/mapserver?SERVICE=WFS&VERSION=1.1.1&REQUEST=Getcapabilities</a><br>
<br>
it shows me <br>
<br>
<FeatureType><br>
<Name>ferrocarriles</Name><br>
<Title>ferrocarriles</Title><br>
<SRS>EPSG:4326</SRS><br>
<LatLongBoundingBox minx="195210" miny="4.07581e+006" maxx="533545" maxy="4.26175e+006"/><br>
</FeatureType><br><br>But if i make a getfeature:<br><a href="http://192.168.53.18:81/cgi-bin/mapserver?service=WFS&version=1.0.0&request=getfeature&typename=ferrocarriles">http://192.168.53.18:81/cgi-bin/mapserver?service=WFS&version=1.0.0&request=getfeature&typename=ferrocarriles
</a><br><br><wfs:FeatureCollection xsi:schemaLocation="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
</a>                         <a href="http://mapserver.gis.umn.edu/mapserver">http://mapserver.gis.umn.edu/mapserver</a> <a href="http://localhost:81/cgi-bin/mapserver?service=WFS&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=ferrocarriles&OUTPUTFORMAT=XMLSCHEMA">
http://localhost:81/cgi-bin/mapserver?service=WFS&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=ferrocarriles&OUTPUTFORMAT=XMLSCHEMA</a>"><br>−<br>    <gml:boundedBy><br>
−<br>    <gml:Box srsName="EPSG:4326"><br>−<br>    <gml:coordinates><br>195210.088989,4075810.305023 533545.363841,4261747.980489<br></gml:coordinates><br></gml:Box><br></gml:boundedBy>
<br></wfs:FeatureCollection><br><br>With some clients, like udig or gvsig i can connect to wfs, but i cant get info.<br><br>In apache´s error.log<br><br>[error] msOracleSpatialLayerOpen called with: SHAPE FROM RED_FERROCARRIL\r
<br>[error] msOracleSpatialLayerOpen. Shared connection not available. Creating one.\r<br>[error] msConnPoolRegister(ferrocarriles,user/pass@SDE,0173D7E0)\r<br>[error] msOracleSpatialLayerFreeItemInfo was called.\r<br>[error] msOracleSpatialLayerWhichShapes was called.\r
<br>[error] msOracleSpatialLayerWhichShapes. Using this Sql to retrieve the data: SELECT rownum, SHAPE FROM RED_FERROCARRIL WHERE SDO_FILTER( SHAPE, MDSYS.SDO_GEOMETRY(2003, NULL, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),
MDSYS.SDO_ORDINATE_ARRAY(195210,4075810,533545,4261747) ),'querytype=window') = 'TRUE'\r<br>[error] msOracleSpatialLayerFreeItemInfo was called.\r<br>[error] msOracleSpatialLayerClose was called. Layer connection: user/pass@SDE
\r<br>[error] msOracleSpatialLayerClose. Cleaning layerinfo handlers.\r<br>[error] msOracleSpatialLayerClose. Cleaning Oracle handlers.\r<br>[error] msConnPoolRelease(ferrocarriles,user/pass@SDE,0173D7E0)\r<br>[error] msConnPoolClose(
user/pass@SDE,0173D7E0)\r<br>[error] msOracleSpatialLayerOpen called with: SHAPE FROM RED_FERROCARRIL\r<br>[error] msOracleSpatialLayerOpen. Shared connection not available. Creating one.\r<br>[error] msConnPoolRegister(ferrocarriles,
user/pass@SDE,0179A3F0)\r<br>[error] msOracleSpatialLayerFreeItemInfo was called.\r<br>[error] msOracleSpatialLayerGetItems was called.\r<br>[error] msOracleSpatialLayerInitItemInfo was called.\r<br>[error] msOracleSpatialLayerGetShape was called. Using the record = 1.\r
<br>[error] msOracleSpatialLayerClose was called. Layer connection: user/pass@SDE\r<br>[error] msOracleSpatialLayerClose. Cleaning layerinfo handlers.\r<br>[error] msOracleSpatialLayerClose. Cleaning Oracle handlers.\r<br>
[error] msConnPoolRelease(ferrocarriles,user/pass@SDE,0179A3F0)\r<br>[error] msConnPoolClose(user/pass@SDE,0179A3F0)\r<br><br>Does anybody know what is happening?<br><br>Thanxs<br clear="all"><br>-- <br>José Ramón López<br>
Tfno: 627 88 88 24