Skip to main content
Question

DWG to PostGIS

  • May 16, 2019
  • 3 replies
  • 112 views

deanhowell
Influencer
Forum|alt.badge.img+24

Hello all,

I am struggling to get the CAD layer attributes that are associated with my DWG drawing to come into PostGIS.

Initially all I want to do is get the DWG into PostGIS with all the associated CAD attributes, from there I will then use it to do more validation but I am stuck just getting the first part to work.

I have a DWG reader that writes each layer to the same layer name in PostGIS but not sure if I am missing something either in FME or in the set-up in PostGIS. Currently all I get is the lines or points but all the attributes are empty.

Any assistance would be very much appreciated.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • May 16, 2019

Hello @deanhowell2009

What is the attributes in the PostGIS? Did you mapped on the Writer, like this:

If is possible, share us the Log file too.

 

Thanks,

Danilo

 

 


deanhowell
Influencer
Forum|alt.badge.img+24
  • Author
  • Influencer
  • May 17, 2019

Hello @deanhowell2009

What is the attributes in the PostGIS? Did you mapped on the Writer, like this:

If is possible, share us the Log file too.

 

Thanks,

Danilo

 

 

Thanks Danilo, I failed to the attributed matched correctly as I was assuming that the attributes from the reader would just flow automatically through to the writer but you need to go that extra step to set the value of the attribute. I am off and running now thank you, although I do suspect that there might be a more streamlined way of doing it.


danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • May 17, 2019

Thanks Danilo, I failed to the attributed matched correctly as I was assuming that the attributes from the reader would just flow automatically through to the writer but you need to go that extra step to set the value of the attribute. I am off and running now thank you, although I do suspect that there might be a more streamlined way of doing it.

Hi @deanhowell2009

Excellent.

 

Thanks,