[mapserver-users] TinyOWS 0.9 Problem in windows 7

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Sep 6 01:53:04 PDT 2012


Hi,

There is a newer version than 0.9 available at
http://maptools.org/ms4w/index.phtml?page=downloads.html
I recommend to update.  However, I am remembering that there were some problems with the Windows version.

When it comes to your problem, there must be something wrong with your data but it is hard to say directly what it is.  I suggest to read
http://mapserver.org/trunk/tinyows/openlayershowtobasic.html
use the same France dataset and adapt the instructions to suit Windows. Then you can do the first tests with the France-dataset.  When your server is OK with the demo data you can continue to add your own data into the service.

These excerpts show that WFS does not find any data from your database
GetCapabilities:

<FeatureType>
<Name>tows:wfst_test</Name>
<Title>wfst_test</Title>
<SRS/>
<LatLongBoundingBox minx="0" miny="0" maxx="0" maxy="0"/>
</FeatureType>

Note: No coordinate system and zero bounding box

GetFeature:
It is just empty. It still gets the bounding box somewhere so the table exists. Are you sure that your table in not empty?

-Jukka Rahkonen-





Budi Hermansyah wrote:

Hi Rahkonen,

all the url seems work shown below. Please let me know ...

Thks

http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request=GetCapabilities

<WFS_Capabilities 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 ServerWFS</Name><Title>TinyOWS Server-Demo Service</Title><OnlineResource>http://127.0.0.1/cgi-bin/tinyows.exe</OnlineResource></Service><Capability><Request><GetCapabilities><DCPType><HTTP><Get onlineResource="http://127.0.0.1/cgi-bin/tinyows.exe?"/></HTTP></DCPType><DCPType><HTTP><Post onlineResource="http://127.0.0.1/cgi-bin/tinyows.exe"/></HTTP></DCPType></GetCapabilities><DescribeFeatureType><SchemaDescriptionLanguage><XMLSCHEMA/></SchemaDescriptionLanguage><DCPType><HTTP><Get onlineResource="http://127.0.0.1/cgi-bin/tinyows.exe?"/></HTTP></DCPType><DCPType><HTTP><Post onlineResource="http://127.0.0.1/cgi-bin/tinyows.exe"/></HTTP></DCPType></DescribeFeatureType><GetFeature><ResultFormat><GML2/></ResultFormat><DCPType><HTTP><Get onlineResource="http://127.0.0.1/cgi-bin/tinyows.exe?"/></HTTP></DCPType><DCPType><HTTP><Post onlineResource="http://127.0.0.1/cgi-bin/tinyows.exe"/></HTTP></DCPType></GetFeature><Transaction><DCPType><HTTP><Get onlineResource="http://127.0.0.1/cgi-bin/tinyows.exe?"/></HTTP></DCPType><DCPType><HTTP><Post onlineResource="http://127.0.0.1/cgi-bin/tinyows.exe"/></HTTP></DCPType></Transaction></Request></Capability><FeatureTypeList><Operations><Query/></Operations><FeatureType><Name>tows:wfst_test</Name><Title>wfst_test</Title><SRS/><LatLongBoundingBox minx="0" miny="0" maxx="0" maxy="0"/></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>

http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request=DescribeFeatureType&Typename=tows:wfst_test
<xs:schema 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="wfst_test" type="tows:wfst_testType" substitutionGroup="gml:_Feature"/><xs:complexType name="wfst_testType"><xs:complexContent><xs:extension base="gml:AbstractFeatureType"><xs:sequence><xs:element name="fid" type="double" 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>

http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request=GetFeature&Typename=tows:wfst_test&maxFeatures=2

<wfs:FeatureCollection xsi:schemaLocation="http://www.tinyows.org     http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request=DescribeFeatureType&Typename=tows:wfst_test   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:-1"><gml:coordinates decimal="." cs="," ts=" ">491007.937500,5458904.500000 491243.000000,5459214.000000</gml:coordinates></gml:Box></gml:boundedBy></wfs:FeatureCollection>
On Thu, Sep 6, 2012 at 1:23 PM, Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi<mailto:Jukka.Rahkonen at mmmtike.fi>> wrote:
Hi,

Do not use OpenLayers for testing, use something that you can control.  What do you get back if you send these basic WFS requests with a browser:

http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request=GetCapabilities
http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request= DescribeFeatureType&Typename=tows:wfst_test
http://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request= GetFeature&Typename=tows:wfst_test&maxFeatures=2

-Jukka Rahkonen-

Budi Hermansyah wrote:

Hi Guys,

I try to use tinyOWS. when Openlayers called the service the result are :

<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://127.0.0.1/cgi-bin/tinyows.exe?service=WFS&version=1.0.0&request=DescribeFeatureType&Typename=tows:wfst_test 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:-1">
<gml:coordinates decimal="." cs="," ts=" ">-1.#INF00,-1.#INF00 1.#INF00,1.#INF00</gml:coordinates>
</gml:Box>
</gml:boundedBy>
</wfs:FeatureCollection>

Can anyone please help me and tell what's going on??

Bests,
BH

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120906/f204b61a/attachment-0001.html>


More information about the mapserver-users mailing list