Welcome Guest, Not a member yet? Create Account  


Extracting Elevation Data from PDF files (Contours, Spot Levels etc...)

#5

(09-18-2018, 09:43 PM)AggieBQ86 Wrote:
(06-12-2017, 09:34 AM)Ted Woods Wrote:
(06-09-2017, 03:11 PM)Digger662 Wrote: It has been my understanding that vectors contain unique information that can tell the software which vector is next in line when importing. One of the problems I see is which way did the engineer draw the line or what type of line did they use can have a large impact on importing linework. I have seen Ghostscript, VectorDraw, and VeryPDF used too.

Hi Digger662 

Welcome to the forums and thanks for your input.  I have not heard of those three packages you mentioned apart from Ghostscript which is interesting as it is actually free to download and use I think.  I will download it and give it a go with some site plans to see how effective it is.  Currently I have been using Inkscape which is really hit and miss.  With complicated data it just does not export to a DXF at all.

However we would not be able to use directly in Kubla Cubed without paying because the license forbids commercial distribution I think.

I agree with you about the problems with the way the engineer has defined the lines.  Basically PDF files were never intended to be used this way so it is really difficult to have a consistent workflow to get the data in without a lot of technical understanding on the part of the user.

I bit later on I am going to try to publish a blog post about how to convert PDF to DXF and for some users with CAD expertise hopefully this will be helpful.

However we are going to be creating automatic line extraction tools in Kubla Cubed in the long term so hopefully all this complexity won't be necessary.

I think if the contour vectors can be selected from the PDF and imported with a zero value for elevation then allow the contours to be selected one by one and change the elevation would be a significant improvement to the current workflow of tracing contours. Maybe allow individual vectors to be deleted, broken or trimmed if they are imported improperly.

Hi AggieBQ86

Yes that is what we planned to do.  Effectively allow the user to pick vectors out of the site plan to use as a contour line and then enter the elevation.  It is quite tricky though in someways.  PDF files were never designed to store CAD data they are a print format so there are a number of complications.  

Have you tried the other techniques I mentioned above?  It would be worth experimenting with InkScape to see if you can convert the PDF into a CAD file (there are tutorials online).  Then scale it, delete all the data apart form Contour Lines and import into Kubla Cubed.

I have had limited success with this method.  The last version of InkScape I had seemed to load the PDF files OK but then crash when converting, they might have fixed things now though.  It is worth getting the latest version and giving it a go.  

Products like Back2CAD claim to be able to extract contour lines and even turn dashed lines into solid polylines.  It is not a free product but if you do a lot of take-off it might be worth a look.  I have had one report of this working for a user, but of course there were no elevation details so you would have to add that in manually in either CAD or Kubla Cubed.

Let us know how you get on.
Reply


Messages In This Thread



Users browsing this thread:
2 Guest(s)