Re: [gdal-dev] problem with gdal_translate jp2 file from the usgs (linux)

2014-04-24 Thread Etienne Tourigny
On Thu, Apr 24, 2014 at 6:43 PM, Eli Adam wrote: > Kasper, > > On Thu, Apr 24, 2014 at 2:32 PM, Even Rouault > wrote: > > Le jeudi 24 avril 2014 23:29:03, Kasper van Wijk a écrit : > >> thank you, Even, for the fast reply. I am a beginner at GDAL and > installed > >> the gdal suite with "standar

Re: [gdal-dev] problem with gdal_translate jp2 file from the usgs (linux)

2014-04-24 Thread Simon Shak
Personally I recommend either the erdas ecwj2k or mrsid driver for uses jp2 files. On Apr 24, 2014 7:25 PM, "Kasper van Wijk" wrote: > Eli: thanks for the new repo. This got me from gdal 1.7.3 to 1.9.1, but > still the same warning/output > > Trent: I downloaded the linux binaries and followed th

Re: [gdal-dev] problem with gdal_translate jp2 file from the usgs (linux)

2014-04-24 Thread Kasper van Wijk
Eli: thanks for the new repo. This got me from gdal 1.7.3 to 1.9.1, but still the same warning/output Trent: I downloaded the linux binaries and followed the instructions in the README (about PATHS), but: kasper@PALette:~/Downloads$ kdu_expand -i m_3810623_ne_13_1_20110921_20111031.jp2 -o geo.tif

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Ivan Lucena
I can't see why you can't debug in express version. I used it for many years. That is why I created the makegdal_gen.bat. But I don't use express edition now. I use Linux most of the time now. > Date: Thu, 24 Apr 2014 22:44:44 +0100 > From: jl...@ualg.pt > To: landa.mar...@gmail.com > CC: gdal-de

Re: [gdal-dev] problem with gdal_translate jp2 file from the usgs (linux)

2014-04-24 Thread Eli Adam
Kasper, On Thu, Apr 24, 2014 at 2:32 PM, Even Rouault wrote: > Le jeudi 24 avril 2014 23:29:03, Kasper van Wijk a écrit : >> thank you, Even, for the fast reply. I am a beginner at GDAL and installed >> the gdal suite with "standard" apt-get and yum, respectively. Can you point >> me to a place w

Re: [gdal-dev] problem with gdal_translate jp2 file from the usgs (linux)

2014-04-24 Thread Hare, Trent
Kasper, When I have trouble with the various Jp2 implementations, I seem to always lean on the Kakadu JP2 library. When GDAL is not available with Kakadu built-in (due to licensing), you can convert from Geojpeg2000 to geoTiff using the free Kakadu binaries. Example conversion: > kdu_expand -i g

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Joaquim Luis
On 24-04-2014 22:20, Martin Landa wrote: [back to ML] 2014-04-24 23:18 GMT+02:00 David Strip: do you have access to visual studio? sure, as I noted, building using package.cmd script (nmake-based). I have VS 2010 Express. Others can confirm this, but I'm afraid you wont be able to do an IDE d

Re: [gdal-dev] problem with gdal_translate jp2 file from the usgs (linux)

2014-04-24 Thread Even Rouault
Le jeudi 24 avril 2014 23:29:03, Kasper van Wijk a écrit : > thank you, Even, for the fast reply. I am a beginner at GDAL and installed > the gdal suite with "standard" apt-get and yum, respectively. Can you point > me to a place where I can read how to compile GDAL against one of the other > JPEG2

Re: [gdal-dev] problem with gdal_translate jp2 file from the usgs (linux)

2014-04-24 Thread Kasper van Wijk
thank you, Even, for the fast reply. I am a beginner at GDAL and installed the gdal suite with "standard" apt-get and yum, respectively. Can you point me to a place where I can read how to compile GDAL against one of the other JPEG2000 libraries, as you say? Thanks again, Kasper On 25 April 2014

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Ivan Lucena
Hi Martin, What version of Visual Studio are you using? It is usually pretty simple to debug GDAL driver on it. Let me give the recipe. I am in OSX right now without access to Windows. 1. Create the file nmake.local with DEBUG = ON VCVERS = 1600 (for VS2010) 2. Check you ORACLE_HOME variable

Re: [gdal-dev] problem with gdal_translate jp2 file from the usgs (linux)

2014-04-24 Thread Even Rouault
Le jeudi 24 avril 2014 23:17:29, Kasper van Wijk a écrit : > dear all, > > I am downloading jp2 data from the usgs national map. To plot this in > cartopy, I need to transform to something else, such as geotiff. However, > using gdal_translate I get a warning copied below, and the output is a > gr

Re: [gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Martin Landa
[back to ML] 2014-04-24 23:18 GMT+02:00 David Strip : > do you have access to visual studio? sure, as I noted, building using package.cmd script (nmake-based). I have VS 2010 Express. Martin ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lis

[gdal-dev] problem with gdal_translate jp2 file from the usgs (linux)

2014-04-24 Thread Kasper van Wijk
dear all, I am downloading jp2 data from the usgs national map. To plot this in cartopy, I need to transform to something else, such as geotiff. However, using gdal_translate I get a warning copied below, and the output is a grainy bw version of the image. I have checked my results under linux bot

[gdal-dev] debug ogr2ogr on Windows

2014-04-24 Thread Martin Landa
Hi all, I am forced to debug ogr2ogr on Windows (together with OCI driver). As a Linux user used to play with emacs/gdb it's completely new world for me;-) I am building GDAL from cmd line using package.cmd. I added to /Zi flag to produce pdb files. I found some recipes at [1], but with no success

Re: [gdal-dev] Fwd: Motion: Promote 1.11.0RC1 for release

2014-04-24 Thread Daniel Morissette
+0. I won't have time to test myself, but I am supportive based on the feedback I've seen from others. Daniel On 14-04-24 1:28 PM, Even Rouault wrote: PSC, Only I and Jukka have voted on the motion. It would be good if you could find some time to test RC1 and cast your vote. Best regards,

Re: [gdal-dev] Fwd: Motion: Promote 1.11.0RC1 for release

2014-04-24 Thread Even Rouault
Le jeudi 24 avril 2014 21:10:06, Frank Warmerdam a écrit : > Even, > > Likely my connection is a bit lame. It might be better to setup the test > against a smaller file done on ftp.remotesensing.org. I'll try to look > into this at some point. I've just changed the test to point to ftp://ftp.r

Re: [gdal-dev] Fwd: Motion: Promote 1.11.0RC1 for release

2014-04-24 Thread Frank Warmerdam
Even, Likely my connection is a bit lame. It might be better to setup the test against a smaller file done on ftp.remotesensing.org. I'll try to look into this at some point. Best regards, Frank On Thu, Apr 24, 2014 at 12:08 PM, Even Rouault wrote: > > > > PS. the cantopo gdalhttp.py test

Re: [gdal-dev] Fwd: Motion: Promote 1.11.0RC1 for release

2014-04-24 Thread Even Rouault
> > PS. the cantopo gdalhttp.py test fails, and investigating I see: > > $ gdalinfo /vsicurl/ > ftp://ftp2.cits.rncan.gc.ca/pub/cantopo/250k_tif/MCR2010_01.tif --debug on > VSICURL: GetFileSize( > ftp://ftp2.cits.rncan.gc.ca/pub/cantopo/250k_tif/MCR2010_01.tif)=0 > response_code=226 > ERROR 4: `

Re: [gdal-dev] Fwd: Motion: Promote 1.11.0RC1 for release

2014-04-24 Thread Frank Warmerdam
Even, I have built it with a few custom options and run the test suite and all looks well. +1 Frank Thanks for your great work on preparing the release! PS. the cantopo gdalhttp.py test fails, and investigating I see: $ gdalinfo /vsicurl/ ftp://ftp2.cits.rncan.gc.ca/pub/cantopo/250k_tif/MCR20

Re: [gdal-dev] GetGeomType() for a MapInfo TAB using OGR MapInfo File driver

2014-04-24 Thread Even Rouault
Le jeudi 24 avril 2014 19:47:36, Max Demars a écrit : > Hi! > > I am using the OGR MapInfo File driver to read a MapInfo TAB file. However, > the function > GetGeomType() e>returns 0 which means point > geometry, even if the features i

[gdal-dev] GetGeomType() for a MapInfo TAB using OGR MapInfo File driver

2014-04-24 Thread Max Demars
Hi! I am using the OGR MapInfo File driver to read a MapInfo TAB file. However, the function GetGeomType()returns 0 which means point geometry, even if the features in the TAB are only multi-polygons. Is it because MapInfo TAB can st

[gdal-dev] Fwd: Motion: Promote 1.11.0RC1 for release

2014-04-24 Thread Even Rouault
PSC, Only I and Jukka have voted on the motion. It would be good if you could find some time to test RC1 and cast your vote. Best regards, Even -- Message transmis -- Sujet : [gdal-dev] Motion: Promote 1.11.0RC1 for release Date : dimanche 20 avril 2014, 16:03:08 De : Even R

Re: [gdal-dev] Question about r27234

2014-04-24 Thread Even Rouault
Hi Jukka, I blogged about it : http://erouault.blogspot.fr/2014/04/advanced-jpeg-in-tiff-uses-in-gdal.html This can be definitely usefull when you need subsampling of JPEG-in-TIFF that don't have any internal or external overviews. But if you have storage space available and some CPU time in adv