[postgis-devel] [PostGIS] #611: [raster] gdal2wktraster.py crashes on Windows 7
PostGIS
trac at osgeo.org
Wed Sep 29 16:15:26 PDT 2010
#611: [raster] gdal2wktraster.py crashes on Windows 7
----------------------------+-----------------------------------------------
Reporter: pracine | Owner: pracine
Type: defect | Status: new
Priority: low | Milestone: PostGIS Raster Future
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Comment(by pracine):
This little Python script is sufficient to reproduce the crash:
from osgeo import gdal
import osgeo.gdalconst as gdalc
ds = gdal.Open("C:/temp/srtm_01_02.tif", gdalc.GA_ReadOnly);
band = ds.GetRasterBand(1)
pixels = band.ReadAsArray(0, 0, 50, 50, 50, 50)
x = len(pixels)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/611#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list