[Proj] Bad Mercator Projection string?

Mikael Rittri Mikael.Rittri at carmenta.com
Thu Jul 19 12:40:51 EST 2012


I don't know what the trouble is, but maybe GeoTIFF doesn't support Mercator with
a lat_ts parameter (latitude of true scale). If so, you can try to use a scale factor instead.

That is, replace your

    +lat_ts=41.5

by

    +k_0=0.750058844766239

This will give you an equivalent definition, and maybe it will work better.

Best regards,

Mikael Rittri
Carmenta
Sweden
http://www.carmenta.com

18 jul 2012 kl. 19:16 skrev "Geoff Shipton" <geoff at tritonimaginginc.com<mailto:geoff at tritonimaginginc.com>>:

Hello everyone,

We “inherited” this Proj4 string from a previous product – it has always seemed to work but we are having problems using it with gdalwarp, the warped .tif image looks valid but has errors in the TIF tags.  If anybody has any idea what’s wrong I would be grateful.  Comparing it with other Mercator Proj4 strings it looks a bit simple…

Here’s the string:

+proj=merc +datum=WGS84 +lon_0=0 +lat_ts=41.5 +x_0=0 +y_0=2000000

I am not a geodesist, be gentle.

Many thanks,
Geoff Shipton,
Triton Imaging Inc.
Customer Support.
Capitola CA.
geoff at tritonimaginginc.com<mailto:geoff at tritonimaginginc.com>

The information contained in this message may be privileged or confidential information intended solely for the use of the addressee(s).  Any views or opinions presented in this communication do not necessarily represent those of Triton Imaging, Inc.  If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please immediately notify me and you are hereby instructed to delete all electronic copies and destroy all printed copies.

_______________________________________________
Proj mailing list
Proj at lists.maptools.org<mailto:Proj at lists.maptools.org>
http://lists.maptools.org/mailman/listinfo/proj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20120719/87747190/attachment.htm 


More information about the Proj mailing list