All Questions
Tagged with python-2.6 python
12 questions
2
votes
3
answers
3k
views
Using Python script to control GRASS GIS from outside?
I am working with GRASS 6.4.3 and python 2.7.6 under WIN 8.1.
I am a novice with computer science and coding, and I have seen many posts including those:
Is it possible to use GRASS GIS in Python ...
5
votes
1
answer
762
views
Cursor only completes one loop
I am at the end of my rope here. This cursor runs fine for one iteration and then stops. It doesn't throw an error, it just completes. There are 3,000 rows in my table, so I don't know why it would do ...
3
votes
1
answer
4k
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 ...
7
votes
2
answers
6k
views
Get X, Y coordinates in the center of a raster cell
I am trying to get the X, Y coordinates of all the cells of a raster file, using Python 2.6 and ArcGIS 10.0.
I would like to get the X, Y coordinates in the center of the cell.
Is there any way to ...
3
votes
1
answer
430
views
pair value comparison to generate new raster using arcpy/python
I want to write a function which takes in two arguments (from two rasters) and compare those 2 values against a set of hard coded pair values inside function. Then return a value which i want to use ...
5
votes
1
answer
2k
views
FME values used in python
I need one attribute value from FME and use it in python script as a parameter. How can I do this? Do I have to have def_init_() def input(), def close() also?
3
votes
3
answers
6k
views
How to truncate file geodatabase tables with Python?
I need to truncate file geodatabase tables (1 or all) with Python. What is the code for that?
10
votes
4
answers
11k
views
Copy file geodatabase using Python?
I am trying to copy fgdb from one path to another using Python.
copy(base.gdb,dest)
And got the message:
Error Info:
[Errno 13] Permission denied:
How to fix it?
4
votes
1
answer
489
views
Variable XML dataset as reader in FME
I have one problem i am thinking how to solve. My workbench is started from python script. Workbench reads xml file, but name of xml file is each time different. So is it possible to solve this with ...
4
votes
1
answer
2k
views
Run FME Workbench with Python
I would like start/run FME workbench from one external python script. Is there some simple syntax/command to do this?
0
votes
1
answer
2k
views
It is possible to edit selected features with Python?
I'm trying to edit some fields of the selected features in ArcMap. It's possible to do this with Python (ArcPy)?
0
votes
1
answer
197
views
Accessing smb share on Trimble YUMA with python
I need to write a script that would import a .shp on the YUMA to a gdb on the script/host pc for manipulation with arcpy. I can't seem to find a smb python module. So Im not entirely sure on how to do ...