Skip to main content
Solved

Use pdf.aux.xml to attached correct co-ordinates to pdf


a.bradley
Contributor
Forum|alt.badge.img+12

I have a series of pdf’s that have been georeferenced in ArcGIS Pro, and as a result they have an associated .aux.xml file with them. If I bring that pdf into ArcGIS Pro, it is accurately depicted on the map in the correct location.  However, in FME when I read in the pdf, it shows me all of the vector features in the pdf, but the pdf features themselves are located around the co-ordinate 0,0 and not in the georeferenced location. I understand this is because the .aux.xml isn’t being read by FME. In FME, how can I create a workflow that will accurately read in both the .pdf and its corresponding .aux.xml so that the vector features are visible in the graphics window and to export to a file geodatabase feature class? I don’t want to convert the pdf to raster/tiff because then I will lose the vector features.

Best answer by kailinatsafe

Hello ​@a.bradley, thank you for reaching out! I wanted to share a few thoughts on this use case. Typically, aux.xml files are associated with raster formats, so it's a bit unusual to see one referenced in the context of a non-raster (vector) workflow. When creating PDFs from ArcGIS, geographic information can often be embedded directly on the vector features themselves I think? It may be worth confirming whether that's already the case here, as it could simplify things considerably.

If this is not possible however, in FME, a simple Reprojector transformation likely won't resolve the issue. Depending on what the aux.xml file contains, the correct approach may involve one or a combination of the following transformers: Offsetter, Affiner, Rotator, or Scaler, to manually apply the necessary transformation. Hope this helps, Kailin

View original
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

kailinatsafe
Safer
Forum|alt.badge.img+24

Hello ​@a.bradley, thank you for reaching out! I wanted to share a few thoughts on this use case. Typically, aux.xml files are associated with raster formats, so it's a bit unusual to see one referenced in the context of a non-raster (vector) workflow. When creating PDFs from ArcGIS, geographic information can often be embedded directly on the vector features themselves I think? It may be worth confirming whether that's already the case here, as it could simplify things considerably.

If this is not possible however, in FME, a simple Reprojector transformation likely won't resolve the issue. Depending on what the aux.xml file contains, the correct approach may involve one or a combination of the following transformers: Offsetter, Affiner, Rotator, or Scaler, to manually apply the necessary transformation. Hope this helps, Kailin


a.bradley
Contributor
Forum|alt.badge.img+12

Hello ​@a.bradley, thank you for reaching out! I wanted to share a few thoughts on this use case. Typically, aux.xml files are associated with raster formats, so it's a bit unusual to see one referenced in the context of a non-raster (vector) workflow. When creating PDFs from ArcGIS, geographic information can often be embedded directly on the vector features themselves I think? It may be worth confirming whether that's already the case here, as it could simplify things considerably.

If this is not possible however, in FME, a simple Reprojector transformation likely won't resolve the issue. Depending on what the aux.xml file contains, the correct approach may involve one or a combination of the following transformers: Offsetter, Affiner, Rotator, or Scaler, to manually apply the necessary transformation. Hope this helps, Kailin

Thanks ​@kailinatsafe , I did manage to solve my problem in the end using the Affiner transformer to reposition the pdf and then the AffineWarper with the xml control points.