Hi all.<div>I have "quite" solved the problem.</div><div>I need just to load another OpenLayers.js built with inside the GML vector style.</div><div>So I add on my .html file this row:</div><div><br></div><div><div>
<script type="text/javascript" src="<a href="http://openlayers.org/dev/OpenLayers.js">http://openlayers.org/dev/OpenLayers.js</a>"></script></div><div><br></div><div>Obviously I've to load my layer not as a GeoJSON but as GML:</div>
<div><br></div><div><div>readFormat: new OpenLayers.Format.GML({</div><div> 'internalProjection': new OpenLayers.Projection("EPSG:900913"),</div><div> 'externalProjection': new OpenLayers.Projection("EPSG:900913")</div>
<div>})</div></div><div><br></div><div>Now it works!</div><div><br></div><div>Thanks at all,</div><div>Riccardo</div><div><br></div><div>P.S.: As GeoJSON I get the following error message (from FireBug of Mozilla):</div><div>
<span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened">"JSON.parse: unexpected character"</span></div><div><span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened">"</span><span style="color:rgb(255,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(255,255,255)">Uncaught SyntaxError: Unexpected token ]</span><span style="color:rgb(255,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(255,255,255)"> "</span></div>
<div><br></div><div>I don't know why. Anyway, for now is enough GML. Or if you know the reasons I get this error could be interesting to know...</div><br><div class="gmail_quote">2012/10/18 Riccardo Gaeta <span dir="ltr"><<a href="mailto:riccardog79@gmail.com" target="_blank">riccardog79@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I go to the link you suggest but I didn't find the rc4 version for windows to download...</div><div><br></div>
<div>Anyway, I copy some dll (like gdal, geos,xercers,libxml2,etc) into my cgi-bin directory from a previous version of an Apache2 windows installation.</div>
<div>And the error message change!</div><div>Now I obtain (from tinyows.log):</div><div><div>[ERROR] Element '{<a href="http://www.w3.org/2001/XMLSchema%7Dimport" target="_blank">http://www.w3.org/2001/XMLSchema}import</a>': Skipping import of schema located at '<a href="http://schemas.opengis.net/gml/2.1.2/feature.xsd" target="_blank">http://schemas.opengis.net/gml/2.1.2/feature.xsd</a>' for the namespace '<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>', since this namespace was already imported with the schema located at '<a href="http://127.0.0.1:8080/tinyows/schema/gml/2.1.2/feature.xsd" target="_blank">http://127.0.0.1:8080/tinyows/schema/gml/2.1.2/feature.xsd</a>'.</div>
<div>[ERROR] Filter parameter doesn't validate WFS Schema</div></div><div><br></div><div>On QGIS always work well.</div><div>Mmmmhhhhhh....</div><div><br></div>I suppose I have maybe 2 problem:<div>1-I need some dll library in window</div>
<div>2-the tinyows.exe of version 1.0.0rc3 is damaged in someway</div><div><br></div><div>Thanks again for your help, any other tips is appreciated!</div><div><br></div><div>riccardo</div><div><br><br><div class="gmail_quote">
2012/10/18 Olivier Courtin <span dir="ltr"><<a href="mailto:olivier.courtin@gmail.com" target="_blank">olivier.courtin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
0.9 version is that old, and should not be used anymore, for any reasons...<div>1.0.0rc3, well was an rc, and several fixes was corrected before launching 1.0.0</div><div><br></div><div>You could give a look at OSGeo4W as they provide a 1.0.0rc4 (yeap still an rc)</div>
<div><a href="http://trac.osgeo.org/osgeo4w/wiki/pkg-tinyows" target="_blank">http://trac.osgeo.org/osgeo4w/wiki/pkg-tinyows</a></div><div><br></div><div>But a real solution would be that someone take Win32 packaging in charge,</div>
<div>
Also for information:</div><div><pre style="word-wrap:break-word;white-space:pre-wrap"><a href="http://gis-lab.info/qa/tinyows-compile-vce-eng.html" target="_blank">http://gis-lab.info/qa/tinyows-compile-vce-eng.html</a></pre>
</div><span><font color="#888888"><div>
-- <br>Olivier<br>
</div>
</font></span><br></div></div><div class="im">_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>