• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Map 3D

    Reply
    Member
    Posts: 5
    Registered: ‎04-17-2012
    Accepted Solution

    Union Command

    248 Views, 8 Replies
    04-17-2012 07:51 AM

    Is there a way of trimming an SDF or SHP file with multiple polygons within a boundary buffer zone, but keep the enire of all of the crossing polygons.

     

    I have managed to create a feautre overlay for the trimming selection but the 'Union' command creates a new layer with all of both SDF files I'm comparing, not just the ones within the buffer zone.

     

     

    Please use plain text.
    *Expert Elite*
    Posts: 6,628
    Registered: ‎06-29-2007

    Re: Union Command

    04-17-2012 07:58 AM in reply to: shire_cad

    Hi,

     

    if I'm understanding that correctly you now have a new SDF that is the result of the overlay. This new SDF should contain fields that identify the ID of the polygon in SDF-A and the ID of the polygon in SDF-B (SDF-A and SDF-B were the two FDO-sources you overlayed).

    You can now filter for all polygons on your result-SDF were the ID of SDF-B is null (when SDF-B was the one with the trim-polygon).

     

    HTH, - alfred -

    -------------------------------------------------------------------------
    Alfred NESWADBA
    Ingenieur Studio HOLLAUS ... www.hollaus.at
    -------------------------------------------------------------------------
    Please use plain text.
    Member
    Posts: 5
    Registered: ‎04-17-2012

    Re: Union Command

    04-17-2012 08:04 AM in reply to: alfred.neswadba

    Hi Alfred,

     

    The problem is we have 1 'multi-polygon' SHP file & 1 'corridor' SHP file

     

    We are trying to remove everything outside the corridor  and keep everything within AND intersecting with the corridor.

     

    We just need 1 final SHP file with only the internal polylines remaining

     

    Hope this clears up the query.

     

    Thanks

    Please use plain text.
    *Expert Elite*
    Posts: 6,628
    Registered: ‎06-29-2007

    Re: Union Command

    04-17-2012 08:34 AM in reply to: shire_cad

    Hi,

     

    ok, run these two SHPs through the overlay ==> I think identy should be the correct overlay-method.

    The result is a new SDF divided on all borders from both SHP's, and the attributes from both SHPs also.

     

    No disable the original two shapes from beeing displayed

     

    On the resulting SDF use a filter that checks for OriginalIDFromCorridor is not null. Now you should see the resulting polygons just in the area of your corridor.

     

    Hope that I described it enough and you can follow on it. If not - and you are allowd - upload your two shapes and I create a video that shows you what to do (that with German Map3D as I don't have an english one, but the UI is similar to be able to find the same buttons then on your Map3D).

     

    - alfred -

    -------------------------------------------------------------------------
    Alfred NESWADBA
    Ingenieur Studio HOLLAUS ... www.hollaus.at
    -------------------------------------------------------------------------
    Please use plain text.
    Member
    Posts: 5
    Registered: ‎04-17-2012

    Re: Union Command

    04-17-2012 08:56 AM in reply to: alfred.neswadba

    Hi Alfred,

     

    The identify command just gives us an exact copy of the starting SHP file.

     

    Are we using the correct command? We basically need one final SHP file with anything within or touching the boundary (not trimmed to it but the whole land parcel)

     

    We have a corridor SHP shown red and the land is the rest on the screen shot.

     

    I didnt understand what you meant by "OriginalIDFromCorridor" how do we switch this on/off?

     

     

    Please use plain text.
    *Expert Elite*
    Posts: 6,628
    Registered: ‎06-29-2007

    Re: Union Command

    04-17-2012 10:02 AM in reply to: shire_cad

    Hi,

     

    >> with anything within or touching the boundary (not trimmed to it but the whole land parcel)

    Ok, sorry I misunderstood that.

     

    So look to this video how I would do that,

    • first do a geographical filter using the polygon ==> that reduces the number of displayed elements to "completly within corridor"
    • then you can export this into a new SDF

     

    - alfred -

    -------------------------------------------------------------------------
    Alfred NESWADBA
    Ingenieur Studio HOLLAUS ... www.hollaus.at
    -------------------------------------------------------------------------
    Please use plain text.
    Member
    Posts: 5
    Registered: ‎04-17-2012

    Re: Union Command

    04-18-2012 12:39 AM in reply to: shire_cad

    Alfred,

     

    I did figure this way out in the end but this still erases items that are crossing the boundary of the corridor. For example if a parcel of land is on the boundary half within or half out I need the whole parcel to remain behind along with all the parcels within the corridor and erase anything that isnt within or touching the corridor. This is my main headache.

     

    Regards

     

    Please use plain text.
    Valued Mentor
    Posts: 322
    Registered: ‎03-24-2004

    Re: Union Command

    04-18-2012 02:11 AM in reply to: shire_cad

    a query when you data attach and add with a query by location should give the result set you want.  you can then save that set to a sdf and should be done.  the location should be "touching the corridor" if I understand your question.

     

    Dave

    Please use plain text.
    Member
    Posts: 5
    Registered: ‎04-17-2012

    Re: Union Command

    04-18-2012 05:06 AM in reply to: shire_cad

    Yeah,

     

    The query seems to work. you can create a new SDF from the selection.

     

    Thanks

    Please use plain text.