Reputation
1,849
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 12
Newest
 Revival
Impact
~61k people reached

  • 0 posts edited
  • 0 helpful flags
  • 17 votes cast
Apr
11
comment Why am I getting two different outputs from Python and C++ using GDAL?
Make sure GDAL_DATA is properly set for both instances.
Apr
7
revised Translating ArcPy Commands to GDAL Equivalents?
update delete stuff due to comment.
Apr
7
comment Translating ArcPy Commands to GDAL Equivalents?
ogr.Driver.DeleteDataSource() will work, updated above.
Apr
6
answered Translating ArcPy Commands to GDAL Equivalents?
Mar
8
comment Storing non-orthorectified images in GeoTIFF
What exactly are you trying to do? Do you need to store the GCP info, or just use it for warping?
Mar
4
comment Storing non-orthorectified images in GeoTIFF
GDAL supports GCPs, see: gdal.org/gdal_datamodel.html#gdal_datamodel_dataset_gcp, not sure if that is what you are looking for though.
Feb
2
comment GDAL: *.nc rasters, opened as “netCDF/Network Common Data Format” under Linux and as “ HDF5/Hierarchical Data Format Release 5” under Windows
It's plugins, I believe they are loaded first. Maybe alphabetically?
Feb
2
comment GDAL: *.nc rasters, opened as “netCDF/Network Common Data Format” under Linux and as “ HDF5/Hierarchical Data Format Release 5” under Windows
Are the versions of GDAL different? And is one driver (netCDF probably) compiled as a plugin? netCDF 4 stores data as HDF5 internally, IIRC, and the projection info will differ. If netCDF is a plugin, it might not be tested before HDF5, which may cause the issue.
Jan
20
comment Access MEM data from GDAL?
That won't work the way you would like. The in memory dataset lives as long as the process (gdaldem) does, then is released. The GDAL VSI mechanism handles this, and if you were programming, you would be able to open the dataset using: ds = GDALOpen("/vsimem/path/to/mImg.tiff", GA_ReadOnly); or a similar command.
Jan
5
answered List of GDAL raster file extensions
Nov
22
awarded  Revival
Nov
4
answered Reading GRIB band metadata with GDAL
Oct
27
comment GDAL in C++: Resize Image (gdal_warp?)
RasterIO now can handle many resampling methods. If you have 2.x, then you can use it: gdal.org/…
Oct
27
comment How to rasterize a point layer with multiple features falling inside a raster cell?
Try setting the rasterize option MERGE_ALG=ADD.
Oct
15
answered OGR update using case statement
Oct
13
comment Create shapefile of raster outline using python
gdal_polyginize.py is similar, you could look there. Docs: gdal.org/gdal_polygonize.html. That and clamping your valid values to 1 would give you a 'mask'
Oct
13
comment Is there a way to get only a single output from GDALinfo?
Windows builds can be found at gisinternals.com/sdk. Linux you probably have to compile.
Oct
12
comment Is there a way to get only a single output from GDALinfo?
The development version has json output from gdalinfo, which would (possibly) be easier to parse.
Oct
12
comment GDAL SetGeoTransform does not work as expected
You are opening the dataset read only, and not checking the error returned by ds.SetGeotranform(). Either open in update mode or open it and create a copy.
Oct
5
comment Wind speed data interpolation
WindNinja uses less than full fluid dynamics (conservation of mass), but it is freely available. The only required data is a DEM file. firelab.org/windninja