How to extract points from a geo-tagged (geo referenced) PDF with c#

Phunction 206 Reputation points
2020-12-23T17:59:36.483+00:00

0

I am trying to extract the point data from a geo referenced PDF in C#. Would something like PDFSharp work? For example a PDF map exported for ESRI ArcMap. I can see some information in the PDF like this:

<</Type/PROJCS/WKT(PROJCS["NAD_1983_BC_Environment_Albers",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",1000000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-126.0],PARAMETER["Standard_Parallel_1",50.0],PARAMETER["Standard_Parallel_2",58.5],PARAMETER["Latitude_Of_Origin",45.0],UNIT["Meter",1.0]])>>endobj 56 0 obj <</Type/Measure/Subtype/GEO/Bounds[0 1 0 0 1 0 1 1 ]/GPTS[50.63467 -120.10634 50.63738 -120.10599 50.63716 -120.10192 50.63446 -120.10227 ]/LPTS[0 1 0 0 1 0 1 1 ]/GCS 55 0 R>> endobj

While I could probably get the above info parsing it myself, but I don't see any Point information for the Easting/Northing(long/lat) of the points. Any pointers would be appreciated. If PDFSharp will supply the info I need, that would be great, but I am not really sure how a PDF is geotagged.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,358 questions
{count} votes