MapInfo Pro

Welcome to the MapInfo Pro community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements  Product Documentation  Ideas Portal

Discussions

Members

Resources

Events

 View Only
  • 1.  Can you combine two tables of polygon objects into one table?

    Posted 12-18-2017 02:56

    Can you combine two tables of polygon objects (land parcels & Suburb areas) into one table. Then using SQL select extract one suburb and land parcels within the suburb and output table displays both land parcels and suburb polygons?



  • 2.  RE: Can you combine two tables of polygon objects into one table?

    Employee
    Posted 12-18-2017 00:23

    Hi Larry,

    Yes you can do it. Open both the tables. Go to the Table ribbon and use the functions "Append Rows" to combine both these polygon tables. You can then open this mapper window and perform the sql query.

    Regards,

    Shweta

     



  • 3.  RE: Can you combine two tables of polygon objects into one table?

    Employee
    Posted 12-18-2017 00:25
      |   view attached

    Added the snapshot for it. Hope this helps!



  • 4.  RE: Can you combine two tables of polygon objects into one table?

    Employee
    Posted 12-18-2017 00:31

    Hi Larry,

    Not quite sure if I am interpreting your requirements correctly here, but the MapInfo Pro 'Combine' feature allows you to combine multiple objects within a table to form a single object e.g. combining a map of multiple territories or states into a single boundary (polygon) object.

     

    The 'SQL Select' feature can be used to select records from two tables where an object from one contains an object from the other etc. It can produce a query table as an output table which meets the conditions such as the one described above.

     

    It may be helpful if you could provide some more detailed clarification about what your exact requirements and end goal is? Some more details about your current datasets that you are working with may also help for us to visualize what you are trying to do.

    Thanks



  • 5.  RE: Can you combine two tables of polygon objects into one table?

    Posted 12-18-2017 05:43

    Hi @Larry Mahn? If I get your question correctly, You can use

    1. Append rows
    2. Combine feature
    3. Within option from SQL select

    to combine objects from multiple tables.

    This is the right tutorial with step by step process to combine two non-spatial tables. You can do the same process using WITHIN function in SQL select for spatial tables

    https://gis.stackexchange.com/questions/217104/joining-two-tables-by-selection-from-one-table-in-mapinfo



  • 6.  RE: Can you combine two tables of polygon objects into one table?

    Posted 12-18-2017 16:08
    Hi Shweta, Thanks for replying. The combine and the then Append rows worked a treat. I thought you could only append rows to tables with identical structures. Thanks again for the quick response. Cheers Larry


  • 7.  RE: Can you combine two tables of polygon objects into one table?

    Posted 12-18-2017 16:16
    Hi Dave, My question was a bit unclear but you got it right using the combine and then Append rows got what I needed. Thanks Larry


  • 8.  RE: Can you combine two tables of polygon objects into one table?

    Posted 12-18-2017 16:20
    Hi Krishna, Thanks for your solution it was just what I needed. Cheers Larry