Tagged Questions
0
votes
0answers
64 views
qgis plugin: “WindowsError: [Error 6] The handle is invalid”
OS: Windows 7 64bit
GIS: QGIS 1.8 (qgis.org/downloads/QGIS-OSGeo4W-1.8.0-2-Setup.exe)
path variable:
GISBASE=C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2
...
0
votes
0answers
83 views
Help in GRASS/QGIS/Python
I have Idea about ArcGIS, and a bit of QGIS and zero programming knowledge, which I am trying for thesedays. I saw GRASS GIS and have started working with shapefiles, which are not being loaded... :( ...
3
votes
2answers
53 views
How do I tell GRASS where to find Python?
For some reason, when I start GRASS on my Mac it says that it has found Python 2.6.7. However, /usr/bin/python version is 2.7.2 and I can't find a lower version anywhere on my system. Potentially ...
0
votes
0answers
44 views
Why don't libgrass.so.1.8.0 and libqgissqlantconnection.so.1.8.0 load?
I have compiled Qgis 1.8 at Ubuntu 12.10, but some phyton plugins does'nt work, like sextante.
Trying to solve this problem, some files don't have been load. They are: libgrass.so.1.8.0 and ...
0
votes
0answers
41 views
How to begin with tool development for GRASS gis or QGIS GRASS
I wanted to begin with customized tool development in Grass GIS or QGIS grass. How should i begin in to develop the tool. I search a lot in google search engine for begin with tool development in ...
2
votes
1answer
59 views
Issue while running grass from subprocess
I have a map based web application using geodjango. I needed to display the crime hotspots within a selected polygon area. I found that v.kernel is very good for generating heatmaps/hotspots. So in my ...
4
votes
1answer
79 views
Programmatic raster-vector calculation
I currently use GRASS' r.mapcalc to find the difference between vector and raster data using a loop and temporary files and layers.
Is it possible to do the core calculation between raster with a ...
2
votes
2answers
56 views
Is there a workaround for GRASS i.maxlik 'class' being a keyword in Python?
I am running i.maxlik in python - attempting to automate a processing chain.
I use the command:
grass.run_command('i.maxlik', group= group, subgroup=subgroup, class='classification', sigfile = ...
1
vote
1answer
186 views
GRASS Geoprocessing in Python Script
I´m trying to get some GRASS geoprocessig tools running in a python script outside GRASS.
I´m able to import grass.script, but I´m not able to get the tools running yet. Does anybody know what I´m ...
9
votes
1answer
191 views
Is there a way to use ArcPy and PyGRASS tools in the same Python script?
I´m trying to write a Python script, that includes different ArcPy / ArcGIS commands and want to combine it with GRASS geoprocessing tools.
Unfortunately importing the GRASS libraries doesn´t work.
...
1
vote
1answer
129 views
Raster operation with grass.mapcalc
I need to iteratively add each raster map of viewshed analysis obtained from a series of single observer locations. For this i used grass.mapcalc with Python (GRASS 7 for Windows). However, my ...
2
votes
1answer
170 views
Integrated viewshed analysis
I need to do integrated viewshed analysis of a target with several observer locations. I am going to use r.viewshed analysis function in GRASS. With this function, it is possible to perform analysis ...
1
vote
1answer
51 views
Showing map in Grass Layer Manager/Map Display via Python
I've created some raster(tif) maps using Grass libraries in Python. I want to opem them automatically in Grass GIS Map Display or Layer Manager after creation. I don't want to use GUI for this. What ...
5
votes
1answer
155 views
How to call GRASS modules in pyQGIS?
I wish to use a Grass module (v.to.db) in QGis, without the grass toolbox.
I tried with the Python console, but to no avail :
Using Sextante plugin but obviously it didn't know all the grass ...
3
votes
2answers
173 views
Using 'gdalwarp' in Python script for Grass
I'm writing a Python script that aims to re-project various LANDSAT tiles into a common projection and then import the tiles into Grass. The script at present is shown below:
#!/usr/bin/python
...