I hear the new ArcGIS10 has GDAL and NumPy built into the geoprocessor. If
this is true, does that mean that users will not have to install the various
Python library bindings GDAL, numpy, etc. after a full Arc10 install?
I am using convertRastertoArray (modifying the array) and then using
convertArraytoRaster.
The problem is that when I convert back to raster, the projection information
is lost.
The projection of my input is: WGS 84, UTM 17N. (EPSG = 32617)
Can someone provide some code as to the
Hi,
I am trying to create a basic polygon shapefile using OGR in Python.
Any help with fixing my code is appreciated. Currently, it creates a
shapefile, but nothing shows up in ArcGIS.
# GDAL
from osgeo import ogr, gdal
from osgeo.gdalconst import *
# sample data
data =
Greetings,
Is GDAL compatible with Windows 7?
Specifically I am trying to use a Windows 7 machine (with ArcGIS 9.3.1 and
Python 2.5) to install the bindings.
GDAL 1.6 did not work, but perhaps the newest version of GDAL 1.7.x does??
Thanks!
Hi,
I am attempting to use GDAL with Python to reproject a raster (called
'deforest') from Geographic Coordinate System to NAD83_UTM10N.
Most of the projection tutorials seem to be in C...
Can anyone offer assistance for Python?
My current code:
os.chdir(gp.workspace)
ds =
I am simply trying to open a raster image, manipulate in NumPy and then spit
it back out in GDAL.
I am having trouble setting null data...
I tried: ds.GetRasterBand(1).SetNoDataValue( - )
but nothing seems to work.
Any help is appreciated!
Below is my code:
#! /usr/bin/env python