Iterate over polygons to convert WFS features

المشرف العام

Administrator
طاقم الإدارة
So my first question on stackexchance.

With ogr2ogr its possible to convert WFS features to SQlite with the following:

ogr2ogr -f "SQLite" OUTPUT.sqlite WFS:"INPUT_WFS_url"

It works. But there is a limit on the number og features to extract from the wfs. My idea is then to iterate over features in a shapefile containing polygons (index), and add the result to the output SQLite.

So the idea is to use -clipsrc, and use each feature from the index polygon as input. (it works whit a single polygon, but i dont now how to iterate). I have also tried to do it whit python without the right result.

Any idaes or hints?



أكثر...
 
أعلى