[TinyOWS-users] TinyOWS-users Digest, Vol 8, Issue 2

Louis Versailles Louis.Versailles at USherbrooke.ca
Tue Jan 19 13:26:01 EST 2010


Tanks Olivier but my table contain 1122 elements and is extent is
"BOX(370107.59375 5068727.5,400538.71875 5099543)"

when I do the same request with geoserver evryting is fine
do I need a Mapfile ?

Selon tinyows-users-request at lists.maptools.org:

> Send TinyOWS-users mailing list submissions to
> 	tinyows-users at lists.maptools.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.maptools.org/mailman/listinfo/tinyows-users
> or, via email, send a message with subject or body 'help' to
> 	tinyows-users-request at lists.maptools.org
>
> You can reach the person managing the list at
> 	tinyows-users-owner at lists.maptools.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TinyOWS-users digest..."
>
>
> Today's Topics:
>
>    1. request problem (Louis Versailles)
>    2. Re: request problem (Olivier Courtin)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 18 Jan 2010 15:15:53 -0500
> From: Louis Versailles <Louis.Versailles at USherbrooke.ca>
> Subject: [TinyOWS-users] request problem
> To: tinyows-users at lists.maptools.org
> Message-ID: <1263845753.4b54c179271e7 at www.usherbrooke.ca>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 18 Jan 2010 23:36:25 +0100
> From: Olivier Courtin <olivier.courtin at gmail.com>
> Subject: Re: [TinyOWS-users] request problem
> To: tinyows-users at lists.maptools.org
> Message-ID: <40901454-2004-428C-8F46-F1DD5A0FBD0E at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On Jan 18, 2010, at 9:15 PM, Louis Versailles wrote:
>
> Hi Louis,
>
> > I manage to instal tinyows (tanks to Yewondwossen Assefa)
>
> Great !
>
> > 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
>
> You should use typename=null:zone2
> (so typename=prefix:layer_name)
>
> >
> > and this is the response
> >
> > <wfs:FeatureCollection xsi:schemaLocation="http://jprovencher:8082
> > [...]
>
> There's no feature content in this result,
> What do you have in your PostGIS database ?
>
> SELECT count(*), ST_Extent(the_geom) FROM zone2;
> SELECT * FROM geometry_columns;
>
> --
> Olivier
>
>
>
> ------------------------------
>
> _______________________________________________
> TinyOWS-users mailing list
> TinyOWS-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tinyows-users
>
>
> End of TinyOWS-users Digest, Vol 8, Issue 2
> *******************************************
>
>





More information about the TinyOWS-users mailing list