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

Is it possible to generate and/or export multiple thematic maps for a single table (i.e., without creating, saving and then unselecting before doing the next map using different numeric field)?

  • 1.  Is it possible to generate and/or export multiple thematic maps for a single table (i.e., without creating, saving and then unselecting before doing the next map using different numeric field)?

    Posted 08-31-2017 17:11


  • 2.  RE: Is it possible to generate and/or export multiple thematic maps for a single table (i.e., without creating, saving and then unselecting before doing the next map using different numeric field)?

    Employee
    Posted 08-31-2017 15:49

    If user does not want to write a MapBasic application then open the MapBasic Window, (aka: MB window) , open the table and map it, go through creating a theme manually, then export it via Save Window As, and the MapBasic statements will be echoed into this MB window. Do a close all.

    Then execute each line echoed in the window to open this same table, change the field used for this theme, and filename being exported, and close all, etc., and keep executing the same lines in MB window repeatedly for each column and export file like a script. Can also save these echoed commands as a text file to use another time in the MB window.

     



  • 3.  RE: Is it possible to generate and/or export multiple thematic maps for a single table (i.e., without creating, saving and then unselecting before doing the next map using different numeric field)?

    Posted 08-31-2017 16:04

    Many thanks. How do I parameterize the table and column names? Is there a resource for using MapBasic for this purpose online?



  • 4.  RE: Is it possible to generate and/or export multiple thematic maps for a single table (i.e., without creating, saving and then unselecting before doing the next map using different numeric field)?

    Employee
    Posted 08-31-2017 16:12

    If you want to do that you need to create a MapBasic Application with a subroutine that allows you to pass in the column name as a parameter to a Shade statement within. Columns to be passed into this method can be from a string array. You can download MapBasic IDE with its Help and Samples from: http://www.pbinsight.com/support/product-downloads/for/mapbasic. Refer to Shade statement help topic for more info.