[gdal-dev] Re: help for comparing two WKT

2011-10-07 Thread Etienne Tourigny
A related question: given an unnamed datum with defined spheroid, PRIMEM and UNIT values, is there a way to find a corresponding named datum or EPSG code? I'd be interested in an existing method, or perhaps externalng code or table in which I could search for common candidate DATUM definitions, a

Re: [gdal-dev] help for comparing two WKT

2011-10-07 Thread Etienne Tourigny
Thanks Frank, I think I found a bug in OGRSpatialReference::IsSameGeogCS(), which is called by IsSame(). The code looks for identical "DATUM" values, but doesn't check for DATUM="unknown". In my test, even thought the spheroid values are identical the test fails. Filed a bug report and one-liner

Re: [gdal-dev] help for comparing two WKT

2011-10-07 Thread Frank Warmerdam
Etienne, You should in theory just use OGRSpatialReference::IsSame() method to see if two coordinate systems are essentially equivelent, but it is not really all that perfect. Best regards, On Fri, Oct 7, 2011 at 4:36 PM, Etienne Tourigny wrote: > Hi all, > > I would appreciate any hints as to

[gdal-dev] help for comparing two WKT

2011-10-07 Thread Etienne Tourigny
Hi all, I would appreciate any hints as to how I can compare 2 WKT/OGRSpatialReference objects. My goal is to make sure that a more detailed WKT (with authority codes and explicit datum) corresponds (numerically) to a simpler one, such as in the following examples. I understand that the oSRSGDAL

Re: [gdal-dev] Fwd: gdal_merge.py - Missing images - sans attachment

2011-10-07 Thread Chaitanya kumar CH
Jay, The gdal_merge script needs the images to match in the coordinate system and the number of bands. One likely problem is could be different data types. Provide the gdalinfo outputs of the images. Before you try that, use the gdalbuildvrt program to create a vrt file and then gdal_translate t

Re: [gdal-dev] sandbox access for non-commiters

2011-10-07 Thread Mateusz Loskot
On 07/10/11 22:05, Etienne Tourigny wrote: > Mateusz, it would be nice to include your latest instructions on the > wiki page, do you want me to add this stuff as well? Etienne, yes, it would be helpful if you could edit the page. Feel free to either extend the current sections or create new secti

Re: [gdal-dev] sandbox access for non-commiters

2011-10-07 Thread Etienne Tourigny
Just like to update on my recent findings on how you can setup an environment to be able to commit to the svn repo, and also keep a separate dev enviroment on github (to work with others) Mateusz, it would be nice to include your latest instructions on the wiki page, do you want me to add this stu

Re: [gdal-dev] CMake for GDAL

2011-10-07 Thread Mateusz Loskot
On 07/10/11 19:14, Jayesh Chaudhary wrote: > It is good to see that people are supporting the idea. To know more > about CMake please visit http://cmake.org/cmake/project/about.html. > Please feel free to contact us if you have any questions / concerns. Would it be possible to learn more about yo

Re: [gdal-dev] sandbox access for non-commiters

2011-10-07 Thread Mateusz Loskot
fetch update since the creation of the package and use it. Note, the repo is created/managed on Windows, so it's configured to use CRLF. If you download/use it on Unix, you will have to do: $ git config core.autocrlf true otherwise, Git will report all files as changed, thus "needs u

Re: [gdal-dev] CMake for GDAL

2011-10-07 Thread Jayesh Chaudhary
Hi All, First of all, many thanks to Howard for introducing me. I have been using GDAL for long time and used it successfully in various projects No need to say that CMake has been adopted by various open source and commercial projects. CMake itself is open source with a very flexible licensing a

Re: [gdal-dev] elgis build of GDAL - compressed overview fails

2011-10-07 Thread Even Rouault
Le vendredi 07 octobre 2011 16:29:10, Travis Kirstine a écrit : > I have been using the elgis 5 repository with include build of GDAL > 1.8 and have problems creating overviews with jpeg compression > > gdaladdo -ro --config COMPRESS_OVERVIEW JPEG --config > PHOTOMETRIC_OVERVIEW YCBCR --config INT

Re: [gdal-dev] sandbox access for non-commiters

2011-10-07 Thread Antonio Valentino
Hi Etienne, Il giorno Fri, 7 Oct 2011 12:52:16 -0300 Etienne Tourigny ha scritto: > On Fri, Oct 7, 2011 at 12:49 PM, Antonio Valentino > wrote: > > Hi Etienne, > > > > Il giorno Fri, 7 Oct 2011 11:17:34 -0300 > > Etienne Tourigny ha scritto: [CUT] > >> Is there a way to create a git repo fro

Re: [gdal-dev] Re: gdal_merge.py - Missing images

2011-10-07 Thread Jay L.
GIving gdalwarp a try now and slapping my forehead for not thinking to try a .vrt. Thanks for the nudge Jeff. On Fri, Oct 7, 2011 at 12:25 PM, Jeff Ruby wrote: > You might try building a vrt file first and then converting that. > > gdalbuildvrt merge.vrt *.tif > > -or just merge the original I

[gdal-dev] Re: gdal_merge.py - Missing images

2011-10-07 Thread Jeff Ruby
You might try building a vrt file first and then converting that. gdalbuildvrt merge.vrt *.tif -or just merge the original IMGs- gdalbuildvrt merge.vrt *.img -then- gdal_translate merge.vrt output.tif > Message: 4 > Date: Fri, 7 Oct 2011 11:42:52 -0400 > From: "Jay L." > Subject: [gdal-de

Re: [gdal-dev] Fwd: gdal_merge.py - Missing images - sans attachment

2011-10-07 Thread Travis Kirstine
Dose gdalwarp work gdalwarp -of GTiff *.tif wacmos.tif Regards On 7 October 2011 11:42, Jay L. wrote: > Sent with an example attachment, which is awaiting approval.  Here is the > mail without attachement. > > I have 8 large Gtiffs which I am trying to mosaic.  Tiffs were created from > .IMG fi

Re: [gdal-dev] sandbox access for non-commiters

2011-10-07 Thread Etienne Tourigny
On Fri, Oct 7, 2011 at 12:49 PM, Antonio Valentino wrote: > Hi Etienne, > > Il giorno Fri, 7 Oct 2011 11:17:34 -0300 > Etienne Tourigny ha scritto: > >> On Thu, Oct 6, 2011 at 5:52 PM, Antonio Valentino >> wrote: >> > Hi Etienne, >> > >> > Il 06/10/2011 22:01, Etienne Tourigny ha scritto: >> >>

Re: [gdal-dev] sandbox access for non-commiters

2011-10-07 Thread Antonio Valentino
Hi Etienne, Il giorno Fri, 7 Oct 2011 11:17:34 -0300 Etienne Tourigny ha scritto: > On Thu, Oct 6, 2011 at 5:52 PM, Antonio Valentino > wrote: > > Hi Etienne, > > > > Il 06/10/2011 22:01, Etienne Tourigny ha scritto: > >> Thanks for the information.  It seems that using git-svn is more > >> sui

[gdal-dev] Fwd: gdal_merge.py - Missing images - sans attachment

2011-10-07 Thread Jay L.
Sent with an example attachment, which is awaiting approval. Here is the mail without attachement. I have 8 large Gtiffs which I am trying to mosaic. Tiffs were created from .IMG files downloaded from PDS. I converted to tif using: gdal_translate -of GTiff -scale -co "TILED=YES" -co "

[gdal-dev] Re: Help with setting GCPs in a GeoTiff

2011-10-07 Thread matt.feemster
Thanks for the help guys. I've managed to figure it out in code. A quick note though, wouldn't X correspond to lon (increase/decrease horizontally) and Y correspond to lat (increase/decrease vertically)? And shouldn't the far pixel count be the extent minus one since it's zero indexed? Here is a

[gdal-dev] elgis build of GDAL - compressed overview fails

2011-10-07 Thread Travis Kirstine
I have been using the elgis 5 repository with include build of GDAL 1.8 and have problems creating overviews with jpeg compression gdaladdo -ro --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL ORTH176250488302011FBS.tif 2 4 8 0...10...20...30..

Re: [gdal-dev] sandbox access for non-commiters

2011-10-07 Thread Etienne Tourigny
On Thu, Oct 6, 2011 at 5:52 PM, Antonio Valentino wrote: > Hi Etienne, > > Il 06/10/2011 22:01, Etienne Tourigny ha scritto: >> Thanks for the information.  It seems that using git-svn is more >> suited for working locally, and then commiting back to the svn repos, >> or as an easy way to stay in-