[gdal-dev] Appropriate place to store CEP50 in Geotiff

2020-07-21 Thread Isaac Gerg
Hi, I am inquiring to know if there is an appropriate place to put a CEP50 (circular error probability 50%) measurement in a geotiff. Thanks in advance, Isaac ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

[gdal-dev] Giventiff with colortable, how do i assign one of the colors to be an alpha channel

2013-01-16 Thread Isaac Gerg
Hi All, I have a tiff in which each pixel is a single byte (0-255) which references a colortable. Each element of the colortable has 4 values (RGBA). I would like to convert my black color (entry 1 in the color table (0,0,0,255)) to be transparent (new colortable entry is (0,0,0,0)) Another

Re: [gdal-dev] Giventiff with colortable, how do i assign one of the colors to be an alpha channel

2013-01-16 Thread Isaac Gerg
file in step 3 smaller in size specifically to match the theoretical size of 60MB? Thanks again, Isaac On Wed, Jan 16, 2013 at 2:21 PM, Even Rouault even.roua...@mines-paris.orgwrote: Le mercredi 16 janvier 2013 20:03:14, Isaac Gerg a écrit : Hi All, I have a tiff in which each pixel

Re: [gdal-dev] Giventiff with colortable, how do i assign one of the colors to be an alpha channel

2013-01-16 Thread Isaac Gerg
rgb2pct.py does not work on tifs with indexed colormaps -- I have already tried this. I am already using COMPRESS=LZW on the mosiac. Isaac On Wed, Jan 16, 2013 at 3:17 PM, Even Rouault even.roua...@mines-paris.orgwrote: can also try to gdal_translate -co COMPRESS=LZW on the mosaic, since

Re: [gdal-dev] Giventiff with colortable, how do i assign one of the colors to be an alpha channel

2013-01-16 Thread Isaac Gerg
I mispoke. rgb2pct.py will work but only on RGB images -- no colortables. When I use it on a RGBA image, the transparency is no longer preservered. Isaac On Wed, Jan 16, 2013 at 3:17 PM, Even Rouault even.roua...@mines-paris.orgwrote: Le mercredi 16 janvier 2013 20:58:51, Isaac Gerg a écrit

Re: [gdal-dev] Giventiff with colortable, how do i assign one of the colors to be an alpha channel

2013-01-16 Thread Isaac Gerg
at 3:23 PM, Even Rouault even.roua...@mines-paris.orgwrote: Le mercredi 16 janvier 2013 21:21:29, Isaac Gerg a écrit : I mispoke. rgb2pct.py will work but only on RGB images -- no colortables. When I use it on a RGBA image, the transparency is no longer preservered. Combine

Re: [gdal-dev] Giventiff with colortable, how do i assign one of the colors to be an alpha channel

2013-01-16 Thread Isaac Gerg
To be clear, suppose I want to make the red bow in the image below as a tiff file with transparency. But instead of using RGBA, can tiff create it with indexed color? http://d241yswl6yg9sc.cloudfront.net/remove-background2/4.png Isaac On Wed, Jan 16, 2013 at 3:40 PM, Isaac Gerg isaac.g

[gdal-dev] Created a rotated (non-north) geotiff

2012-10-25 Thread Isaac Gerg
Hi All, I have a raster image of 2200x1000 pixels. I know three bits of information about the geoposition of the raster: 1. The upper left hand corner's lat and long of the image. 2. The pixel size in meters. The pixels are square 3. The rotation of the image relative to the upper left hand

[gdal-dev] Improving the Documentation of Get/SetGeoTransform

2011-07-12 Thread Isaac Gerg
Hi all, I've spent some time today working with the SetGeoTransform function today and want to mention that the documentation doesn't seem quite clear and maybe even a bit misleading. In here, http://www.gdal.org/classGDALDataset.html#f9593cc241e7d140f5f3c4798a43a668, the transform is mentioned

[gdal-dev] gdalnumeric problems with Python 3.2 Windows 7 64 bit

2011-07-11 Thread Isaac Gerg
Hi everyone, I am using GDAL 1.8.1 with Python 3.2 on Windows 7 64-bit (

Re: [gdal-dev] gdalnumeric problems with Python 3.2 Windows 7 64 bit

2011-07-11 Thread Isaac Gerg
11 juillet 2011 20:27:12, Isaac Gerg a écrit : Hi everyone, I am using GDAL 1.8.1 with Python 3.2 on Windows 7 64-bit ( http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-x64-gdal -1-8-mapserver-6-0.zip https://exchange1.arl.psu.edu/owa/redir.aspx?C=783cf

Re: [gdal-dev] gdalnumeric problems with Python 3.2 Windows 7 64 bit

2011-07-11 Thread Isaac Gerg
numpy from the Win64 setup. (The Win32 GDALpackages already contain numpy at http://www.gisinternals.com/sdk) Best regards, Tamas 2011/7/11 Isaac Gerg isaac.g...@gergltd.com Im not sure I understood your original message. In any case, I have it working now though I used a different GDAL

Re: [gdal-dev] GDAL for Python 3.2 on Windows 64bit

2011-07-09 Thread Isaac Gerg
Do you guys know when 3.2 will be supported? How do I build from 3.2 currently using the patches you mentioned -- are there instructions anywhere? Thanks in advance, Isaac On Sat, Jul 9, 2011 at 8:28 AM, Even Rouault even.roua...@mines-paris.orgwrote: Le samedi 09 juillet 2011 13:56:54, Tamas

Re: [gdal-dev] GDAL for Python 3.2 on Windows 64bit

2011-07-09 Thread Isaac Gerg
to versions so as to make it work with all the supported compilers... Best regards, Tamas 2011/7/9 Isaac Gerg isaac.g...@gergltd.com Do you guys know when 3.2 will be supported? How do I build from 3.2 currently using the patches you mentioned -- are there instructions anywhere? Thanks