<div dir="ltr">Ah, leaving the -s_srs off does indeed work too; so much for following examples! :)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 9:34 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le mercredi 14 août 2013 14:24:56, Reaves, Timothy a écrit :<br>
<div class="im">> I'm using GDAL 1.10.0, released 2013/04/24 .  I am playing with TileMill,<br>
> and want to add USGS topo maps. These topo maps are geo PDF.  I'm following<br>
> along one of their documents, and the first thing I do is convert the PDF<br>
> to TIFF.<br>
><br>
> gdal_translate -of GTiff -co "TILED=YES" -co "TFW=YES"<br>
> PA_Tionesta_20130621_TM_geo.pdf PA_Tionesta_20130621_TM_geo.tiff<br>
> ERROR 1: Couldn't find group for reference to set OFF<br>
> Input file size is 13652, 17403<br>
> 0...10...20...30...40...50...60...70...80...90...100 - done.<br>
><br>
> I do not like the ERROR; that should mean that the conversion failed;<br>
> however, and output TIFF is generated.  So I use it.<br>
<br>
</div>You can probably ignore it, but I'm not 100% sure without investigation. This<br>
error seems to come from Poppler. Might be linked to code turning layers on.<br>
If this error has consequences, they will be layers not displayed in the PDF.<br>
<div class="im"><br>
><br>
> The next step is the re-translation:<br>
><br>
> gdalwarp -s_srs EPSG:4269 -t_srs EPSG:3785 -r bilinear<br>
> PA_Tionesta_20130621_TM_geo.tiff PA_Tionesta_20130621_TM_geo_3785.tiff<br>
> ERROR 1: Too many points (10201 out of 10201) failed to transform,<br>
> unable to compute output bounds.<br>
><br>
> This ERROR does not create output.<br>
<br>
</div>Just drop the "-s_srs EPSG:4269". As the GeoPDF driver recognizes the input<br>
projection, it is completely useless to specify it. The error here is that the<br>
source data is in EPSG:26717 (UTM 17 / NAD 83), not EPSG:4269 (geodetic NAD<br>
83).<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Geospatial professional services<br>
<a href="http://even.rouault.free.fr/services.html" target="_blank">http://even.rouault.free.fr/services.html</a><br>
</font></span></blockquote></div><br></div>