[gdal-dev] Convert GeoPDF with gdal_translate

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Tue Jan 7 13:11:56 PST 2014


Ari Jolma <ari.jolma <at> gmail.com> writes:


>     Pekka,
>     Are you sure that those are GeoPDF's? I didn't succeed either. In
>     addition both links to GeoPDF examples on
pagehttp://www.gdal.org/frmt_pdf.html
>     fail.


Hi,

No trouble at all for me with Windows and GDAL-dev from gisinternals. And if
you play with GeoPDF it is good to have GeoPDF toolbar add-on from TerraGo
installed on your Adobe Reader as a reference software ;)

Well, I know that you guys don't have Windows computers but you can always
visit me and I will show you one.

C:\Temp>gdalinfo cerro_la_sirena-nicaragua-50k-3255iii
-1966.pdf
Driver: PDF/Geospatial PDF
Files: cerro_la_sirena-nicaragua-50k-3255iii-1966.pdf
Size is 4485, 3390
Coordinate System is:
PROJCS["UTM Zone 16, Northern Hemisphere",
    GEOGCS["NAD27",
        DATUM["North_American_Datum_1927",
            SPHEROID["Clarke 1866",6378206.4,294.978698213898,
                AUTHORITY["EPSG","7008"]],
            AUTHORITY["EPSG","6267"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9108"]],
        AUTHORITY["EPSG","4267"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-87],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["Meter",1]]
GeoTransform =
  714818.8797330001, 8.476243200000001, 0.14496576
  1458508.5010452, 0.1394904, -8.463528479999999
GCP Projection =
PROJCS["UTM Zone 16, Northern Hemisphere",
    GEOGCS["NAD27",
        DATUM["North_American_Datum_1927",
            SPHEROID["Clarke 1866",6378206.4,294.978698213898,
                AUTHORITY["EPSG","7008"]],
            AUTHORITY["EPSG","6267"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9108"]],
        AUTHORITY["EPSG","4267"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-87],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["Meter",1]]
GCP[  0]: Id=1, Info=
          (208.59375,2438.54176875) -> (716925.359302,1437898.544765,0)
GCP[  1]: Id=2, Info=
          (227.083333333333,259.895935416666) -> (716779.589226,1456338.780394,0
)
GCP[  2]: Id=3, Info=
          (3425,287.76051875) -> (743888.913193,1456567.911059,0)
GCP[  3]: Id=4, Info=
          (3408.33333333333,2466.40635208333) -> (744052.946554,1438124.977761,0
)
GCP[  4]: Id=5, Info=
          (1283.59375,1359.63551875) -> (725891.75939,1447191.579869,0)
GCP[  5]: Id=6, Info=
          (2350.26041666667,1369.01051875) -> (734931.248351,1447267.507212,0)
Metadata:
  AUTHOR=NGA
  CREATION_DATE=D:20070912082552-04'00'
  KEYWORDS=001
  NEATLINE=POLYGON ((716938.34429679858 1437894.4857479648,716928.5044922987 143
9113.5036389648,716776.80358879862 1456349.2838632148,718896.24190379865 1456362
.1160244648,743896.06732229865 1456555.2670583399,743906.63774229866 1455938.134
7733398,744068.56930229871 1438105.0586589649,716938.34429679858 1437894.4857479
648))
  TITLE=Map Edition
Corner Coordinates:
Upper Left  (  714818.880, 1458508.501) ( 85d 1' 4.53"W, 13d11'11.10"N)
Lower Left  (  715310.314, 1429817.139) ( 85d 0'55.67"W, 12d55'37.47"N)
Upper Right (  752834.830, 1459134.115) ( 84d40' 2.27"W, 13d11'20.82"N)
Lower Right (  753326.264, 1430442.754) ( 84d39'54.73"W, 12d55'47.39"N)
Center      (  734072.572, 1444475.627) ( 84d50'29.28"W, 13d 3'29.41"N)
Band 1 Block=4485x1 Type=Byte, ColorInterp=Red
Band 2 Block=4485x1 Type=Byte, ColorInterp=Green
Band 3 Block=4485x1 Type=Byte, ColorInterp=Blue

-Jukka Rahkonen-






More information about the gdal-dev mailing list