Skip to main content
8 events
when toggle format what by license comment
May 31, 2017 at 12:33 history edited AndreasK CC BY-SA 3.0
added 1 character in body
May 31, 2017 at 12:33 comment added AndreasK Hmm, I'm sorry for that. Maybe something wrong with the indentation? Can You post your changes? I made a little mistake in the start_dir, added an "r" to avoid any escape sequences.
May 31, 2017 at 10:16 comment added Kevin I still can't make it. I changed the start_dir-path and the EPSG. I tried it with two Shapefiles from which I know that the CRS is WGS84 (EPSG 4326). The last lines after I ran the script are in red, they come directly after your coding: File "<input>", line 12 QgsMapLayerRegistry.instance().addMapLayer(all_lines) ^ SyntaxError: invalid syntax
May 29, 2017 at 18:05 comment added AndreasK yes, I marked it in the script. you have to change the folderpath, where you have all your shapefiles and you should specify the coordinate system you are using (here I use EPSG 25833)
May 29, 2017 at 17:56 history edited AndreasK CC BY-SA 3.0
added 18 characters in body
May 29, 2017 at 17:07 comment added Kevin thank you for the script. Do I have to change something for my qgis project e.g. names or paths?
May 29, 2017 at 13:32 history edited AndreasK CC BY-SA 3.0
added 66 characters in body
May 29, 2017 at 11:35 history answered AndreasK CC BY-SA 3.0