Skip to main content
Question

How to Convert CAD Markers to Points

  • December 13, 2018
  • 3 replies
  • 62 views

Forum|alt.badge.img+1

The issue I'm having is I have several CAD "Markers" in my dataset im converting to GIS. These markers are all different and include Sand Marker, Orchard Marker, Rice Paddy Marker, etc. I need to extract a point from the center of these markers/ somewhere near the center of these markers. Is there a transformer/ easy process that does this or will it need to be on a case by case bases. Some markers have touching lines, some do not, some are a bunch of circles. Below are some examples of what these look like.

 

Rice Paddy Marker

 

Field Marker

Sand Marker

 

Marsh Marker

 

 

For the first two I know I can extract the line with the longest length and place a center point. But for the others the "length" parameter wont work.

 

Also, there are no attributes that can be used for extraction of a point across all of the data sheets. Each sheet has different attributes for the lines I would like to use. So an attribute would work on a sheet level basis but that attribute changes as the sheet changes.

3 replies

jovitaatsafe
Safer
Forum|alt.badge.img+11

Hi @sjolster31,

I haven't personally worked with cad markers before, but I'd be curious to see if the CenterPointReplacer might do the job? The transformer replaces a feature's bounding box or center of mass with a point. Alternatively, it might benefit to use the BoundingBoxReplacer first and then the CenterPointReplacer for more consistent results. Hope that helps!


Forum|alt.badge.img+2
  • December 13, 2018

If you're referring to the markers described in this Autodesk Knowledge article then I think the text point should be the location of the marker. If your markers are blocks or inserts then you should uncheck the reader parameter Entity Options -> explode Blocks into Entities. This will return a single point for a block instead of all of the block entities. If you want both the block/insert entities and the insert point then you can use the format attributes autocad_block_insert_X/Y/Z as described in the AutoCAD format documentation on Inserts. The tutorial on working with AutoCAD DWG has a section on working with blocks/inserts


Forum|alt.badge.img+1
  • Author
  • January 18, 2019

So, after trying a couple of the above mentioned techniques, I found that the solutions is to make sure the reader format is "Autodesk AutoCAD Map 3D Object Data". That is all that was necessary. FME will automatically make these odd "symbols/markers" a point.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings