Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2014-12-27 Thread Even Rouault
Le vendredi 08 novembre 2013 11:18:34, Even Rouault a écrit : > Selon Trent Piepho : > > Thanks. Would you mind attaching it in a ticket in GDAL trac : > http://trac.osgeo.org/gdal/newticket ? > I see you've created the ticket for the corresponding libgeotiff part. > Before applying the GDAL part,

Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2014-08-06 Thread Antti Castrén
Hello again, Because of few customer cases I had to look this GeoTIFF/CT_Mercator issue once again, this time in depth. I studied how three software packages write GeoTIFFs as well as how they read different combination of keys. These software are GeoMedia Professional 06.01.11.13 ArcGIS Desktop

Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2013-11-22 Thread Antti Castrén
Hi Trent et al. Thanks for your work on the issue. I tested the files, and results were not satisfactory. But at least we got more information on the issue. FME opened both files. The georeferencing of 18440_lowres_nol.tif was recognized by FME as: DESC_NM: Global Mercator DT_NAME: NAD83 PARM2:

Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2013-11-20 Thread Trent Piepho
On Wed, Nov 20, 2013 at 1:35 AM, Even Rouault wrote: > > Le mercredi 20 novembre 2013 03:29:25, Trent Piepho a écrit : > > That file had both StdParallel1 and ScaleAtNatOrigin defined. > > > > I've uploaded two new files. This one has only StdParallel1 defined with > > no ScaleAtNatOrigin. > > ht

Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2013-11-20 Thread Even Rouault
Le mercredi 20 novembre 2013 03:29:25, Trent Piepho a écrit : > Antii, > > Thank you for the testing. It looks like Arc/GIS works while FME and > Intergraph don't. Some of those proprietary software use GDAL, but possibly not for GeoTIFF support, or if they do, perhaps with their own patches.

Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2013-11-19 Thread Trent Piepho
Antii, Thank you for the testing. It looks like Arc/GIS works while FME and Intergraph don't. That file had both StdParallel1 and ScaleAtNatOrigin defined. I've uploaded two new files. This one has only StdParallel1 defined with no ScaleAtNatOrigin. https://drive.google.com/file/d/0BybuTedE9CL

Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2013-11-18 Thread Antti Castrén
Hi Trent, The chart opens in ArcMap (ArcGIS 10.0) well, and it is in right location (Seattle). Relevant properties of the file as seen by ArcGIS: Cell Size: 240.003787, 240.003787 Extent Top:4143530.20898 Left: -9278434.53415 Right: -9165872.75807 Bottom: 3984167.69444 Spatial Reference: Globa

Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2013-11-13 Thread Trent Piepho
It looks like arcgis does not support Mercator_1SP in geotiff files. It just ignores the scale factor and uses 1.0. Which means in GDAL and libgeotiff as they are now, there is no way to export Mercator projections that don't have a scale of 1.0 to arcgis. ArcGIS does support Mercator_2SP, but in

Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2013-11-11 Thread Antti Castrén
Hello Trent, Even et al. Your work and comments on GeoTIFF and Mercator 2sp hopefully addresses the problem I ran into few years ago. I wrote a description to ESRI's forums with extracts of header information by ArcGIS and Geomedia. The postings are at: http://forums.arcgis.com/threads/24850-Pr

Re: [gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2013-11-08 Thread Even Rouault
Selon Trent Piepho : Thanks. Would you mind attaching it in a ticket in GDAL trac : http://trac.osgeo.org/gdal/newticket ? I see you've created the ticket for the corresponding libgeotiff part. Before applying the GDAL part, I think we should wait for Frank having reviewed and applied the libgeoti

[gdal-dev] [PATCH v2] Support Mercator_2SP in GeoTIFF

2013-11-07 Thread Trent Piepho
Mercator_[12]SP are both the same projection in GeoTIFF. Lacking a definition in the official specification, the intention appears to be that for Mercator_2SP the latitude of true scale (lat_ts) should be specified in ProjStdParallel1GeoKey and for Mercator_1SP the scale at origin (k) should be sp