Ticket T1285275
Visible to All Users

Georeferencing data from PDF

created 5 days ago

I use the PDFDocumentProcessor in my projects. Is it possible to extract the embedded Georeferencing data from PDFs that contain it using the devex library?

I have attached an example of such a file - if you use acrobat reader and measure you will see you get real world mesaurements. This is because it is georeferenced. I would like to extract the georeference data.

There are several different geospatial implementations for PDF, but the most important to me is the adobe version.

Adobe Info about this
https://helpx.adobe.com/au/acrobat/using/geospatial-pdfs.html
Discussion around doing this in JS libs
https://stackoverflow.com/questions/72274801/how-can-i-obtain-the-coordinates-extent-from-a-geospatial-pdf

Answers approved by DevExpress Support

created 4 days ago (modified 4 days ago)

Hello Dennis,

Thank you for your interest. Our PdfDocumentProcessor supports the features described in the following help topics:

At present, PDF Document API doesn't support the capability to load and extract the georeferenced location data. While we don't have immediate plans to support this functionality, I forwarded your request to our R&D team.

In the meantime, please clarify the following:

  • What kind of application are you developing?
  • Why is it necessary to extract the georeferenced location data and how are you going to use this data in your usage scenario?
  • Do you need a similar feature in the visual PDF Viewer control?

I'll be happy to share this information with the team as well.

    Comments (2)
    DG DG
    Dennis Gascoigne 4 days ago
      • What kind of application are you developing?

      This is our mature (15 years) main SAAS application with UI in desktop and web. We use devextreme and winforms controls in those, and the pdfDocumentProcessor. www.civilpro.com. We service the engineering QA sector in the construction industry.

      • Why is it necessary to extract the georeferenced location data and how are you going to use this data in your usage scenario?

      We are extending our application to incorporate geospatial functions that provide annotations of work locations (points, linestrings and polygons). We have developed a system around the PDFViewer and PDFDocumentProcessor where our users manually mark registration points on a PDF and add geospatial references - we then scale the coordinates off features so we can get the coordinates of any PDF location in the provided reference system. The shapes are store in a spatial schema in an MS database and are replotted on PDFs etc. Much of our source information (the engineering PDF documentation) comes with georeferencing embedded in the PDF (or can do if required). If we can read this we can reduce the administrative task of providing registration on the drawings - which is currently a manual process of clicking in 3 locations

      • Do you need a similar feature in the visual PDF Viewer control?

      It would be useful, but given the extent of the work we have already done, we have a mechanism already for determining the position on the drawing.

      • In a nutshell, we are trying to provide our users an alternative to manually setting the Georeferencing system in our application where that data already exists in the PDF they are using.
      Sasha (DevExpress Support) 3 days ago

        Hello Dennis,

        Thank you for sharing the detailed feedback, we appreciate it. I forwarded it to the team.

        Please let me know if I can be of more help.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.