A Trio of Misbehaving GeoPDFs

Put your support requests here
Post Reply
Message
Author
SharkNose
Posts: 65
Joined: 20 Nov 2012 01:41

A Trio of Misbehaving GeoPDFs

#1 Post by SharkNose »

Roland (or anybody who would like to),

Could you please check these historical topo maps in TransDEM 2.4?

Here are 3 geoPDFs of a topo called "Harrisburg West" from central Pennsylvania. They are historical topos from 1947.

http://ims.er.usgs.gov/gda_services/dow ... id=5931237
http://ims.er.usgs.gov/gda_services/dow ... id=5953037
http://ims.er.usgs.gov/gda_services/dow ... id=5324410

They seem to load OK in TransDEM 2.4 and I can get the Transparent Margins highlighted OK:

Image

But when I go to Convert to UTM, the results aren't as expected:

Image

Either I'm doing something wrong, or these topo maps are defective. The 1943 "New Cumberland" topo map just south of this one loads and converts just fine. I thought maybe it was right on the edge of the UTM zone, but it is still a map or two to the west.

Thanks for your assistance.

Andrew
Jerker
Posts: 170
Joined: 30 Jan 2011 13:03

Re: A Trio of Misbehaving GeoPDFs

#2 Post by Jerker »

G'day Sharknose,

Andrew, I believe there may be a problem with the files. Following the instructions, I obtained the identical results to you. However, after a applying a little "thinking outside the box", I was able to obtain the following result, by manually cropping the image (using the Transparent Margin as a guide)...


Image

...but if you look carefully, you will see that TransDEM has 'automatically' geo-referenced the file with the Equator (0°N, right at the very bottom of the map) somewhere around the middle (or southern outskirts) of Harrisburg, which is not how I remember it being the "last time I was there"...

Jerker {:)}
SharkNose
Posts: 65
Joined: 20 Nov 2012 01:41

Re: A Trio of Misbehaving GeoPDFs

#3 Post by SharkNose »

Thanks for the confirmation, Jerker! I kind of figured that the 3 files were goofy in some way. When I am ready to use these, I guess I'll have to do a manual georeferencing on them.
geophil
Posts: 1516
Joined: 05 Jan 2011 16:45
Contact:

Re: A Trio of Misbehaving GeoPDFs

#4 Post by geophil »

Yes, there is an error in the map meta data. You can correct it yourself.

Proceed to the step where TransDEM displays the map, but do not convert to UTM.

Now go to the TransDEM temp folder which is usually located at C:\Users\<your user name>\AppData\Local\TransDEM\temp
(You may need to activate the "Show hidden files an folders" option in Windows Explorer.)

Use a text editor to open and edit PA_Harrisburg West_461755_1947_24000_geo.png.aux.xml (for the first file in the series).
Find

Code: Select all

PROJECTION["Transverse_Mercator"]
and replace with

Code: Select all

PROJECTION["Polyconic"]
Save.

In TransDEM, open C:\Users\<your user name>\AppData\Local\TransDEM\temp\PA_Harrisburg West_461755_1947_24000_geo.png and proceed normally including conversion to UTM.
SharkNose
Posts: 65
Joined: 20 Nov 2012 01:41

Re: A Trio of Misbehaving GeoPDFs

#5 Post by SharkNose »

That's got it! :lol: Thanks, geophil! I'll print this set of instructions out...
SharkNose
Posts: 65
Joined: 20 Nov 2012 01:41

Re: A Trio of Misbehaving GeoPDFs

#6 Post by SharkNose »

Just an FYI:

Nine of the 1947 Historical PDFs in and around Patchogue, Long Island, New York also have the above problem. They can also be fixed using the above method.

Edit: Must be a 1947 thing...

Andrew
Post Reply