import shape files with shared boundaries

import shape files with shared boundaries

Anonymous
Not applicable
1,566 Views
9 Replies
Message 1 of 10

import shape files with shared boundaries

Anonymous
Not applicable

I need to import a shape file with lots of polygons with shared boundaries and also islands etc.

Using mapimport I tried both import polygons as closed polylines ticked and unticked and I do get all the shape to display correctly in CAD.

 

My problem is that GIS has two overlapping  lines for polygons with shared boundaries, while in CAD we only have a single line representing the border between adjacent polygons. I need to create Topology with the imported polygons and this you cannot do if there are lines on top of each other. I tried to remove them with Drawing cleanup but no lines are removed. 

 

Any suggestions on how to get rid of the duplicate lines or to prevent them during import?

 

0 Likes
1,567 Views
9 Replies
Replies (9)
Message 2 of 10

braudpat
Mentor
Mentor
Hello

Not sure to well understand your problem / need !?

Please can you share with us your SHP, SHX, DBF, etc (ZIP/RAR please) ?
+ a beautiful Image of your DWG with more details ...

THE HEALTH, Regards, Patrice
Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes
Message 3 of 10

Anonymous
Not applicable

I have attached the DWG.

 

If you look at the linework almost everywhere there are 2 lines on top of each other.

I have also done an "explode" command and then "Drawing clean up" to remove the duplicate lines, but no objects were removed.

 

I want to create topologies, it will not work with the duplicate lines. see jpg or dwg attached.

 

I generally work in ArcGIS, (so I am not a CAD expert) and only use 3D map for digitizing polygons from geotiff images for seafloor classification. I then create topologies and export to shapefile. In this case I had to go back to CAD to do additional digitizing, but this does not seem so easy.

 

 

 

0 Likes
Message 4 of 10

Anonymous
Not applicable

Hi 

 

I just solved my own problem:

 

I converted the polygon shapefiles to line shapefiles in ArcGIS before importing into Map 3D.

I can also create a centroid for each polygon in ArcGIS which will already have the correct attribut to assign the layer. 

0 Likes
Message 5 of 10

braudpat
Mentor
Mentor
Hello

OK so go on with ArcGIS ...

THE HEALTH, Regards, Patrice

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes
Message 6 of 10

АлексЮстасу
Advisor
Advisor

Try Drawing Cleanup for the original dwg with my settings - polygons.dpf. . (Could only attach with the extension zip).
There is only one error in the topology after it.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 7 of 10

O_Eckmann
Mentor
Mentor

Hi,

 

To use MAPCLEAN to do the job, you have to add 3 actions

image.png

(Sorry for french interface, hope english order of action is the same as french) : 

1st : cut object at intersection (3rd position in list)

2nd : remove duplicate objects (1st position in list)

3rd : connect free node (7th position in list)

 

You have to execute MAPCLEAN twice with same options before you can create topology without errors.

 

Olivier

Olivier Eckmann

EESignature

Message 8 of 10

АлексЮстасу
Advisor
Advisor

@O_Eckmann wrote:

Hi,

 

To use MAPCLEAN to do the job, you have to add 3 actions

image.png

(Sorry for french interface, hope english order of action is the same as french) : 

1st : cut object at intersection (3rd position in list)

2nd : remove duplicate objects (1st position in list)

3rd : connect free node (7th position in list)

 

You have to execute MAPCLEAN twice with same options before you can create topology without errors.

 

Olivier


Probably, "7th position in list", Décomposer les nœuds... - Snap Clustered Nodes? I have this 6th position.

 

If I do only these three actions, then after twice their launch, the topology creation shows me many errors. Mainly because of Dangling objects or gaps.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 9 of 10

O_Eckmann
Mentor
Mentor

Hi Alexander,

 

Here is my screencast to proceed from OP drawing with my settings in Mapclean and success of creation of polygonal's topology 

 

Olivier

Olivier Eckmann

EESignature

Message 10 of 10

АлексЮстасу
Advisor
Advisor

Hi, Olivier,

 

Yes, you are absolutely right!
These three actions of yours are really enough!

 

My mistake was that I decided to use the tolerances not 0.

And this led to unnecessary actions.
As always, when I want to be "too smart"!  🙂

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help