MapInfo Pro Developers User Group

Welcome to the MapInfo Pro Developers community!  We are a group dedicated to the discussion and understanding of MapBasic and .Net MapInfoPro AddIn development. Bring your questions and ideas here. This group includes several members of the Pro development team from around the world.

Please feel free to start a discussion in the discussion tab or join in a conversation.

Product Information  Ideas Portal  MapInfo Community Downloads

Discussions

Members

Resources

Events

 View Only
  • 1.  Objects Clean Overlap - "Smallest object wins" instead of "biggest object wins"?

    Posted 12-22-2017 13:00

    Hi all, came across this issue recently. The code:

     

    Objects Clean From Selection Overlap

     

    prioritises the bigger object. Quoting from the reference:

     

    The portion of the overlap will be removed from all overlapping regions except the one with the largest area.

     

    Is there an easy way for us to reverse this? So the portion of the overlap will be removed from all overlapping regions except the one with the smallest area?



  • 2.  RE: Objects Clean Overlap - "Smallest object wins" instead of "biggest object wins"?

    Posted 12-27-2017 05:36

    Hello Sancarn,

    This can be done by using the Create object as intersect statement which is a part of the much larger create object statement.

     

    Specify Intersect to create an object representing the intersection of other objects (for example, if two regions overlap, the intersection is the area covered by both objects).

    Regards

    Martin