[TinyOWS-users] request problem

Louis Versailles Louis.Versailles at USherbrooke.ca
Mon Jan 18 15:15:53 EST 2010


hi

I manage to instal tinyows (tanks to Yewondwossen Assefa)
but now i have somme problems with my request.
this is the request :
http://127.0.0.1:8082/cgi-bin/tinyows.exe?request=getfeature&typename=zone2&service=wfs&version=1.0.0

and this is the response

<wfs:FeatureCollection xsi:schemaLocation="http://jprovencher:8082    
http://127.0.0.1:8082/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request=DescribeFeatureType&Typename=null:zone2
  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">
&#8722;
<gml:boundedBy>
&#8722;
<gml:Box srsName="EPSG:32188">
&#8722;
<gml:coordinates decimal="." cs="," ts=" ">
370107.593750,5068727.500000 400538.718750,5099543.000000
</gml:coordinates>
</gml:Box>
</gml:boundedBy>
</wfs:FeatureCollection>



the DescribeFeatureType is working fine



<xs:schema targetNamespace="http://127.0.0.1:8082"
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="zone2" type="null:zone2Type"
substitutionGroup="gml:_Feature"/>
&#8722;
<xs:complexType name="zone2Type">
&#8722;
<xs:complexContent>
&#8722;
<xs:extension base="gml:AbstractFeatureType">
&#8722;
<xs:sequence>
<xs:element name="TYPE_ZONE" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="NUM_ZONE" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="ZONE" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="ORIGINE" type="string" minOccurs="0" maxOccurs="1"/>
<xs:element name="the_geom" type="gml:GeometryPropertyType" minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>

and this is my config file

<tinyows online_resource="http://127.0.0.1:8082/cgi-bin/tinyows.exe"
	 schema_dir="/ms4w/apps/tinyows/schema/"
         wfs_display_bbox="1">

<!-- metadata about the organization operating the server -->
<metadata
   name="test"
   title="test"
   keywords=""
   online_resource="http://www.tinyows.org/"
   fees="free"
   access_constraint="nope" >
   <abstract>
   </abstract>
   <contact
     name="" />
 </metadata>
  <pg host="127.0.0.1" user="postgres" password="postgres" dbname="postgis"
port="5432"/>
<contact name="" />
  <layer retrievable="1"
	 prefix="null"
	 server="http://127.0.0.1:8082"
       name="zone2"
       title="zone2"
       srid="32188" />
</tinyows>


Any clue ?

tanks you



More information about the TinyOWS-users mailing list