Question

Merge DWG then convert to SHP

  • 11 September 2017
  • 2 replies
  • 17 views

Badge

I have approx 40 DWG files, each file contains a number of separate features - see below

I merged all 40 into a single DWG file - see below

The merged DWG file does not contain/display the individual features (G902APEX, G902BUILDING_EVES, etc)

The aim is to:

Merge all 40 DWG files into a single DWG, then write each feature (G902APEX) to a Shapefile with the associated tabular data.

Any assistance would be appreciated.

 

Thanks,

Clive


2 replies

Badge

Make sure the format attribute fme_feature_type is exposed on your reader. This attribute will contain the name of the original feature that each record belongs to. Then, in the feature type properties for your writer... set Shapefile Name to fme_feature_type.

Also, set the Fanout Dataset propety (on the writer) to yes, with a fanout expression of fme_feature_type.

This will generate one shapefile per value of fme_feature_type.

Badge +8

Hi @clives_online please make sure that all the layers you put into your shapefile are of the same geometry. DWG is a container of different layers with different geometry types. You need to make sure you choose all the polygons and merge them into a polygon shapefile and not a polyline or point that you merge into a polygon shapefile. You will need to use a Geometry filter to make sure that you are loading the right stuff into your writer.

Could you please make a screenshot of your data from AutoCAD ?

Thanks.

Lyes

Reply