<br><font size=2 face="sans-serif">I've attempted to track down this issue
but am not getting anywhere. Using FWTools 2.1.0 (GDAL 1.6.0dev), I was
able to project from Equirectangular (aka Equidistant_Cylindrical) to Mercator
(or other projections) using gdalwarp. Switching to FWTool 2.4.0
(GDAL 1.7.0dev), and using the exact same gdalwarp command I now get:</font>
<br>
<br><tt><font size=2>>gdalwarp -t_srs "ESRI::Mars2000_Merc_clon180.prj"
ESP_011909_1320_RED.JP2 ESP_011909_1320_RED_merc180.tif</font></tt>
<br><tt><font size=2>ERROR 1: Too many points (441 out of 441) failed to
transform, unable to compute output bounds.</font></tt>
<br>
<br><font size=2 face="sans-serif">My suspicion is the source projection
Equirectangular is being handled incorrectly - potentially from the
"latitude_of_origin" / "standard_parallel_1" keyword
issue. That is the only difference that I can see. Any ideas? I know this
is Mars but that is not the issue. This might be more suited to the GDAL
list but I thought there might be some gdalwarp flags I can pass to help
resolve the issue.</font>
<br>
<br><font size=2 face="sans-serif">Source image used for testing (geoJpeg2000).</font>
<br><a href="http://hirise-pds.lpl.arizona.edu/PDS/RDR/ESP/ORB_011900_011999/ESP_011909_1320/ESP_011909_1320_RED.JP2"><font size=2 face="sans-serif">http://hirise-pds.lpl.arizona.edu/PDS/RDR/ESP/ORB_011900_011999/ESP_011909_1320/ESP_011909_1320_RED.JP2</font></a><font size=2 face="sans-serif">
(272MB)</font>
<br><font size=2 face="sans-serif">parent web site: </font><a href=http://hirise.lpl.arizona.edu/ESP_011909_1320><font size=2 face="sans-serif">http://hirise.lpl.arizona.edu/ESP_011909_1320</font></a>
<br>
<br><tt><font size=2>Contents of Mars2000_Merc_clon180.prj</font></tt>
<br><tt><font size=2>PROJCS["Mars2000_Merc_clon180",GEOGCS["GCS_Mars_2000_Sphere",DATUM["D_Mars_2000_Sphere",SPHEROID["Mars_2000_Sphere_IAU_IAG",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",180.0],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]</font></tt>
<br>
<br><font size=2 face="sans-serif">Thanks for any help or ideas.</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Trent</font>
<br>
<br>
<br>
<br>
<br><tt><font size=2>>gdalinfo ESP_011909_1320_RED.JP2</font></tt>
<br><tt><font size=2>Driver: JP2ECW/ERMapper JPEG2000</font></tt>
<br><tt><font size=2>Files: ESP_011909_1320_RED.JP2</font></tt>
<br><tt><font size=2> ESP_011909_1320_RED.J2w</font></tt>
<br><tt><font size=2> ESP_011909_1320_RED.JP2.aux.xml</font></tt>
<br><tt><font size=2>Size is 15167, 36366</font></tt>
<br><tt><font size=2>Coordinate System is:</font></tt>
<br><tt><font size=2>PROJCS["Equirectangular MARS",</font></tt>
<br><tt><font size=2> GEOGCS[,</font></tt>
<br><tt><font size=2> DATUM["unknown",</font></tt>
<br><tt><font size=2> SPHEROID["unnamed",3386150.7470034,0]],</font></tt>
<br><tt><font size=2> PRIMEM["Greenwich",0],</font></tt>
<br><tt><font size=2> UNIT["degree",0.0174532925199433]],</font></tt>
<br><tt><font size=2> PROJECTION["Equirectangular"],</font></tt>
<br><tt><font size=2> PARAMETER["latitude_of_origin",-45],</font></tt>
<br><tt><font size=2> PARAMETER["central_meridian",180],</font></tt>
<br><tt><font size=2> PARAMETER["standard_parallel_1",0],</font></tt>
<br><tt><font size=2> PARAMETER["false_easting",0],</font></tt>
<br><tt><font size=2> PARAMETER["false_northing",0],</font></tt>
<br><tt><font size=2> UNIT["metre",1,</font></tt>
<br><tt><font size=2> AUTHORITY["EPSG","9001"]]]</font></tt>
<br><tt><font size=2>Origin = (-6243330.250000000000000,-2815019.750000000000000)</font></tt>
<br><tt><font size=2>Pixel Size = (0.500000000000000,-0.500000000000000)</font></tt>
<br><tt><font size=2>Corner Coordinates:</font></tt>
<br><tt><font size=2>Upper Left (-6243330.250,-2815019.750) ( 74d21'32.27"E,
92d37'54.79"S)</font></tt>
<br><tt><font size=2>Lower Left (-6243330.250,-2833202.750) ( 74d21'32.27"E,
92d56'22.40"S)</font></tt>
<br><tt><font size=2>Upper Right (-6235746.750,-2815019.750) ( 74d29'14.21"E,
92d37'54.79"S)</font></tt>
<br><tt><font size=2>Lower Right (-6235746.750,-2833202.750) ( 74d29'14.21"E,
92d56'22.40"S)</font></tt>
<br><tt><font size=2>Center (-6239538.500,-2824111.250)
( 74d25'23.24"E, 92d47'8.60"S)</font></tt>
<br><tt><font size=2>Band 1 Block=15167x1 Type=UInt16, ColorInterp=Gray</font></tt>
<br><tt><font size=2> Min=0.000 Max=1023.000</font></tt>
<br><tt><font size=2> Minimum=0.000, Maximum=1023.000, Mean=196.147,
StdDev=178.217</font></tt>
<br><tt><font size=2> Overviews: arbitrary</font></tt>
<br><tt><font size=2> Metadata:</font></tt>
<br><tt><font size=2> STATISTICS_MINIMUM=0</font></tt>
<br><tt><font size=2> STATISTICS_MAXIMUM=1023</font></tt>
<br><tt><font size=2> STATISTICS_MEAN=196.1465382488</font></tt>
<br><tt><font size=2> STATISTICS_STDDEV=178.21701451188</font></tt>