Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 600

Python is an open source interpreted programming language used in many GIS programs.

2 votes

Joining lines when direction is not known

I would calculate the distance between each start segment and end segment, and then join the ones with the shortest distance between them?
johanvdw's user avatar
  • 6,249
0 votes

Python for GIS on thumb-drive

There is a python interface also - though quite a lot of things can be done using the modules present. http://www.saga-gis.org …
johanvdw's user avatar
  • 6,249
4 votes

how can i convert a shapefile to lat and lon boundaries?

One possible way to proceed using SAGA GIS http://www.saga-gis.org After opening your shapefile run these 3 modules: 1. Modules\Shapes\Tools\Get Shapes extent Modules\Shapes\Tools\Points\Points from …
johanvdw's user avatar
  • 6,249
1 vote
Accepted

How we can get output for os.system() in python?

I would advice using a library for using REST from python, eg requests http://docs.python-requests.org/en/latest/index.html r = requests.get('http://localhost:8080/geoserver/rest/workspaces/myworkspace …
johanvdw's user avatar
  • 6,249
3 votes

Finding polygons crossed by line using OGR?

The proposals of mloskot and Nicklas to compare the bounding boxes are indeed correct. If you are using shapefiles you could also consider calling this saga module: http://www.saga-gis.org/saga_modu …
johanvdw's user avatar
  • 6,249
0 votes

How do I generate thumbnails images from lots of shapefiles?

Another related question: Platforms for repetitive automated mapping? There mapserver was suggested.
johanvdw's user avatar
  • 6,249
2 votes

How to integrate SAGA Python Modules into ArcGIS Desktop?

There are some efforts to run saga modules in arcgis through sextante: http://sextantegis.blogspot.com/2011/08/here-is-another-video-of-sextante-on.html
johanvdw's user avatar
  • 6,249
4 votes
Accepted

Python script using SAGA and arcpy for converting 'on the fly' LAS point cloud to shapefile?

It is however possible by using the python interface: in that case you can leave the spc object in memory prior to writing it as a shapefile. … Instead of giving a full answer here, I've updated the SAGA wiki and a short tutorial on creating python scripts, demonstrating how this can be done: https://sourceforge.net/apps/trac/saga-gis/wiki/Creating …
johanvdw's user avatar
  • 6,249
1 vote

how to overlay shapefile and raster?

This is not possible using GDAL. You could use other free tools however, eg saga gis: saga_cmd shapes_grid "Grid Values to Shapes" -GRIDS=grid.sgrd -POLYGONS=in.shp -SHAPES=out.shp-NODATA -TYPE=1
johanvdw's user avatar
  • 6,249
0 votes

How to integrate SAGA Python Modules into ArcGIS Desktop?

: https://sourceforge.net/p/saga-gis/news/2015/09/saga-221-released/ " To run ArcSAGA tools, you have to navigate to your SAGA installation directory with the ArcCatalog control and open the ArcSAGA Python
johanvdw's user avatar
  • 6,249