Re: [gdal-dev] TR: Load GDALDataset Into DIB

2013-08-29 Thread Ismael BELAAOUAD
Hi David, I've used GetGeoTransform on some files and it seems to be regular thing, Y_height is negative. Can you tell me how to reverse the order of dataset reading? Best regards -Message d'origine- De : David Strip [mailto:g...@stripfamily.net] Envoyé : jeudi 29 août 2013 23:46 À : I

[gdal-dev] GDAL for windows

2013-08-29 Thread nicholas . g . lawrence
Hello all, I would like to install the latest GDAL for windows (32-bit). But I can't find a binary install that works. My goal is to translate an OSM .pbf file into MapInfo TAB. For this I need the latest OGR2OGR I tried the download from www.gisinternals.com/sdk/ but that gives me the error "L

Re: [gdal-dev] TR: Load GDALDataset Into DIB

2013-08-29 Thread David Strip
If this is pretty much a one-time thing, just reverse the order in which you read the dataset. If this is going to be a regular thing for different kinds of data sources, you need to read the y-pixel height in the dataset. You do this using GetGeoTransform. The Y_height is the last element of the a

Re: [gdal-dev] Patch for GDAL Web Mercator Issue / trac 3962

2013-08-29 Thread Michael Rosen
I concur that it is desirable to be able to recognize this projection in which ever "Well Known" Text is appears. To paraphrase Douglas Adams, "this is obviously some strange use of the term well-known that I wasn't previously aware of. msr From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal

Re: [gdal-dev] Motion: Approve GDAL/OGR 1.10.1RC2 for release

2013-08-29 Thread Tamas Szekeres
+1 Tamas 2013/8/28 Even Rouault > Gentlemen, > > this is a friendly reminder that this motion is open for vote. > > Even > > > > Hi, > > > > I have prepared a GDAL/OGR 1.10.1 RC2. The difference between RC1 and RC2 > > is http://trac.osgeo.org/gdal/ticket/5214 and > > http://trac.osgeo.org/gda

Re: [gdal-dev] Patch for GDAL Web Mercator Issue / trac 3962

2013-08-29 Thread Michael Rosen
I considered the very same issue and opted for a pragmatic solution. Here's my internal notes on this: This approach seems consistent with what Frank W proposed: "I am thinking that we should move to treating the pseudo-mercator projection method better

Re: [gdal-dev] Patch for GDAL Web Mercator Issue / trac 3962

2013-08-29 Thread Frank Warmerdam
Folks, I have no problem with EPSG code 3857 as a PCS in GeoTIFF files. It is widely accepted that any EPSG PCS is acceptable there. What is less clear to me is the most appropriate formulation of Web Mercator in WKT. Potentially, we could move to encoding semi_major and semi_minor in the proje

Re: [gdal-dev] Patch for GDAL Web Mercator Issue / trac 3962

2013-08-29 Thread Stefano Iacovella
2013/8/29 Even Rouault > Well this is the name of the projected coordinate system. But here we are > talking more about the projection method (sorry for being pedantic...). The > EPSG registry would suggest "Popular Visualisation Pseudo-Mercator" for it. > On the contrary, thank you for letting

Re: [gdal-dev] Patch for GDAL Web Mercator Issue / trac 3962

2013-08-29 Thread Even Rouault
Le jeudi 29 août 2013 23:05:44, Stefano Iacovella a écrit : > 2013/8/29 Even Rouault > > > My main question is : how sure are we about the projection name > > "Mercator_Auxiliary_Sphere" to be the appropriate one for "standard" WKT > > ? Is > > there some reference from that ? The fact that ESRI

Re: [gdal-dev] Patch for GDAL Web Mercator Issue / trac 3962

2013-08-29 Thread Stefano Iacovella
2013/8/29 Even Rouault > My main question is : how sure are we about the projection name > "Mercator_Auxiliary_Sphere" to be the appropriate one for "standard" WKT ? > Is > there some reference from that ? The fact that ESRI uses it doesn't make it > necesserarily a standard (although it can serv

Re: [gdal-dev] Motion: Approve GDAL/OGR 1.10.1RC2 for release

2013-08-29 Thread Jeff McKenna
Seems to be fine on Windows. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2013-08-26 5:32 PM, Even Rouault wrote: > Hi, > > I have prepared a GDAL/OGR 1.10.1 RC2. The difference between RC1 and RC2 is > http://trac.osgeo.org/gdal/tic

Re: [gdal-dev] Patch for GDAL Web Mercator Issue / trac 3962

2013-08-29 Thread Even Rouault
Hi Michael, My main question is : how sure are we about the projection name "Mercator_Auxiliary_Sphere" to be the appropriate one for "standard" WKT ? Is there some reference from that ? The fact that ESRI uses it doesn't make it necesserarily a standard (although it can serve as a base if ther

[gdal-dev] Patch for GDAL Web Mercator Issue / trac 3962

2013-08-29 Thread Michael Rosen
A long standing (2011) issue with GDAL's CRS support is its awkward support for the Web Mercator projection. In short, when gdal internally represents this CRS (EPSG code 3857), it does so using the Mercator_1SP projection on the WGS84 datum (not a sphere). Since that's not quite right, it pro

[gdal-dev] TR: Load GDALDataset Into DIB

2013-08-29 Thread Ismael BELAAOUAD
Hello, I finally load GDALDataSet into DIB but when I display the raster it's inverted on Y axis. Did someone have an idea? BOOL CDib::LoadFromGDAL (LPCTSTR szFileName) { BOOL bRet=FALSE; BOOL bOK; UINT ncol, size, w; Init(); GDALDataset *poDataset;

Re: [gdal-dev] gdalwarp -tps

2013-08-29 Thread Jan Hartmann
The -tps option can only be used with control points added to an unreferenced raster. It's done this way: gdal_translate \ -gcp scanx1 scany1 worldx1 wordy1 \ -gcp scanx2 scany2 worldx1 worldy1 \ ... etc \ in.tif out.tif gdalwarp -tps out.tif world.tif A georeferenced raster

Re: [gdal-dev] gdalwarp -tps

2013-08-29 Thread laura0
Hi André, my geotiff is already georeferenced (yes I used gdaltranslate previously) and also projected. I would like to know how thin plate spline interpolation works using the -tps gdalwarp option. Regards, Laura -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdalwarp-tp

Re: [gdal-dev] gdalwarp -tps

2013-08-29 Thread Andre Joost
Am 29.08.2013 11:27, schrieb laura0: Hi all, I would like to know how to use thin plate spline interpolation with gdal. I have found the gdalwarp -tps option but I do not understand how to use it, I have a UTM 32 reprojected geotiff and I find here http://www.gdal.org/gdalwarp.html ERROR 4:

[gdal-dev] gdalwarp -tps

2013-08-29 Thread laura0
Hi all, I would like to know how to use thin plate spline interpolation with gdal. I have found the gdalwarp -tps option but I do not understand how to use it, I have a UTM 32 reprojected geotiff and I find here http://www.gdal.org/gdalwarp.html -tps: Force use of thin plate spline transformer ba

[gdal-dev] Load GDALDataset Into DIB

2013-08-29 Thread Ismael BELAAOUAD
Hello, Can someone help me on loading GDALDataset into DIB in C++ project? Best regards, Ismaël BELAAOUAD Project Manager ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev