Jump to content

Recommended Posts

Posted

RPL coordinates.txtRPL.dxf

 

Hello,  I have the attached dxf , which represents a route, i have its  XY coordinates in txt. 

Is there a way to reduce the density and give only a few points, for example where major alter points occour?  for example,   a point every 5 m in the steep curves 

and a point every 100m in the straight  parts? 

image.thumb.png.6a5e4d893cfbe013a2fb8a6643b87072.png

Posted

As a matter of interest to judge the scale of the problem, what units are you using?

Posted (edited)

Been asked many times, there are some dirty solutions like skip every second point. To skip a point as its on same line BRG is more difficult but I think is out there, maybe at forums/autodesk, did you Google.

 

Never used it weed.lsp is out there.

Edited by BIGAL
Posted

There is a considerable difference in the amount of data in two files you posted.

 

The coordinate file has coordinates at one metre spacing, but the DXF file has lines which are about 30 metres in the curved sections and the straight section lengths vary between 200 to 11000 metres long.

 

So if you want 5m spacing in the steep curves and 100m spacing on the straights, then the amount of data will increase in the DXF file.

 

Any 'weeding out' of points will degrade the accuracy of the original data. What is the drawing to be used for? The amount of data loss depends on the acceptable degradation for usage afterwards.

 

The line is drawn as a 3D polyline, but all at the same elevation. It is 620 km long which means about 620000 coordinate points.

 

I would personally try a spread sheet to filter out excessive data.

Posted

Autodesk's Civil 3D has a weeding feature.  Here's an explanation of how it works.  It considers the distance between vertices and the change in angle.

Posted

AutoCAD Map3D toolset has the drawing clean-up tool as well. Not sure if it will do as well as the Civil3D tool.

 

If the OP has AutoCAD 2011 as indicated, eldon's method might be best.

6 hours ago, eldon said:

I would personally try a spread sheet to filter out excessive data.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...