<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello,<br><br>Thanks a lot for your answers.<br><br>> featureType: "GLP_Zone"<br>> <br>> I think it will help you:<br>> http://github.com/mapserver/mapserver/issues/4205<br>> or<br>> https://github.com/sdikiy/tinyows/commit/2c93f1f865bd29a15ebc0b3b200d079497a00fa8<br><br>Thanks for your observation about the issue. <br>This could have definitely thrown an error, and I would not understand it why. But anyway I still have the same error as described below i.e., "InvalidParameterValue". According to the tips about the underscore issue, I changed the table name in PostGIS to glpzone and also the featureType to glpzone (removed also the capital letters). I still have doubts for the featureNS (should it be "http://www.tinyows.org/", or if not, where can I find it? Is it the same with ns_uri in config.xml?) and the featurePrefix (what's the value that it should take? If I leave it empty, the request from the browser get the default value: feature).<br><br>Thanks a lot for your help<br><br><br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Thu, 19 Apr 2012 22:46:11 +0300<br>> From: serge@gisfiber.com<br>> To: tinyows-dev@lists.maptools.org<br>> Subject: Re: [TinyOWS-dev] Problems with showing a WFS feature with        OpenLayers<br>> <br>> Hi,<br>> <br>> featureType: "GLP_Zone"<br>> <br>> I think it will help you:<br>> http://github.com/mapserver/mapserver/issues/4205<br>> or<br>> https://github.com/sdikiy/tinyows/commit/2c93f1f865bd29a15ebc0b3b200d079497a00fa8<br>> <br>> BR<br>> <br>> On 4/19/12, Rahkonen Jukka <Jukka.Rahkonen@mmmtike.fi> wrote:<br>> > Hi,<br>> ><br>> > I tried to send your query with edited featuretype for my server at<br>> > http://188.64.1.61/cgi-bin/tinyows with Poster (Firefox add-on)<br>> ><br>> > <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS"<br>> > version="1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br>> > xsi:schemaLocation="http://www.opengis.net/wfs<br>> > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"><br>> > <wfs:Query typeName="tows:france" srsName="EPSG:32634"<br>> > xmlns:tows="http://www.tinyows.org/"><br>> > <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"><br>> > <ogc:BBOX><br>> > <ogc:PropertyName>the_geom</ogc:PropertyName><br>> > <gml:Envelope xmlns:gml="http://www.opengis.net/gml"<br>> > srsName="EPSG:32634"><br>> > <gml:lowerCorner>-376204.8192771 4050000</gml:lowerCorner><br>> > <gml:upperCorner>1226204.8192771 5050000</gml:upperCorner><br>> > </gml:Envelope><br>> > </ogc:BBOX><br>> > </ogc:Filter><br>> > </wfs:Query><br>> > </wfs:GetFeature><br>> ><br>> > Result is a correct result set (empty, because BBOX is not in France).<br>> > Unfortunately I do not know why you have troubles.<br>> ><br>> > -Jukka Rahkonen-<br>> ><br>> ><br>> ><br>> > ________________________________<br>> > Lähettäjä: tinyows-dev-bounces@lists.maptools.org<br>> > [tinyows-dev-bounces@lists.maptools.org] käyttäjän Ermond Parllaku<br>> > [erndal02@hotmail.com] puolesta<br>> > Lähetetty: 19. huhtikuuta 2012 21:55<br>> > Vastaanottaja: tinyows-dev@lists.maptools.org<br>> > Aihe: Re: [TinyOWS-dev] Problems with showing a WFS feature with OpenLayers<br>> ><br>> > The query that is sent is like this:<br>> ><br>> > <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS"<br>> > version="1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br>> > xsi:schemaLocation="http://www.opengis.net/wfs<br>> > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"><br>> > <wfs:Query typeName="tows:GLP_Zone" srsName="EPSG:32634"<br>> > xmlns:tows="http://www.tinyows.org/"><br>> > <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"><br>> > <ogc:BBOX><br>> > <ogc:PropertyName>the_geom</ogc:PropertyName><br>> > <gml:Envelope xmlns:gml="http://www.opengis.net/gml"<br>> > srsName="EPSG:32634"><br>> > <gml:lowerCorner>-376204.8192771 4050000</gml:lowerCorner><br>> > <gml:upperCorner>1226204.8192771 5050000</gml:upperCorner><br>> > </gml:Envelope><br>> > </ogc:BBOX><br>> > </ogc:Filter><br>> > </wfs:Query><br>> > </wfs:GetFeature><br>> ><br>> > And the code that configures the wfs layer is like this:<br>> ><br>> > wfs = new OpenLayers.Layer.Vector("Editable Features", {<br>> > //styleMap: styles,<br>> > strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],<br>> > projection: new OpenLayers.Projection("EPSG:32634"),<br>> > protocol: new OpenLayers.Protocol.WFS({<br>> > version: "1.1.0",<br>> > srsName: "EPSG:32634",<br>> > url: "http://127.0.0.1:81/cgi-bin/tinyows",<br>> > featureNS: "http://www.tinyows.org/",<br>> > featureType: "GLP_Zone",<br>> > featurePrefix: "tows",<br>> > geometryName: "the_geom",<br>> > schema:<br>> > "http://127.0.0.1:81/cgi-bin/tinyows?service=wfs&request=DescribeFeatureType&version=1.1.0&typename=tows:GLP_Zone"<br>> > //readFormat: new OpenLayers.Format.GML()<br>> > //readFormat: new OpenLayers.Format.GeoJSON()<br>> > })<br>> > });<br>> ><br>> > I have tried it without the featurePrefix, and I still get the same error<br>> > described previously (InvalidParameterValue). The difference is that in that<br>> > case the typeName will have the prefix "feature".<br>> ><br>> > I also tried to upgrade the libXml2.dll file, found in cgi-bin with the<br>> > 2.7.6 version, but with no results. Perhaps I just haven't got the right<br>> > libXml2.dll version for Windows (win32), I'm not sure for that.<br>> ><br>> > Sorry for my stupid questions and thanks a lot for any help.<br>> ><br>> > Ermond<br>> ><br>> > ________________________________<br>> > From: erndal02@hotmail.com<br>> > To: tinyows-dev@lists.maptools.org<br>> > Date: Thu, 19 Apr 2012 18:46:23 +0200<br>> > Subject: Re: [TinyOWS-dev] Problems with showing a WFS feature with<br>> > OpenLayers<br>> ><br>> > Hello,<br>> ><br>> > I finally managed to display a WFS layer with OpenLayers. It's a bit<br>> > difficult to me, since this area is new to me.<br>> ><br>> > Anyway, I managed to display a WFS layer with OpenLayers, but I cannot make<br>> > it work with TinyOWS. I keep getting an error like this:<br>> ><br>> > <?xml version='1.0' encoding='UTF-8'?><br>> > <ows:ExceptionReport<br>> > xmlns='http://www.opengis.net/ows'<br>> > xmlns:ows='http://www.opengis.net/ows'<br>> > xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'<br>> > xsi:schemaLocation='http://www.opengis.net/ows<br>> > http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd'<br>> > version='1.1.0' language='en'><br>> > <ows:Exception exceptionCode='InvalidParameterValue' locator='request'><br>> > <ows:ExceptionText>XML request isn't valid</ows:ExceptionText><br>> > </ows:Exception><br>> > </ows:ExceptionReport><br>> ><br>> > The request is almost the same as in the example found in the tutorial for<br>> > TinyOWS.<br>> ><br>> > I think the exception has to do with the libXml2.dll and I am trying to<br>> > follow the workarounds that are found in here:<br>> > http://mapserver.org/trunk/tinyows/libxmlschemagmlbug.html<br>> ><br>> > But since I don't know much (or better say almost anything) about the Apache<br>> > and how it is supposed to work, I just cannot follow it. I tried to change<br>> > the file valueObjects.xsd according to what is described in the above<br>> > tutorial but with no success. Is it possible to get a version of this dll<br>> > (as described in the other options in the tutorial) that doesn't show this<br>> > error? Or maybe help me how to choose only the GML 2.1.2 to be used by<br>> > TinyOWS?<br>> ><br>> > Thanks a lot for your help and sorry for not using the right terminology. I<br>> > am trying to learn as much as possible, but it's very difficult since I have<br>> > a background with Microsoft and IIS...<br>> ><br>> > ________________________________<br>> > Date: Fri, 13 Apr 2012 13:11:16 +0200<br>> > From: olivier.courtin@gmail.com<br>> > To: tinyows-dev@lists.maptools.org<br>> > Subject: Re: [TinyOWS-dev] Problems with showing a WFS feature with<br>> > OpenLayers<br>> ><br>> > Edmund,<br>> ><br>> > Your problem is described as a client issue.<br>> ><br>> > I suggest that you took as is, the TinyOWS/OpenLayers<br>> > tutorial. And only later once it works to switch step by step<br>> > to your datas.<br>> ><br>> > OpenLayers list could be (also) helpfull.<br>> ><br>> ><br>> > HTH,<br>> ><br>> > --<br>> > Olivier<br>> ><br>> > _______________________________________________ TinyOWS-dev mailing list<br>> > TinyOWS-dev@lists.maptools.org<br>> > http://lists.maptools.org/mailman/listinfo/tinyows-dev<br>> ><br>> > _______________________________________________ TinyOWS-dev mailing list<br>> > TinyOWS-dev@lists.maptools.org<br>> > http://lists.maptools.org/mailman/listinfo/tinyows-dev<br>> > _______________________________________________<br>> > TinyOWS-dev mailing list<br>> > TinyOWS-dev@lists.maptools.org<br>> > http://lists.maptools.org/mailman/listinfo/tinyows-dev<br>> ><br>> _______________________________________________<br>> TinyOWS-dev mailing list<br>> TinyOWS-dev@lists.maptools.org<br>> http://lists.maptools.org/mailman/listinfo/tinyows-dev<br></div>                                            </div></body>
</html>