Page 1 of 1

Bad GeoPDF Offset

Posted: 23 May 2015 12:34
by SharkNose
I guess it's inevitable that a bad GeoPDF might be encountered from time to time and that's what I've got here. Two of them, actually. From the USGS:

1995 Trenton West, NJ
1995 Trenton East, NJ

And a 1/9 DEM of the area: Fairless_t.zip (~40MB)

Summary:

The 2 PDFs seem to load into TransDEM OK, but the transparent margins do not line up at all. I thought this might be due to the 1947 historical PDF problem some of us have encountered, so I edited the XML file in the TransDEM temp folder and manually changed the projection from "Transverse Mercator" to "Polyconic". Unlike the 1947 PDFs, which continue to georeference correctly and automatically at this point, these 2 1995 PDFs bring up a dialog in TransDEM that asks me for the Coordinate System. Well, I chose "Polyconic / NAD27" and continued. This seemed to work as the transparent margins lined up well and the raster maps were placed over my DEM properly. Almost. Upon closer inspection, I noticed there is approximately a 215 meter offset between the raster map and the DEM. I created a tiny route from a Google Earth kmz file as a sanity check and that lines up with the DEM, so I know the DEM is correct:

Image

The only thing I can think to do at this point is to manually georeference the raster map. I don't have much experience doing this, so I've been procrastinating. I thought I'd post here to see if anyone else has a suggestion.

Oh, I did try a few of the other Coordinate Systems in the dialog that came up, but they badly rotated the raster maps and placed both in the same place.

May I offer a feature that might be nice for a future enhancement to TransDEM? Once I've reached the point in the above screenshot, the ability to drag (and finely rotate, if necessary) the raster map in TransDEM, would be another very easy (possibly lazy) way to manually line up the raster map to the DEM.

Thanks for your assistance. :)

Andrew

Re: Bad GeoPDF Offset

Posted: 23 May 2015 13:19
by geophil
This appears to be the same problem we encountered two years ago:
http://forum.transdem.de/viewtopic.php?p=1429#p1429

Edit the xml file and change the projection to to Polyconic. I just did that with the first map. It worked and the neatline now also matches.

Bug report to USGS?

Re: Bad GeoPDF Offset

Posted: 23 May 2015 14:17
by SharkNose
If the "neatline" means the inner borders of the transparent margins, that's about all that works. As I mentioned in my original post above, I did change the project to "polyconic", but the raster map is still 215 meters offset from the DEM.

How can I correct it so it is, as they say, "spot on"?

Re: Bad GeoPDF Offset

Posted: 23 May 2015 15:34
by geophil
You are right, it's off. What I think what happened here is: The projection is indeed Polyconic, not Transverse Mercator but the geodetic datum is NAD83, not NAD27 as expected by TransDEM. That would explain the offset.

A possible solution in this case is to use the ArcGIS map tile service. Their map edition appears to be the same one as yours and their georeferencing is spot on.

Re: Bad GeoPDF Offset

Posted: 23 May 2015 22:56
by SharkNose
geophil wrote:A possible solution in this case is to use the ArcGIS map tile service. Their map edition appears to be the same one as yours and their georeferencing is spot on.
I just did so, geophil, and you are right! It does seem to be the same topo series as I was trying to use! I'd forgotten about that map tile service. I did have it in my TransDEM system.

Excellent!

Thanks! :D