1,364 reputation
411
bio website
location Missoula, MT
age
visits member for 2 years, 3 months
seen 2 days ago

2d
comment gdal_rasterize error: “attempt to create 0x0 dataset is illegal..”
Luke, ogr2ogr can reproject, -t_srs
2d
comment Help with Python/GDAL documentation
Check the format specific docs: gdal.org/formats_list.html, or WMS specifically: gdal.org/frmt_wms.html
Dec
4
awarded  Revival
Dec
4
comment How to stop writeOGR from abbreviating Field Names when using “ESRI Shapefile” driver
Correct. dbf column name lengths are limited. Another format, for example sqlite/spatialite would not truncate the names (there are very large limits in sqlite, but many orders of magnitude above 10).
Dec
2
comment Read dted with gdal in c++
gdallocationinfo will work: gdal.org/gdallocationinfo.html you can use it and the -geo option to output xml, or read the code for the application.
Nov
20
comment GDAL virtual file system, how to create your own
It depends on what you are asking for and the driver. gdalinfo /vsicurl/... will download what the driver needs to display the info. If you pass -stats, it would have to donwload the image data.
Nov
18
comment GDAL virtual file system, how to create your own
You can probably use the /vsicurl/ handler. If not, it would be a perfect example for you.
Nov
17
comment GDAL virtual file system, how to create your own
There are VSI implementations that can use memory buffers and 'subfiles' (files within files). See: gdal.org/cpl__vsi_8h.html#af9c1b931449d423e7a80bacb75ff0717 and gdal.org/cpl__vsi_8h.html#abaee4232440e012b4b9920934fc571cc
Nov
15
comment Python Band.SetNoDataValue(), sets all bands at once
GeoTiffs only support one no data value for all bands. The GDALData model suggests support for band specific no data, but some (probably many) formats and dataset specific. There is a ticket open in trac: trac.osgeo.org/gdal/ticket/2083
Nov
6
comment different data range of raster file in mapserver and qgis
Probably not. GDAL typically operates on images and pixel values. Scale and offsets are typically associated with displaying pixel data. A quick search turned up a github pull request with no doc changes that I can see, although I don't know how QGIS does such things: github.com/qgis/QGIS/pull/1066
Nov
6
comment different data range of raster file in mapserver and qgis
QGIS and IDV are applying the offset and scale values, gdalinfo gives raw pixel values.
Sep
24
comment Raster created by python GDAL interpreted upside down
The affine geotransform uses the upper left corner as the origin, this is typically minx, maxy. See: gdal.org/gdal_datamodel.html
Sep
20
awarded  Yearling
Sep
3
comment Add band to GDAL VRT dataset and convert to TIFF
Use a different filename for the final tiff, the vrt needs the original, when you overwrite it, the vrt can't find it.
Aug
28
comment Issue with gdal getprojection and setprojection returning different information
what gdal version?
Aug
28
comment Error getting ESRI Shapefile driver OGR in C++
The documentation in for GDAL 2.0, which merges the driver manager of OGR and GDAL. The 1.x docs can be found here: gdal.org/1.11/index.html
Aug
20
awarded  Constituent
Aug
12
awarded  Caucus
Aug
4
comment Use GDAL command line to copy projections
Ah. You can use gdal_edit.py to edit corners and srs. It just overwrites data: gdal.org/gdal_edit.html
Jul
29
answered Use GDAL command line to copy projections