Skip to main content

Hi,

I have extracted spatial features from a non Geospatial PDF as a vector file. I am now trying to georeference this in FME and cannot figure out how.

Does anyone know how I can georeference the PDF to begin with, in FME? So that I can extract the vector features thereafter...

I have tried this already...

1) Converted the PDF to a GEOTIFF format

2) Georeferenced in ArcGIS using the Georeferencing Toolbar

3) Converted back to a PDF

4) Tried to read the features in FME but it did not work. FME was unable to find the spatial features (such as lines, polygons etc.)

 

Any help would be much appreciated! Thanks.

The AffineWarper might help you. A possible procedure I can think of is:

  1. Display the vector features from the PDF on the View of FME Data Inspector, select four or more georeferencing control points (GCP) on the layer, and retrieve their local coordinates (x, y). Right-click on the View > Copy Ground Coordinates.
  2. Retrieve the geographic coordinates (longitude, latitude) corresponding to each GCP with a web map such as Google Map.
  3. Create a table (CSV or Excel), in which each record describes x, y, longitude, latitude of a GCP.
  4. In the workspace, read the table and use two VertexCreators to create control lines connecting from (x, y) to (longitude, latitude) for each GCP.
  5. Add an AffineWarper to the worksapce, send the control lines to the Control port, send the vector features read from the PDF to the Observed port.

hi @takashi,

I'm trying to follow your workflow. Where do i implement the control line in the PDF?

 

 


Reply