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.
Solved! Go to Solution.
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 -
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.
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 -
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?
>> 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,
- 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.
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.