<div dir="ltr">I have been playing around with the virtualOGR table feature made available in sqlite and I am absolutely thrilled about this feature.Thanks for the great work!<div><br></div><div>I've come across two small issues that i'd like some help/comments on. I am trying to connect to a WFS service which works fine in Sqlite.</div>
<div><br></div><div><br></div><div style>1) connecting to all layers in an ogr (WFS) datasource</div><div><br></div><div> I wanted to try to connect to all layers in the WFS datasource at once. The sqlite driver page says it is possible with the function "ogr_datasource_load_layers" <a href="http://www.gdal.org/ogr/drv_sqlite.html" target="_blank">http://www.gdal.org/ogr/drv_sqlite.html</a>, I get the error:</div>
<div><br></div><div><div>no such function: ogr_datasource_load_layers<br></div><div><br></div><div>I am using Spatialite 4.0.0 and GDAL 1.10dev from trunk</div><div><br></div><div>Any ideas ?</div><div>
<br></div><div style>2) Using sql with "....limit 10;"</div><div><br></div><div>All works find using the "create table using virtualOGR()". I was then hoping I could use sql syntax "limit 10" on the wfs datasource because it is a huge dataset. But it seems that the virtual table has fecth the entire dataset before retuning the 10 rows. I was thinking the "limit 10" was translated to &maxfeatures=10 in the WFS drivers GetFeature request. Is this expected behaviour or am I doing something wrong?</div>
<div><br></div><div><br></div>-- <br>Med venlig hilsen<br><br>Martin Bjærge Jensen
</div></div>