[gdal-dev] Reducing the size of a GeoTIFF file with significant blackfill

2013-06-16 Thread Peter Freimuth
Hi, I have a 5 band, 16-bit orthorectified GeoTIFF from a satellite image that contains a significant amount of blackfill and has a file size of over 21GB. I would like to decrease the file size by eliminating or negating the blackfill. I have attempted to use the SPARSE_OK option in GDAL as su

Re: [gdal-dev] Offset shapefile to start from prime meridian

2013-06-16 Thread zetah
Trent Hare wrote: > >Zetah, > Oops - I skipped passed the fact you were working with vectors. >I read "Natural Earth" and assumed the nice hillshade images they support. > >Converting from 180 -> 360 -> 180 is a something we often have to >do for planetary data. My colleague Jay (CC'd) has writ

Re: [gdal-dev] Offset shapefile to start from prime meridian

2013-06-16 Thread Hare, Trent
Zetah, Oops - I skipped passed the fact you were working with vectors. I read "Natural Earth" and assumed the nice hillshade images they support. Converting from 180 -> 360 -> 180 is a something we often have to do for planetary data. My colleague Jay (CC'd) has written an OGR script to convert

[gdal-dev] Project with projection

2013-06-16 Thread William Kang
Hi, I am tyring to GDal to convert some data from USA_Contiguous_Albers_Equal_Area_Conic_USGS ( http://spatialreference.org/ref/sr-org/7480/) to WGS 84. But I got an error "ERROR 6: No translation for Albers to PROJ.4 format is known." Does this mean I won't be able to convert these data by using G

Re: [gdal-dev] gdal_grid - VRT - flipped image

2013-06-16 Thread Even Rouault
Le dimanche 16 juin 2013 22:19:21, Pierric a écrit : > Hello, > > By using the following commands, it creates a raster which is opened and > shown correctly in GIS software but it is displaid upside down in an image > viewer or internet browser. ( gdalinfo gives Upper Right ( 11.000, > 10.0

Re: [gdal-dev] Offset shapefile to start from prime meridian

2013-06-16 Thread zetah
Trent Hare wrote: > >There is a great method to do this virtually using GDAL's VRT format. >Unfortunately it looks like this site has died but the wayback machine has >a snapshot of it. Definitely a good tutorial to keep around -- I use this >trick all the time. > >http://web.archive.org/web/201104

[gdal-dev] gdal_grid - VRT - flipped image

2013-06-16 Thread Pierric
Hello, By using the following commands, it creates a raster which is opened and shown correctly in GIS software but it is displaid upside down in an image viewer or internet browser. ( gdalinfo gives  Upper Right (  11.000,  10.000) and Lower Right (  11.000,  70.000)  which sho

Re: [gdal-dev] Offset shapefile to start from prime meridian

2013-06-16 Thread Hare, Trent
There is a great method to do this virtually using GDAL's VRT format. Unfortunately it looks like this site has died but the wayback machine has a snapshot of it. Definitely a good tutorial to keep around -- I use this trick all the time. http://web.archive.org/web/20110406210056/http://www1.eonfu

[gdal-dev] Offset shapefile to start from prime meridian

2013-06-16 Thread zetah
I have Natural Earth shapefile covering whole globe in -180:180 range. I want to offset this file, so that it starts from Greenwich prime meridian instead -180. How can I do this with gdal/ogr? Thanks in advance ___ gdal-dev mailing list gdal-dev@lis