The easiest way is to use GDAL (there are two commands gdalinfo
and ogrinfo
)
gdalinfo path/filename.pdf
ogrinfo path/filename.pdf
Here's an Example of a chart that has georeferencing (is a geopdf)
Size is 7200, 3300
Coordinate System is:
PROJCS["ENAME_Europe_Lambert_Conformal_Conic",
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_84",6378137.0,298.257223563],
TOWGS84[0,0,0,0,0,0,0]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Lambert_Conformal_Conic_2SP"],
PARAMETER["False_Easting",0.0],
PARAMETER["False_Northing",0.0],
PARAMETER["Central_Meridian",10.0],
PARAMETER["Standard_Parallel_1",37.0],
PARAMETER["Standard_Parallel_2",65.0],
PARAMETER["Latitude_Of_Origin",30.0],
UNIT["Meter",1.0]]
GeoTransform =
-2290774.617733517, 367.9797690590805, -20.45383090960829
944360.3944596278, -20.45218180782604, -367.9868546948833
Metadata:
CREATION_DATE=D:20170111153819Z
CREATOR=Esri ArcMap 10.4.1.5686
NEATLINE=POLYGON ((-1966833.55537656 -320017.407274298,-1966833.22174104 832225.819387465,243220.452069618 832225.032985783,243220.750871432 -320017.043365373,-1966833.55537656 -320017.407274298))
Corner Coordinates:
Upper Left (-2290774.618, 944360.394) ( 15d18' 3.65"W, 34d47'40.13"N)
Lower Left (-2358272.260, -269996.226) ( 12d 4'46.55"W, 24d35'56.71"N)
Upper Right ( 358679.719, 797104.685) ( 14d 1'49.93"E, 36d59' 2.72"N)
Lower Right ( 291182.077, -417251.935) ( 12d45'27.09"E, 26d21'11.63"N)
Center ( -999796.270, 263554.230) ( 0d19'19.27"W, 31d41'16.73"N)
Band 1 Block=7200x1 Type=Byte, ColorInterp=Red
Band 2 Block=7200x1 Type=Byte, ColorInterp=Green
Band 3 Block=7200x1 Type=Byte, ColorInterp=Blue
Here's an example of a standard pdf
Driver: PDF/Geospatial PDF
Files: M:\1702\CUTOFF_EFFECTIVE_02FEB17\CHARTS\Enroute Charts\Conventional\CSA\CSA L-9 5 JAN 2017.pdf
Size is 7200, 3300
Coordinate System is `'
Metadata:
CREATION_DATE=D:20161217112206Z
CREATOR=Esri ArcMap 10.4.1.5686
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0, 3300.0)
Upper Right ( 7200.0, 0.0)
Lower Right ( 7200.0, 3300.0)
Center ( 3600.0, 1650.0)
Band 1 Block=7200x1 Type=Byte, ColorInterp=Red
Band 2 Block=7200x1 Type=Byte, ColorInterp=Green
Band 3 Block=7200x1 Type=Byte, ColorInterp=Blue