Python is an open source interpreted programming language used in many GIS programs.
0
votes
0answers
6 views
How to change the line symbol in QgsVectorLayer by using python?
Anyone plz Help me to change the line with simple marker symbol (arrow) in QgsVectorLayer by using python code
0
votes
1answer
10 views
How to make line with arrow head in QgsVectorLayer using python?
I need to draw line with arrow head or after drawn the line i need to make it as arrow head line by using python. or can we set any arrow head symbol for line features by using python?
Kindly help me ...
0
votes
1answer
24 views
How can I avoid UnicodeEncodeError when using geoprocessing tools in QGIS?
I have a shapefile, that I want to split with the "Split Layers by Field"-tool. Due to some umlauts (ä,ü,ö) there will be a python error as soon, as the tool reaches a feature with an umlaut. The ...
1
vote
0answers
73 views
Creating prepared geometries with OGR from Python
Is it possible to create a prepared geometry object using the Python SWIG geos.ogr module? It seems that Shapely and GeoDjango both have this functionality, but I can't see any mention of it in the ...
1
vote
1answer
28 views
GDAL bindings problem with ArcMap 10.1 Python tool
I'm really getting mad with this. ArcGIS sometimes can be so just...irritating!
Forgive me if this question is by any means duplicating this one or similar ones, but I really can't find my way out of ...
0
votes
1answer
29 views
python script in modelbuilder: get field value and return boolean expressions
I have problems integrating a python script in a modelbuilder tool. I'm a absolute beginner with python. Maybe there's also an easier way to solve this problem in modelbuilder without using a python ...
0
votes
0answers
10 views
Orthographic reprojection with mapnik
I am trying to create a google earth like wep application. My problem is that I can't get to render a full view of the earth.
The zoom_all() function generates the following error :
RuntimeError: ...
0
votes
1answer
37 views
How to find locations for hydro power using raster analysis?
I have a stream network and DEM file both in raster format. I need to extract values from DEM to stream network. For the analysis in stream network after that, I need to find out the places for hydro ...
0
votes
0answers
31 views
How to use more than one QT form in Qgis Python? [closed]
I need a help to use multiple qt forms in PyQgis. For example, i need to open one qt form after the login form.
I tried like this:
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core ...
0
votes
0answers
24 views
How to Average neighboring county data and store in original?
I have data for several rain stations, i have averaged the data and given each county a value. Some counties have null values and I would like to pull the data from the all the bordering counties and ...
1
vote
0answers
25 views
Qgis 1.8 Access the road graph plugin in python
I am developing a few scripts in Python to automate some geo-tasks and one of them would be to calculate the shortest distance from a hospital to each building in a town.
I would like to take ...
0
votes
1answer
44 views
Is it possible to use GDAL to combine (rather than mosaic) rasters
Is there a GDAL command which can combine multiple rasters so that a unique output value is assigned to each unique combination of input values, like the combine command in ArcGIS?
gdal_merge seems ...
-1
votes
2answers
51 views
Error Debugging
Here is my code
#arcpy
import arcpy,sys
from arcpy import env
env=r"C:\Users\Jaya\Desktop\python_practice"
totalRec=arcpy.GetCount_management("river")
rows=arcpy.SearchCursor("river")
...
0
votes
0answers
24 views
qgis python app how to add edit feature button?
I'd like to develop a QGIS Python app for plotting points and editing the attributes. I've started with the tutorials here: http://blog.qgis.org/?q=node/59 and read the cookbook ...
0
votes
2answers
55 views
Raster Calculator question for Multiple Rasters
I am having trouble for writing script in Python (ArcGIS 10.1). The task is generally divide each raster by 100. I have many of these raster files....
So what I've done is the following:
from ...