Ann

Yes, you certainly could write a MapBasic program. We started that a while
back and ended up investing five man years in the Images+ product. But you
are on the right track with the overall concept. 

Opening the tables is relatively simple in MapBasic. The hard part come
when you want to make lots of mappers, document them, add thematics, set
map projections and open everything robustly. And sometimes we want to
create a new mapper but at other times we just want to change the later
attributes or add and remove layers from the current mapper. 

Our solution was to add a "save" button to MaInfo that interrogates a
mapper, saves the mapper definition into a database, and gives it a unique
database ID. On the way through we catalogue the individual table files so
we can reference them by ID rather than less robust file systems location
(we gave up on MapInfo workspaces as customers needed something more
reliable that did not break when you moved a file - especially in our
geology work where 20 to 50 map layers in quite common). 

We built a catalogue browse interface to manage and document the mappers
and browsers and another tool that lets you pick a window definition (or
group or definitions) from the database interface and hot-link them to any
MapInfo map object.  

When you click on the object we look through the MapInfo attributes to find
the database ID, look up the database, and then invoke the required
actions. In your case we would open a mapper, but commonly we open a word
file, an external database form or invoke some other external process, that
make use of the MapInfo attribute values or location of the clicked object. .

Like you, we thought it was going to be a simple MapBasic program � but
have ended up using MapBasic, VB, C++ and OLE. But the good news is you can
licence it from your local GeoBasemap reseller for a very modest fee. 

Check out Images+ at www.geobasemap.com

.... Ken Moule



>I am wondering if there is a way of clicking on an object that will
>bring up a Mapinfo mapper.  Specifically, I would like a generalized map
>showing drainage basins (as regions)> click on one of the regions> and
>get a detailed mapper with that basin showing sample locations,
>vegetation, geology etc.
>
>Is there an existing function in MapInfo or a Mapbasic program to do
>this?  I am also beginning to sift through some MapBasic code to see how
>I could write a program to do this - so any suggestions in this
>direction would be helpful too.
>


                    Exa-Min Resource Industry Consultants
                  2nd Floor, 143 Charlotte Street, BRISBANE 
                    PO Box 12020, Elizabeth Street Q 4002 
                                  AUSTRALIA

Ph:    +61 7 32100741                Fax: +61 7 32100738
Email: [EMAIL PROTECTED]        WWW: http://www.geobasemap.com
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to