[TinyOWS-users] TinyOWS Problems Database

Gissur Þórhallsson gissur at loftmyndir.is
Fri Nov 11 10:59:07 EST 2011


Hi,

You need to enable the tinyows log and fiddle with the log_level, as
specified here: http://www.tinyows.org/trac/wiki/ConfigFile
and see what comes out when you try to save.

Regarding your other question about whether the correct XML file is being
parsed - you can always run tinyows.exe --check from the command line.

This gives you the current set up.

Kind regards,
Gissur



On Fri, Nov 11, 2011 at 6:47 AM, Gema Palomo <gema.palomo at gpex.es> wrote:

> **
> ****
>
> Hello, I installed the tinyows in MS4W. I'm having problems when
> digitizing data, when I give the save button.
> I have found that this functioning properly tinyows as follows:****
>
> ** **
>
>
> http://127.0.0.1:8081/cgi-bin/tinyows.exe?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0
> ****
>
> ** **
>
> I get the following:****
>
> ** **
>
> <WFS_Capabilities version="1.1.0" updateSequence="0" xsi:schemaLocation="
> http://www.opengis.net/wfs   http://schemas.opengis.net/wfs/1.1.0/wfs.xsd
> ">
> -
> <ows:ServiceIdentification>
> <ows:Title>TinyOWS Server - WFS-T Frida Service</ows:Title>
> <ows:ServiceType>WFS</ows:ServiceType>
> <ows:ServiceTypeVersion>1.0.0,1.1.0</ows:ServiceTypeVersion>
> </ows:ServiceIdentification>
> -
> <ows:ServiceProvider>
> <ows:ProviderName>TinyOWS Server</ows:ProviderName>
> <ows:ProviderSite xlink:href="http://www.tinyows.org/"/<http://www.tinyows.org/>
> >
> -
> <ows:ServiceContact>
> -
> <ows:ContactInfo>
> -
> <ows:Address>
> <ows:ElectronicMailAddress>tinyows-users at lists.maptools.org
> </ows:ElectronicMailAddress>
> </ows:Address>
> </ows:ContactInfo>
> </ows:ServiceContact>
> </ows:ServiceProvider>
> -
> <ows:OperationsMetadata>
> -
> <ows:Operation name="GetCapabilities">
> -
> <ows:DCP>
> -
> <ows:HTTP>
> <ows:Get xlink:href="http://127.0.0.1/cgi-bin/tinyows.exe?"/<http://127.0.0.1/cgi-bin/tinyows.exe?>
> >
> </ows:HTTP>
> </ows:DCP>
> -
> <ows:DCP>
> -
> <ows:HTTP>
> <ows:Post xlink:href="http://127.0.0.1/cgi-bin/tinyows.exe"/<http://127.0.0.1/cgi-bin/tinyows.exe>
> >
> </ows:HTTP>
> </ows:DCP>
> -
> <ows:Parameter name="AcceptVersions">
> <ows:Value>1.1.0</ows:Value>
> <ows:Value>1.0.0</ows:Value>
> </ows:Parameter>
> -
> <ows:Parameter name="AcceptFormats">
> <ows:Value>text/xml</ows:Value>
> </ows:Parameter>
> -
> <ows:Parameter name="Sections">
> <ows:Value>ServiceIdentification</ows:Value>
> <ows:Value>ServiceProvider</ows:Value>
> <ows:Value>OperationsMetadata</ows:Value>
> <ows:Value>FeatureTypeList</ows:Value>
> <ows:Value>ServesGMLObjectTypeList</ows:Value>
> <ows:Value>SupportsGMLObjectTypeList</ows:Value>
> </ows:Parameter>
> </ows:Operation>
> -
> <ows:Operation name="DescribeFeatureType">
> -
> <ows:DCP>
> -
> <ows:HTTP>
> <ows:Get xlink:href="http://127.0.0.1/cgi-bin/tinyows.exe?"/<http://127.0.0.1/cgi-bin/tinyows.exe?>
> >
> </ows:HTTP>
> </ows:DCP>
> -
> <ows:DCP>
> -
> <ows:HTTP>
> <ows:Post xlink:href="http://127.0.0.1/cgi-bin/tinyows.exe"/<http://127.0.0.1/cgi-bin/tinyows.exe>
> >
> </ows:HTTP>
> </ows:DCP>
> -
> <ows:Parameter name="outputFormat">
> <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
> <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
> </ows:Parameter>
> </ows:Operation>
> -
> <ows:Operation name="GetFeature">
> -
> <ows:DCP>
> -
> <ows:HTTP>
> <ows:Get xlink:href="http://127.0.0.1/cgi-bin/tinyows.exe?"/<http://127.0.0.1/cgi-bin/tinyows.exe?>
> >
> </ows:HTTP>
> </ows:DCP>
> -
> <ows:DCP>
> -
> <ows:HTTP>
> <ows:Post xlink:href="http://127.0.0.1/cgi-bin/tinyows.exe"/<http://127.0.0.1/cgi-bin/tinyows.exe>
> >
> </ows:HTTP>
> </ows:DCP>
> -
> <ows:Parameter name="resultType">
> <ows:Value>results</ows:Value>
> <ows:Value>hits</ows:Value>
> </ows:Parameter>
> -
> <ows:Parameter name="outputFormat">
> <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
> <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
> <ows:Value>application/json</ows:Value>
> </ows:Parameter>
> </ows:Operation>
> -
> <ows:Operation name="Transaction">
> -
> <ows:DCP>
> -
> <ows:HTTP>
> <ows:Get xlink:href="http://127.0.0.1/cgi-bin/tinyows.exe?"/<http://127.0.0.1/cgi-bin/tinyows.exe?>
> >
> </ows:HTTP>
> </ows:DCP>
> -
> <ows:DCP>
> -
> <ows:HTTP>
> <ows:Post xlink:href="http://127.0.0.1/cgi-bin/tinyows.exe"/<http://127.0.0.1/cgi-bin/tinyows.exe>
> >
> </ows:HTTP>
> </ows:DCP>
> -
> <ows:Parameter name="inputFormat">
> <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
> </ows:Parameter>
> -
> <ows:Parameter name="idgen">
> <ows:Value>GenerateNew</ows:Value>
> <ows:Value>UseExisting</ows:Value>
> </ows:Parameter>
> </ows:Operation>
> </ows:OperationsMetadata>
> -
> <FeatureTypeList>
> -
> <Operations>
> <Operation>Query</Operation>
> <Operation>Insert</Operation>
> <Operation>Update</Operation>
> <Operation>Delete</Operation>
> </Operations>
> </FeatureTypeList>
> -
> <SupportsGMLObjectTypeList>
> -
> <GMLObjectType>
> <Name>gml:AbstractGMLFeatureType</Name>
> -
> <OutputFormats>
> <Format>text/xml; subtype=gml/2.1.2</Format>
> <Format>text/xml; subtype=gml/3.1.1</Format>
> </OutputFormats>
> </GMLObjectType>
> -
> <GMLObjectType>
> <Name>gml:PointType</Name>
> -
> <OutputFormats>
> <Format>text/xml; subtype=gml/2.1.2</Format>
> <Format>text/xml; subtype=gml/3.1.1</Format>
> </OutputFormats>
> </GMLObjectType>
> -
> <GMLObjectType>
> <Name>gml:LineStringType</Name>
> -
> <OutputFormats>
> <Format>text/xml; subtype=gml/2.1.2</Format>
> <Format>text/xml; subtype=gml/3.1.1</Format>
> </OutputFormats>
> </GMLObjectType>
> -
> <GMLObjectType>
> <Name>gml:PolygonType</Name>
> -
> <OutputFormats>
> <Format>text/xml; subtype=gml/2.1.2</Format>
> <Format>text/xml; subtype=gml/3.1.1</Format>
> </OutputFormats>
> </GMLObjectType>
> -
> <GMLObjectType>
> <Name>gml:MultiPointType</Name>
> -
> <OutputFormats>
> <Format>text/xml; subtype=gml/2.1.2</Format>
> <Format>text/xml; subtype=gml/3.1.1</Format>
> </OutputFormats>
> </GMLObjectType>
> -
> <GMLObjectType>
> <Name>gml:MultiLineStringType</Name>
> -
> <OutputFormats>
> <Format>text/xml; subtype=gml/2.1.2</Format>
> <Format>text/xml; subtype=gml/3.1.1</Format>
> </OutputFormats>
> </GMLObjectType>
> -
> <GMLObjectType>
> <Name>gml:MultiPolygonType</Name>
> -
> <OutputFormats>
> <Format>text/xml; subtype=gml/2.1.2</Format>
> <Format>text/xml; subtype=gml/3.1.1</Format>
> </OutputFormats>
> </GMLObjectType>
> </SupportsGMLObjectTypeList>
> -
> <ogc:Filter_Capabilities>
> -
> <ogc:Spatial_Capabilities>
> -
> <ogc:GeometryOperands>
> <ogc:GeometryOperand>gml:Envelope</ogc:GeometryOperand>
> <ogc:GeometryOperand>gml:Point</ogc:GeometryOperand>
> <ogc:GeometryOperand>gml:LineString</ogc:GeometryOperand>
> <ogc:GeometryOperand>gml:Polygon</ogc:GeometryOperand>
> </ogc:GeometryOperands>
> -
> <ogc:SpatialOperators>
> <ogc:SpatialOperator name="Disjoint"/>
> <ogc:SpatialOperator name="Equals"/>
> <ogc:SpatialOperator name="DWithin"/>
> <ogc:SpatialOperator name="Beyond"/>
> <ogc:SpatialOperator name="Intersects"/>
> <ogc:SpatialOperator name="Touches"/>
> <ogc:SpatialOperator name="Crosses"/>
> <ogc:SpatialOperator name="Within"/>
> <ogc:SpatialOperator name="Contains"/>
> <ogc:SpatialOperator name="Overlaps"/>
> <ogc:SpatialOperator name="BBOX"/>
> </ogc:SpatialOperators>
> </ogc:Spatial_Capabilities>
> -
> <ogc:Scalar_Capabilities>
> <ogc:LogicalOperators/>
> -
> <ogc:ComparisonOperators>
> <ogc:ComparisonOperator>EqualTo</ogc:ComparisonOperator>
> <ogc:ComparisonOperator>NotEqualTo</ogc:ComparisonOperator>
> <ogc:ComparisonOperator>LessThan</ogc:ComparisonOperator>
> <ogc:ComparisonOperator>GreaterThan</ogc:ComparisonOperator>
> <ogc:ComparisonOperator>LessThanEqualTo</ogc:ComparisonOperator>
> <ogc:ComparisonOperator>GreaterThanEqualTo</ogc:ComparisonOperator>
> <ogc:ComparisonOperator>Between</ogc:ComparisonOperator>
> <ogc:ComparisonOperator>Like</ogc:ComparisonOperator>
> <ogc:ComparisonOperator>NullCheck</ogc:ComparisonOperator>
> </ogc:ComparisonOperators>
> -
> <ogc:ArithmeticOperators>
> <ogc:SimpleArithmetic/>
> -
> <ogc:Functions>
> -
> <ogc:FunctionNames>
> <ogc:FunctionName nArgs="1">abs</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">acos</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">asin</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">atan</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">avg</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">cbrt</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">ceil</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">ceiling</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">cos</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">cot</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">count</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">degrees</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">exp</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">floor</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">length</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">ln</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">log</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">min</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">max</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">radians</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">round</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">sin</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">sqrt</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">tan</ogc:FunctionName>
> <ogc:FunctionName nArgs="1">trunc</ogc:FunctionName>
> </ogc:FunctionNames>
> </ogc:Functions>
> </ogc:ArithmeticOperators>
> </ogc:Scalar_Capabilities>
> -
> <ogc:Id_Capabilities>
> <ogc:EID/>
> <ogc:FID/>
> </ogc:Id_Capabilities>
> </ogc:Filter_Capabilities>
> </WFS_Capabilities>****
>
> ** **
>
> ** **
>
> The problem is I have tested the example
> http://tinyows.org/trac/wiki/OpenLayersHowToTransactional When I click
> the save button I returned scanning the following result:
> *An error occurred while operating the transaction***
>
> ** **
>
> The tinyows configuration file (config.xml) is as follows:****
>
> ** **
>
> <tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows.exe"
>          schema_dir="/ms4w/apps/tinyows/schema/">****
>
>  ****
>
>   <pg host="127.0.0.1" user="postgres" password="Cesex09" dbname="tinyows"
> port="5432"/>****
>
>  ****
>
>   <metadata name="TinyOWS Server"
>             title="TinyOWS Server - WFS-T Frida Service" />****
>
>  ****
>
>   <contact name="TinyOWS Server"
>            site="http://www.tinyows.org/"
>            email="tinyows-users at lists.maptools.org" />****
>
>  ****
>
>   <layer retrievable="1"
>          writable="1"
>          prefix="frida"
>          server="http://www.tinyows.org/"
>          name="frida"
>          title="Frida Parks" />****
>
>  ****
>
> </tinyows>****
>
> ** **
>
> ** **
>
> ** **
>
> I looked in the apache error log and can not find any errors remarkable.
> I need help please, I am newbie in this and can not be happening.****
>
>
> Thank you very much regards,************************** **
>
> _______________________________________________
> TinyOWS-users mailing list
> TinyOWS-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tinyows-users
>
>


-- 
Gissur Þórhallsson

Loftmyndir ehf.
Laugavegur 13
IS 101 Reykjavík - Iceland
sími (tel): (+354) 540 2500
tölvupóstur (email): gissur at loftmyndir.is
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20111111/1dc4ca6d/attachment-0001.htm 


More information about the TinyOWS-users mailing list