Hi Matthew,

If the workspace DOES open eventually, ie it isn't broken, then in my experience this is due to a seamless table in the workspace slowing things down. A workspace contains a list of Mapbasic commands that are executed sequentially, and in a typical workspace that creates a map, the general sequence is as follows:

1. Open tables
2. Create map window with tables
3. Set map window properties (set view, reorder layers, toggle visibility etc)

Critically, the map window is opened in the step 2 before the view (scale and position) is set and layers' visibility disabled in step 3. Initially then, the map window opens up at the default view for one of the tables listed in step 2 (I suspect the one that would be on top in Mapinfo's internal layer ordering logic). Data from the other tables in the map are loaded for this view before the step 3 is reached. So if a large seamless layer is present, and the default view displays a lot of it, then Mapinfo will freeze whilst it loads all the necessary tables for the seamless layer. I guess the same thing might happen with large raster or vector tables, though the auto zoom layering setting can prevent it for rasters.

The way to avoid the freezing then is to set the default view of the topmost table to a small extent using the 'set map layer 1 default zoom command'. You can find the topmost layer by adding all the tables to an existing map window and seeing which comes out on top.

It would be nice to have Mapinfo include an automatic zoom layering option for seamless tables, in the same way as rasters and grids, to avoid this sort of problem.

Andy



Matthew Dolan wrote:


I have a workspace that, when I attempt to open, freezes up and does nothing. I have never experienced this before. Does anyone have any suggestions?
Thank you,

** Matt Dolan **
** Director of Market Analytics & GIS **
* Colliers ** Arnold * *4350 West * * Cypress St, Suite 300 *

* Tampa , FL 33607-4175 *

* 813.221.2290 *

* 813.224.9403 (Fax) *

<http://www.colliersarnold.com> <http://www.colliersarnold.com> www.colliersarnold.com <http://www.colliersarnold.com>

<mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

// Colliers Arnold - Tampa / Clearwater / Orlando / Ft. Myers //

// Colliers International - 241 offices in 54 countries on six continents //

/ This e-mail and attachments (if any) is intended only for the addressee(s) and is subject to copyright. This e-mail contains information which may be confidential or privileged. If you are not the intended recipient please advise the sender by return e-mail, do not use or disclose the contents and delete the message and any attachments from your system. Unless specifically stated, this e-mail does not constitute formal advice or commitment by the sender or Colliers Arnold or any of its subsidiaries. /


------------------------------------------------------------------------

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


--
Andy Harfoot

GeoData Institute
University of Southampton
Southampton
SO17 1BJ

Tel:  +44 (0)23 8059 2719
Fax:  +44 (0)23 8059 2849

www.geodata.soton.ac.uk

---------------------------------------
For further information about GeoData's
Training Courses, please visit:
www.geodata.soton.ac.uk/training
---------------------------------------


_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to