[gdal-dev] Compute GeoTransform

2015-06-09 Thread Gane R
With Lat Long bound values how do create a geotransform for WGS84 GeoTIFF I followed this link https://trac.osgeo.org/gdal/wiki/FAQRaster#HowcanIcreateablankrasterbasedonavectorfilesextentsforusewithgdal_rasterizeGDAL1.8.0 or how do I use the -tr option for WGS84, GeoTIFF I want to have high res

[gdal-dev] Creating a transparent GeoTIFF, writing shape data over it, reading GeoTIFF writing as PNG with transparency.

2015-06-09 Thread Gane R
1. Can I create a transparent GeoTIFF like PNG with alpha channel ? 2. Can I used gdal_rasterize to draw shape over the GeoTIFF with tranparency 3. Can I read a part of the GeoTIFF using GDALRasterIO and write as PNG with the same transparency preserved. Say some kind of work flow with gdal comm

Re: [gdal-dev] assigning vertical datum to image files

2015-06-09 Thread Newcomb, Doug
putting the gtx files in the right proj directory works wonders :-) Thanks! All is working now. Doug On Tue, Jun 9, 2015 at 10:51 AM, Even Rouault wrote: > Selon "Newcomb, Doug" : > > > Evan, > > Here is the output from gdalinfo wit the expanded config. > > Note the error messages on failure

Re: [gdal-dev] gdal-dev Digest, Vol 133, Issue 17

2015-06-09 Thread Pieter Kempeneers
rently have a > GeoTiff image and a shapefile. I would like to overlay the shapefile on the > Geotiff, is this possible with Gdal? I looked into gdal_rasterize but I > just don't know how to incorporate it with what I need. A code to start > with would be great if possible. Or maybe poin

Re: [gdal-dev] assigning vertical datum to image files

2015-06-09 Thread Even Rouault
Selon "Newcomb, Doug" : > Evan, > Here is the output from gdalinfo wit the expanded config. > Note the error messages on failure to load datum shift files for the > corner coordinates. > I'll upgrade to RC1 and check that again, but thought I would mention. That's not related to GDAL but to PRO

Re: [gdal-dev] assigning vertical datum to image files

2015-06-09 Thread Newcomb, Doug
Evan, Here is the output from gdalinfo wit the expanded config. Note the error messages on failure to load datum shift files for the corner coordinates. I'll upgrade to RC1 and check that again, but thought I would mention. gdalinfo --config GTIFF_REPORT_COMPD_CS YES D05_37_30081003_20141231.tif

[gdal-dev] Overlay shapefile onto Geotiff image

2015-06-09 Thread Ronquillo, Edgar Nahum
Hi, I have been working on this issue for quite a while. I currently have a GeoTiff image and a shapefile. I would like to overlay the shapefile on the Geotiff, is this possible with Gdal? I looked into gdal_rasterize but I just don't know how to incorporate it with what I need. A code to start

Re: [gdal-dev] assigning vertical datum to image files

2015-06-09 Thread Newcomb, Doug
Evan, I went back and checked. The .aux.xml sidecar files with the img files do not appear to have projection information. Doug On Tue, Jun 9, 2015 at 9:32 AM, Even Rouault wrote: > Selon "Newcomb, Doug" : > > > Thanks! > > > > That should work in this case to build the virtual raster. I'm s

Re: [gdal-dev] assigning vertical datum to image files

2015-06-09 Thread Newcomb, Doug
Thanks Evan! Doug On Tue, Jun 9, 2015 at 9:32 AM, Even Rouault wrote: > Selon "Newcomb, Doug" : > > > Thanks! > > > > That should work in this case to build the virtual raster. I'm still > > curious about assigning the vertical datum to the rasters. > > Doug, > > I'm a bit surprised that the H

Re: [gdal-dev] assigning vertical datum to image files

2015-06-09 Thread Even Rouault
Selon "Newcomb, Doug" : > Thanks! > > That should work in this case to build the virtual raster. I'm still > curious about assigning the vertical datum to the rasters. Doug, I'm a bit surprised that the HFA driver reports a SRS with a VERTCS node as a child of the PROJCS node. I believe this is

Re: [gdal-dev] assigning vertical datum to image files

2015-06-09 Thread Newcomb, Doug
Thanks! That should work in this case to build the virtual raster. I'm still curious about assigning the vertical datum to the rasters. Doug On Tue, Jun 9, 2015 at 1:48 AM, Hermann Peifer wrote: > > About your initial problem: > > but gdalbuildvrt complained, informing me that > > they were n

Re: [gdal-dev] GDALWarp API and paletted images

2015-06-09 Thread Even Rouault
Thomas, > > I'm using the GDALWarp api from C++ to reproject and cut various input > images. In general this works very well for my purposes, except that for > paletted images I have to use NearestNeighbour resampling, > > I would like to use Bilinear or higher order resampling, and wonder if > the

[gdal-dev] GDALWarp API and paletted images

2015-06-09 Thread Thomas Sevaldrud
Hi, I'm using the GDALWarp api from C++ to reproject and cut various input images. In general this works very well for my purposes, except that for paletted images I have to use NearestNeighbour resampling, I would like to use Bilinear or higher order resampling, and wonder if there is any way to

Re: [gdal-dev] Is it possible?

2015-06-09 Thread Graeme B. Bell
Peter, I think you are misunderstanding the question. You are interpreting the verb 'to map into a geotiff' to mean 'directly insert the original data structure into a incompatible data structure', which is an peculiarly narrow definition even in GIS. When he says 'to map' he probably meant