1

Are there any tutorials on how to use Sextante within QGIS? How I could use Sextante model builder in QGIS to convert KML to shapefile?

This is a routine task and Sextante would really help.

I am straggling to find standard gdal/ogr converters within the Sextante algorithms, such as shp to kml to shp to tab.

  • I've looked for tutorials/docs - without success. Nor can I get model builder working (QGIS 1.8 / MacOSX 10.7), except for R scripts (after tweaking the python code). – Simbamangu Oct 2 '12 at 14:46
  • What is the purpose? Is it satisfactory to simply open the kml in QGIS then save it as shp? – Willy Oct 3 '12 at 10:48
  • Hello Willy - the kml to shp is just part of larger list of instructions that I would like my model to do, such as (1) convert data format, (2) re-project, (3) change polygons to polylines, etc. This is a repetitive task that needs to be automated and a Sextante model would do the job. Thanks anyway for looking. – meryloo Oct 5 '12 at 21:05
  • Hi Simbamangu - unfortunately I am a Windows user so difficult to help, however I share similar behaviour, some of the tools would or would not work. What I have been able to find out about QGIS Sextante plugin is that it is a relatively new project at the moment hence common bugs may exist. I am looking forward to any updates as the concept is great and working with models (multiple tools and repetitive analysis) would make it so much easier! – meryloo Oct 5 '12 at 21:15
  • 1
    Try the QGIS nightly build - it has sextante 1.08 built in, vs. 1.07 in the plugin repository, and is working well for me. However, there doesn't seem to be any way to specify the output file type - I can only get it to output .shp. You might be better off using the modeler to create shapefiles and then run ogr2ogr with a batch script on the directory. – Simbamangu Oct 6 '12 at 7:30
1

I would tell a rather straightforward method.

If there are a couple of kml files, then they can be converted to shapefile in a manual way.

  1. Just drag-drop kml in QGIS layer panel to open it;

  2. Right-click layer name and "SAVE AS" shapefile;

  3. Specify coordinate system; and

  4. Save/Export

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.