Skip to main content
Question

Maintaining attribution when transforming GIS to CAD


gmatt

What is the best way to maintain attribution in the output DWG file when transforming GIS to CAD?

13 replies

itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • September 16, 2016

Using the Autodesk AutoCAD Map 3D Object Data writer and not the Autodesk AutoCAD DWG/DXF writer


gmatt
  • Author
  • September 16, 2016
itay wrote:

Using the Autodesk AutoCAD Map 3D Object Data writer and not the Autodesk AutoCAD DWG/DXF writer

Unfortunately I don't have that option.

 

 


itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • September 16, 2016
itay wrote:

Using the Autodesk AutoCAD Map 3D Object Data writer and not the Autodesk AutoCAD DWG/DXF writer

Then I guess the only option is to set the writer to create extended data from the attributes supplied to it

 

 


gmatt
  • Author
  • September 16, 2016

I selected Attribute Output: Extended Entity Data, but it doesn't seem to work. When opening the DWG and selecting an object, no extended data is available.


itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • September 16, 2016
gmatt wrote:

I selected Attribute Output: Extended Entity Data, but it doesn't seem to work. When opening the DWG and selecting an object, no extended data is available.

 

Are there any attributes on the writer feature type?

gmatt
  • Author
  • September 16, 2016
itay wrote:

 

Are there any attributes on the writer feature type?
Nothing is showing.

 

 

 


itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • September 16, 2016
gmatt wrote:
Nothing is showing.

 

 

 

I mean in your workspace...

 

 


gmatt
  • Author
  • September 16, 2016
itay wrote:
I mean in your workspace...

 

 

No. When I expand Feature Types for the Writer under the Navigator, it's showing Dynamic, Parameters with Default Layer Color:10 and Default Layer Linetype: CONTINUOUS, followed by Attributes. Nothing is listed.

 

 


gmatt
  • Author
  • September 16, 2016

No. When I view the Writer under the Navigator, Feature Type>DYNAMIC>Attributes and nothing else. Under Parameters>Advanced>Attribute Output: Extended Entity Data and Output Defined Attributes Only:No


itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • September 16, 2016

When using the dynamic mode the features defining the output schema are visible in the writer feature type (in the canvas itself and not via the navigator)

Some more information on dynamic translation can be found here: https://s3.amazonaws.com/gitbook/Desktop-Advanced-2016/DesktopAdvanced4AdvancedRW/4.08.DynamicTranslations.html

What happens if you start with a new workspace by generating a workspace (cntrl+g) ? Do you actually need to create a dynamic translation?


itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • September 17, 2016
gmatt wrote:
Unfortunately I don't have that option.

 

 

All FME editions can make use of the AutoCAD Map writer...

 

https://www.safe.com/fme/format-search/#search=dwg

 

which edition are you using?

 

 


mark2atsafe
Safer
Forum|alt.badge.img+43
  • Safer
  • September 19, 2016

A few thoughts that may help

1) As Itay says, if you don't need a dynamic translation, go with static. Dynamic should work but adds an extra layer of complication when we're trying to figure out a problem.

2) Definitely go with "Output Defined Attributes Only" = No.

3) Do you have a template file set? If so it might be overriding the layers in the source and so causing attributes to not be written.

4) How are you reading the data back to make sure it is correct? If I write some EED this way and read it back in the FME Data Inspector, I can see the attributes. Make sure you have the "Read Extended Entity Data" parameters turned on when you read it back.

5) Failing that, please send your workspace and dataset to safe.com/support - and they will be able to figure out what is happening and why.

Regards

Mark


gmatt
  • Author
  • September 20, 2016
mark2atsafe wrote:

A few thoughts that may help

1) As Itay says, if you don't need a dynamic translation, go with static. Dynamic should work but adds an extra layer of complication when we're trying to figure out a problem.

2) Definitely go with "Output Defined Attributes Only" = No.

3) Do you have a template file set? If so it might be overriding the layers in the source and so causing attributes to not be written.

4) How are you reading the data back to make sure it is correct? If I write some EED this way and read it back in the FME Data Inspector, I can see the attributes. Make sure you have the "Read Extended Entity Data" parameters turned on when you read it back.

5) Failing that, please send your workspace and dataset to safe.com/support - and they will be able to figure out what is happening and why.

Regards

Mark

The dynamic method seems to be the best way for me to handle multiple feature classes transforming into a single DWG. I'm very close, but this attribution issue is a real challenge. It appears to me that there might be a limitation here. I know DWG doesn't handle attribution well, so maybe that is part of it. I'm a complete novice at this so thanks for everyone's help.

 

 


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