Tagged Questions
0
votes
0answers
65 views
using GDAL/OGR (faster)
Eventually, I was able to get the GDAL installed and compiled correctly using Visual C++ 2010. I even tested some of its methods on some geo-referenced raster files, and it looks like that all is ...
2
votes
1answer
44 views
OGR CreateLayer returns TypeError
I'm trying to create a shapefile layer based on the spatial projection of an already existing raster. (Ultimately, this will be used in gdal.Polygonize to get a shape from my raster data.) However, I ...
1
vote
1answer
37 views
A way to log the output from the Msys terminal in OSGEO4W?
Is there a way to log all the text output from commands in the Msys terminal to a text file when using OSGEO4W in Windows? I'm using GDAL commands and specifically wish to record any error messages ...
3
votes
1answer
109 views
How to run OSgo4W shell script on Windows?
I have a lot of DEMs that I want to use to create hillshades, slopes and color relief from and would like to automate the processes using a shell script within OSgeo4W shell. Here is the code I used ...
1
vote
0answers
50 views
VSIMalloc3() and UnifiedSrcDensity mask errors when running gdal_warp in OSGEO4w shell
This is related to gdal.py as part of bat script in windows 7
I am getting
ERROR 2: VSIMalloc3(): Out of memory allocating 854522136 bytes.
ERROR 2: Out of memory allocating 119813400 bytes ...
6
votes
2answers
520 views
How to split shapefile per feature in Python using GDAL?
is it possible to split a shapefile per feature in python? (best would be a solution where i can temporarily save the resulting vector objects to the memory instead to disk).
The reason: I want to ...
0
votes
1answer
191 views
Converting arcpy based python script to OGR for semi-automated Metadata creation
I have created a script to automatically generate base ANZLIC standard metadata using arcpy based coding. Can anyone help me convert it to OGR/GDAL python? This is so that it can be run in QGIS and ...
1
vote
1answer
242 views
Why do I get different results with gdal_calc within the osgeo4w shell and QGIS' raster calculator?
I'm just wanting to make a simple map algebra operation in the osgeo4w shell using gdal_calc but I get wrong results when I divide one raster with the other. When I use the same rasters in QGIS and ...
8
votes
1answer
191 views
Is there a way to properly have GDAL raise exceptions in Python?
I am working with GDAL in Python and have wanted to get GDAL to raise exceptions so that I can do something useful with them. For instance if a file cannot be opened with gdal.Open() I would like to ...
5
votes
2answers
182 views
What Open Source (command line/API) method is there to orthorectify and georeference an aerial image given telemetry data?
How can I take an image and orthorectify it automatically with open source software?
The information associated with each image is:
camera specs
latitude, longitude, elevation of the camera
...
0
votes
1answer
619 views
Import Error while Importing osgeo package [duplicate]
Possible Duplicate:
How to install GDAL with Python on windows?
I have downloaded Fwtools for python2.5 from http://fwtools.maptools.org(windows installer) after installing it, it was ...