1,494 reputation
511
bio website
location Missoula, MT
age
visits member for 2 years, 9 months
seen 6 mins ago

Jun
3
revised Set up GDAL for C++ in RHEL
missing target in cmake code
Jun
3
comment ogr2ogr failing to open/convert GML
Don't put lib on your expat/xerces paths, it should want the prefix: ./configure --with-expat=/opt/expat
Apr
16
answered Set up GDAL for C++ in RHEL
Apr
15
comment Set up GDAL for C++ in RHEL
Joshua, see my reply on gdal-dev...
Feb
27
comment netCDF GDAL C# - time:unit?
Try: GDALDataset::GetMetadataItem("time#units")
Feb
18
comment GDAL in C++: Reading a ShapeFile
There is a reference to the 1.11.x API on the home page. The main page is a product of the development version. See: gdal.org/1.11/index.html for the 1.11 API
Jan
13
comment How to stop writeOGR from abbreviating Field Names when using “ESRI Shapefile” driver
Are there similar column names in the db/data structure? I couldn't replicate with ogr2ogr and a sqlite db with those names. If you can provide a sample I could look further, or perhaps the R bindings are causing issues.
Jan
6
comment GDALRasterizeGeometries doesn't burn correct Values
OGRGeometry->GetGeometryRef() returns an internal pointer to the geometry. When you destroy the feature, the geometry is invalid. I don't know if that is your issue, but I know it's a problem. Try copying the geometry, and pushing the copy on to the vector. I think OGR_G_Clone should suffice.
Dec
27
awarded  Good Answer
Dec
19
comment gdal_rasterize error: “attempt to create 0x0 dataset is illegal..”
Luke, ogr2ogr can reproject, -t_srs
Dec
19
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.