AutoCAD Map 3D General Discussion

Reply
Distinguished Contributor
olivier.eckmann
Posts: 146
Registered: ‎02-14-2009
Message 1 of 11 (336 Views)
Accepted Solution

Merging non adjacent polygon according to their zone

336 Views, 10 Replies
12-12-2013 01:34 AM

Hi,

 

I've 2 FDO Layer (polygon). Layer1 contains zoning and Layer2 contains small area.

 

The goal is to merge all polygons (1 or more) of Layer2 into only 1 polygon in each zone of Layer1.

 

I can do an FDO Overlay (Identity) to copy ID of zone to Layer2, but I don't know (except manually) how to merge polygons with 1 common information.

 

Thanks

 

Olivier

Valued Mentor
parkr4st
Posts: 420
Registered: ‎03-24-2004
Message 2 of 11 (303 Views)

Re: Merging non adjacent polygon according to their zone

12-12-2013 07:27 AM in reply to: olivier.eckmann

What behaviour do you want the data to have?  Layer 2 merges will use Id existing or new for the merged polygons.  It it necessary to merge the polygons for another step in your process?  Any calculations involved?

 

theming by the layer 1 FeatId can make the Layer 2 polygons appear the same, but maintain the individual polygons.

 

Could you attach a sample of your files?

 

Dave

Distinguished Contributor
olivier.eckmann
Posts: 146
Registered: ‎02-14-2009
Message 3 of 11 (293 Views)

Re: Merging non adjacent polygon according to their zone

12-12-2013 08:55 AM in reply to: parkr4st

Hi,

 

I join SDF file with 3 layers:

Layer1 contains 4 big area with infos 1 to 4

Layer2 contains 9 small area with infos from 11 to 13

In Area1 (Layer1) I've 2 polygons with INFO1=11 and 1 polygon with INFO1=12

In Area2 (Layer1) I've 1 polygon with INFO1=12

...

Layer2_ID contains same 9 small polygon with INFO1 (11 to 13 form Layer2) and INFO2 (1 to 4 form Layer1) obtain by GIS OVERLAY

 

The goal is to obtain 1 polygon (multigeometry) per INFO1 and per big AREA (INFO2)

 

So in Area1 I'd like to join the 2 polygon with same INFO1=11/INFO2=1 into into 1 multi polygon with INFO1=11/INFO2=1

the other polygon with INFO1=12/INFO2=1 don't change

Other INFO or ID on each polygon have no importance (keep ID or new ID, as you want)

 

I could do that in Lisp or DotNET with AutoCAD MPOLYGON object but I want to know if it is possible without program with FDO feature?

 

Thanks

 

Olivier

 

 

*Expert Elite*
antoniovinci
Posts: 1,595
Registered: ‎06-03-2011
Message 4 of 11 (287 Views)

Re: Merging non adjacent polygon according to their zone

12-12-2013 10:25 AM in reply to: olivier.eckmann

Would you please upload the same TEST data in shapefile format..?

 

Distinguished Contributor
olivier.eckmann
Posts: 146
Registered: ‎02-14-2009
Message 5 of 11 (270 Views)

Re: Merging non adjacent polygon according to their zone

12-12-2013 11:57 PM in reply to: antoniovinci

Hi Antonio,

 

I've joined SHP file

 

Thanks

 

Olivier

*Expert Elite*
antoniovinci
Posts: 1,595
Registered: ‎06-03-2011
Message 6 of 11 (257 Views)

Re: Merging non adjacent polygon according to their zone

12-13-2013 12:15 PM in reply to: olivier.eckmann

Well, this topic caused me a devastating headache, man...

Check the attachment out: did I understand what you were meaning..?

Distinguished Contributor
olivier.eckmann
Posts: 146
Registered: ‎02-14-2009
Message 7 of 11 (248 Views)

Re: Merging non adjacent polygon according to their zone

12-14-2013 08:44 AM in reply to: antoniovinci

Hi Antonio,

 

that's exactly what I want to do.

 

How did you made this?

 

Thanks

 

Olivier

*Expert Elite*
antoniovinci
Posts: 1,595
Registered: ‎06-03-2011
Message 8 of 11 (232 Views)

Re: Merging non adjacent polygon according to their zone

12-16-2013 02:50 AM in reply to: olivier.eckmann

olivier.eckmann wrote:

How did you made this?


By means of Qgis, sir.
Unfortunately my old Map2006 doesn't support the FDO connection, so I cannot say if the same result is feisible with Autocad.

Distinguished Contributor
olivier.eckmann
Posts: 146
Registered: ‎02-14-2009
Message 9 of 11 (223 Views)

Re: Merging non adjacent polygon according to their zone

12-16-2013 03:46 AM in reply to: antoniovinci

Hi Antonio,

 

OK I'll do that with QGIS. It's a pity AutoCAD MAP can't do the same.

 

Thanks

 

 

*Expert Elite*
Alfred.NESWADBA
Posts: 8,892
Registered: ‎06-29-2007
Message 10 of 11 (209 Views)

Re: Merging non adjacent polygon according to their zone

12-16-2013 03:10 PM in reply to: olivier.eckmann

Hi,


>> It's a pity AutoCAD MAP can't do the same.

I'm not sure if that is a standard process, for me it's more untypical to merge adjacent polygons.

Also my sight to GIS-systems and to technical workflows handling such things show me more problems using such things than leaving them separated.

 

What makes it necessary for you to merge them?

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community