[OpenLayers-Users] Re: Tinyows work but features not displayed in OL

ar_gaeta riccardog79 at gmail.com
Tue Dec 13 05:00:15 EST 2011


I post to you the answers to 3 questions, hope it's what you need:

1)
http://10.127.141.36/cgi-bin/tinyows?service=WFS&version=1.0.0&request=DescribeFeatureType&TypeName=pluvsmartz

<xs:schema xmlns:tows="http://www.tinyows.org"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:gml="http://www.opengis.net/gml"
targetNamespace="http://www.tinyows.org" elementFormDefault="qualified"
version="1.0">
<xs:import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
<xs:element name="pluvsmartz" type="tows:pluvsmartzType"
substitutionGroup="gml:_Feature"/>
<xs:complexType name="pluvsmartzType">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="gid" type="int" nillable="true" minOccurs="0"
maxOccurs="1"/>
<xs:element name="stazione" type="string" nillable="true" minOccurs="0"
maxOccurs="1"/>
<xs:element name="codice" type="decimal" nillable="true" minOccurs="0"
maxOccurs="1"/>
<xs:element name="x" type="decimal" nillable="true" minOccurs="0"
maxOccurs="1"/>
<xs:element name="y" type="decimal" nillable="true" minOccurs="0"
maxOccurs="1"/>
<xs:element name="z" type="decimal" nillable="true" minOccurs="0"
maxOccurs="1"/>
<xs:element name="the_geom" type="gml:PointPropertyType" nillable="true"
minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>


2)
http://10.127.141.36/cgi-bin/tinyows?service=WFS&version=1.0.0&request=GetFeature&TypeName=pluvsmartz&maxFeatures=1

<wfs:FeatureCollection xmlns:tows="http://www.tinyows.org"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ows="http://www.opengis.net/ows"
xsi:schemaLocation="http://www.tinyows.org
http://10.127.141.36/cgi-bin/tinyows?service=WFS&version=1.0.0&request=DescribeFeatureType&Typename=tows:pluvsmartz
http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
http://www.opengis.net/gml
http://schemas.opengis.net/gml/2.1.2/feature.xsd">
<gml:boundedBy>
<gml:Box srsName="EPSG:23032">
<gml:coordinates decimal="." cs="," ts=" ">
424193.000000,4946218.000000 424193.000000,4946218.000000
</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<tows:pluvsmartz>
<tows:gid>1</tows:gid>
<tows:stazione>ABELLONI_CHERASCA</tows:stazione>
<tows:codice>4080900</tows:codice>
<tows:x>424193</tows:x>
<tows:y>4946218</tows:y>
<tows:z>206</tows:z>
<tows:the_geom>
<gml:Point srsName="EPSG:23032">
<gml:coordinates>424193,4946218</gml:coordinates>
</gml:Point>
</tows:the_geom>
</tows:pluvsmartz>
</gml:featureMember>
</wfs:FeatureCollection>


3)
http://10.127.141.36/cgi-bin/tinyows?service=WFS&version=1.0.0&request=GetCapabilities

<WFS_Capabilities xmlns="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0" updateSequence="0"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-capabilities.xsd">
<Service>
<Name>TinyOWS Server</Name>
<Title>TinyOWS Server - Demo Service</Title>
<OnlineResource>http://10.127.141.36/cgi-bin/tinyows</OnlineResource>
</Service>
<Capability>
<Request>
<GetCapabilities>
<DCPType>
<HTTP>
<Get onlineResource="http://10.127.141.36/cgi-bin/tinyows?"/>
</HTTP>
</DCPType>
<DCPType>
<HTTP>
<Post onlineResource="http://10.127.141.36/cgi-bin/tinyows"/>
</HTTP>
</DCPType>
</GetCapabilities>
<DescribeFeatureType>
<SchemaDescriptionLanguage>
<XMLSCHEMA/>
</SchemaDescriptionLanguage>
<DCPType>
<HTTP>
<Get onlineResource="http://10.127.141.36/cgi-bin/tinyows?"/>
</HTTP>
</DCPType>
<DCPType>
<HTTP>
<Post onlineResource="http://10.127.141.36/cgi-bin/tinyows"/>
</HTTP>
</DCPType>
</DescribeFeatureType>
<GetFeature>
<ResultFormat>
<GML2/>
</ResultFormat>
<DCPType>
<HTTP>
<Get onlineResource="http://10.127.141.36/cgi-bin/tinyows?"/>
</HTTP>
</DCPType>
<DCPType>
<HTTP>
<Post onlineResource="http://10.127.141.36/cgi-bin/tinyows"/>
</HTTP>
</DCPType>
</GetFeature>
<Transaction>
<DCPType>
<HTTP>
<Get onlineResource="http://10.127.141.36/cgi-bin/tinyows?"/>
</HTTP>
</DCPType>
<DCPType>
<HTTP>
<Post onlineResource="http://10.127.141.36/cgi-bin/tinyows"/>
</HTTP>
</DCPType>
</Transaction>
</Request>
</Capability>
<FeatureTypeList>
<Operations>
<Query/>
</Operations>
<FeatureType xmlns:tows="http://www.tinyows.org">
<Name>tows:comtraps</Name>
<Title>ComTraps</Title>
<Abstract>ComTraps</Abstract>
<SRS>EPSG:23032</SRS>
<LatLongBoundingBox minx="7.739326" miny="44.287466" maxx="8.655194"
maxy="44.898036"/>
</FeatureType>
<FeatureType xmlns:tows="http://www.tinyows.org">
<Name>tows:coni</Name>
<Title>Coni</Title>
<Abstract>Coni</Abstract>
<SRS>EPSG:23032</SRS>
<LatLongBoundingBox minx="6.601682" miny="44.101501" maxx="8.697301"
maxy="46.427381"/>
</FeatureType>
<FeatureType xmlns:tows="http://www.tinyows.org">
<Name>tows:pluvsmartz</Name>
<Title>pluvsmartz</Title>
<Abstract>pluvsmartz</Abstract>
<SRS>EPSG:23032</SRS>
<LatLongBoundingBox minx="6.629847" miny="44.057137" maxx="9.207548"
maxy="46.435930"/>
</FeatureType>
<FeatureType xmlns:tows="http://www.tinyows.org">
<Name>tows:smartws</Name>
<Title>smartws</Title>
<Abstract>smartws</Abstract>
<SRS>EPSG:23032</SRS>
<LatLongBoundingBox minx="6.570551" miny="44.044538" maxx="9.221964"
maxy="46.466509"/>
</FeatureType>
</FeatureTypeList>
<ogc:Filter_Capabilities>
<ogc:Spatial_Capabilities>
<ogc:Spatial_Operators>
<ogc:Disjoint/>
<ogc:Equals/>
<ogc:DWithin/>
<ogc:Beyond/>
<ogc:Intersect/>
<ogc:Touches/>
<ogc:Crosses/>
<ogc:Within/>
<ogc:Contains/>
<ogc:Overlaps/>
<ogc:BBOX/>
</ogc:Spatial_Operators>
</ogc:Spatial_Capabilities>
<ogc:Scalar_Capabilities>
<ogc:Logical_Operators/>
<ogc:Comparison_Operators>
<ogc:Simple_Comparisons/>
<ogc:Between/>
<ogc:Like/>
<ogc:NullCheck/>
</ogc:Comparison_Operators>
<ogc:Arithmetic_Operators>
<ogc:Simple_Arithmetic/>
<ogc:Functions>
<ogc:Function_Names>
<ogc:Function_Name nArgs="1">abs</ogc:Function_Name>
<ogc:Function_Name nArgs="1">acos</ogc:Function_Name>
<ogc:Function_Name nArgs="1">asin</ogc:Function_Name>
<ogc:Function_Name nArgs="1">atan</ogc:Function_Name>
<ogc:Function_Name nArgs="1">avg</ogc:Function_Name>
<ogc:Function_Name nArgs="1">cbrt</ogc:Function_Name>
<ogc:Function_Name nArgs="1">ceil</ogc:Function_Name>
<ogc:Function_Name nArgs="1">ceiling</ogc:Function_Name>
<ogc:Function_Name nArgs="1">cos</ogc:Function_Name>
<ogc:Function_Name nArgs="1">cot</ogc:Function_Name>
<ogc:Function_Name nArgs="1">count</ogc:Function_Name>
<ogc:Function_Name nArgs="1">degrees</ogc:Function_Name>
<ogc:Function_Name nArgs="1">exp</ogc:Function_Name>
<ogc:Function_Name nArgs="1">floor</ogc:Function_Name>
<ogc:Function_Name nArgs="1">length</ogc:Function_Name>
<ogc:Function_Name nArgs="1">ln</ogc:Function_Name>
<ogc:Function_Name nArgs="1">log</ogc:Function_Name>
<ogc:Function_Name nArgs="1">min</ogc:Function_Name>
<ogc:Function_Name nArgs="1">max</ogc:Function_Name>
<ogc:Function_Name nArgs="1">radians</ogc:Function_Name>
<ogc:Function_Name nArgs="1">round</ogc:Function_Name>
<ogc:Function_Name nArgs="1">sin</ogc:Function_Name>
<ogc:Function_Name nArgs="1">sqrt</ogc:Function_Name>
<ogc:Function_Name nArgs="1">tan</ogc:Function_Name>
<ogc:Function_Name nArgs="1">trunc</ogc:Function_Name>
</ogc:Function_Names>
</ogc:Functions>
</ogc:Arithmetic_Operators>
</ogc:Scalar_Capabilities>
</ogc:Filter_Capabilities>
</WFS_Capabilities>

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Tinyows-work-but-features-not-displayed-in-OL-tp7086513p7089360.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list