{"id":10,"date":"2011-12-16T20:40:00","date_gmt":"2011-12-17T01:40:00","guid":{"rendered":"http:\/\/brian.digitalmaddox.com\/blog\/?p=10"},"modified":"2014-07-08T16:45:48","modified_gmt":"2014-07-08T20:45:48","slug":"my-latest-odd-project","status":"publish","type":"post","link":"https:\/\/brian.digitalmaddox.com\/blog\/?p=10","title":{"rendered":"My Latest Odd Project"},"content":{"rendered":"<p>So since the USGS is releasing a bunch of their old scanned paper maps at their <a href=\"http:\/\/cida.usgs.gov\/hqsp\/apex\/f?p=262:1:1217193408163434\" target=\"_blank\">Historical Topographic Map Collection<\/a>, I thought it would be interesting to take the <a href=\"http:\/\/en.wikipedia.org\/wiki\/GeoPDF\" target=\"_blank\">GeoPDF<\/a>&#8216;s there and <a href=\"http:\/\/en.wikipedia.org\/wiki\/Georeference\" target=\"_blank\">georeference<\/a> them to <a href=\"http:\/\/en.wikipedia.org\/wiki\/Geotiff\" target=\"_blank\">GeoTIFF<\/a>&#8216;s to compare to modern maps.\u00a0 I&#8217;ve always had a thing about history, so thought this would be a fun side project to get my cartography back on.<\/p>\n<p>Since <a href=\"http:\/\/qgis.org\/\" target=\"_blank\">QGIS<\/a> doesn&#8217;t yet import GeoPDF&#8217;s, I&#8217;m first loading them into the <a href=\"http:\/\/www.gimp.org\/\" target=\"_blank\">GIMP<\/a> (at around 300 dpi from the PDF), clipping the collar out, and saving them to a LZW-compressed TIFF.\u00a0 Then I&#8217;m importing the TIFFs into QGIS and using the <a href=\"http:\/\/glaikit.org\/2011\/03\/27\/image-georeferencing-with-qgis\/\" target=\"_blank\">Georeferencing plugin<\/a> to mark the grid points on the map.\u00a0 I&#8217;ve read that the old maps were based on the Clarke 1866 ellipsoid, so in QGIS I&#8217;m setting the source projection to NAD27, which is based on Clarke 1866.\u00a0 Yes, I know that technically this isn&#8217;t fully correct in the cartographic sense, but then again georeferencing old paper maps like this also won&#8217;t exactly put out a highly accurate GIS product either \ud83d\ude1b\u00a0 I&#8217;m outputting them to <a href=\"http:\/\/en.wikipedia.org\/wiki\/World_Geodetic_System\" target=\"_blank\">WGS84<\/a> from the georeferencing plugin.\u00a0 Times on my older Dell E1705 are around 5 minutes doing a polynomial interpolation with <a href=\"http:\/\/en.wikipedia.org\/wiki\/Lanczos_resampling\" target=\"_blank\">Lanczos<\/a> interpolation.\u00a0 Then again, I remember back in the mid to late 1990&#8217;s when <a href=\"http:\/\/en.wikipedia.org\/wiki\/Digital_raster_graphic\" target=\"_blank\">DRG<\/a> production at the USGS on the old <a href=\"http:\/\/en.wikipedia.org\/wiki\/Data_General\" target=\"_blank\">Data Generals<\/a> would take a whole lot longer, so I wasn&#8217;t going to complain \ud83d\ude42<\/p>\n<p>The output isn&#8217;t so bad really.\u00a0 Here&#8217;s a sample of the output draped on top of Yahoo Street Maps (Google Maps and reprojection on the fly doesn&#8217;t seem to work so well in QGIS right now).<\/p>\n<p><\/p>\n<div><a href=\"http:\/\/2.bp.blogspot.com\/-lC8tw6qdxMc\/TuvkXhfuiPI\/AAAAAAAAAn0\/SRN9ZPfyuTc\/s1600\/yahoo-qgis1.jpg\" imageanchor=\"1\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"200\" src=\"http:\/\/2.bp.blogspot.com\/-lC8tw6qdxMc\/TuvkXhfuiPI\/AAAAAAAAAn0\/SRN9ZPfyuTc\/s320\/yahoo-qgis1.jpg\" width=\"320\"><\/a><\/div>\n<p>Setting the Fredericksburg 1889 map to 50 percent transparency in QGIS and zooming in to old town, you can see that the map fits to a modern map surprisingly well.<\/p>\n<div><a href=\"http:\/\/4.bp.blogspot.com\/-z-udz--IQ3I\/Tuvkngk25DI\/AAAAAAAAAn8\/oT_3_Blrh2Q\/s1600\/yahoo-qgis2.jpeg\" imageanchor=\"1\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"200\" src=\"http:\/\/4.bp.blogspot.com\/-z-udz--IQ3I\/Tuvkngk25DI\/AAAAAAAAAn8\/oT_3_Blrh2Q\/s320\/yahoo-qgis2.jpeg\" width=\"320\"><\/a><\/div>\n<p>I&#8217;ll probably play around with this some more and maybe upload the georeferenced maps to archive.org or something along those lines.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So since the USGS is releasing a bunch of their old scanned paper maps at their Historical Topographic Map Collection, I thought it would be interesting to take the GeoPDF&#8216;s there and georeference them to GeoTIFF&#8216;s to compare to modern &hellip; <a href=\"https:\/\/brian.digitalmaddox.com\/blog\/?p=10\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":0,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}