Hardcode Thematic into existing layer

920 views
Skip to first unread message

shuang

unread,
Jul 31, 2012, 6:26:08 PM7/31/12
to mapi...@googlegroups.com
Hi all, I am wondering if it is possible to hard code a thematic layer to existing layer so that every time you open the layer (and in different computer), it will also open up the color coded thematic layer with it ?

thanks,

Sam 

MattC

unread,
Jul 31, 2012, 6:57:35 PM7/31/12
to MapInfo-L

Mike Osbourn

unread,
Jul 31, 2012, 9:20:02 PM7/31/12
to mapi...@googlegroups.com

One alternative is to embed the theme into the meta data.  Then on other machines specify automatically open default theme.

 

HTH

 

 

--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

image001.jpg

KTG Infotech

unread,
Aug 1, 2012, 12:38:01 AM8/1/12
to mapi...@googlegroups.com
Hmm, i wonder if thats a shared system, if yes its going to be a default function thats going to happen.
--
Kalai Selvan
KTG Infotech
GIS (Mineral Exploration)
Data Integration, Analysis, Capturing and Data Conversion
for Geochemistry,IP and Drill logs
Skypes-ktgcad

image001.jpg

Eric Blasenheim

unread,
Aug 1, 2012, 10:16:27 AM8/1/12
to mapi...@googlegroups.com
Hey, Mike, thanks for giving me the opening for sharing why I think the thematic option is a good one.  (I do this once a year at least).
 
First I will admit that the fact that a user preference can ignore the thematic settings in the metadata is an issue. There is no way for an administrator to ensure that this will work without getting his users to change their preference. Another example of how we try to be cautious about changing behavior and leaving individual control for everything, perhaps going too far sometimes.
 
There is nothing wrong with using the tools that "hardcode" styles into the Native tab file.  But just be sure that you know what that means. In many cases, the styles are representative of some data field or expression so if it is possible that the data may change, it is simpler and more accurate to have the styles automatically derive from the data than having to manually update the geometry in the .map file with the changed style.
 
Eric Blasenheim
Pitney Bowes Software

T.H

unread,
Aug 3, 2012, 1:15:09 PM8/3/12
to mapi...@googlegroups.com
Thanks for answering my question everyone! Greatly Appreciated! Just one more thing and hoping if any one would know but is there a possibility to set a layer transparent permanently ?

Eric Blasenheim

unread,
Aug 3, 2012, 5:30:34 PM8/3/12
to mapi...@googlegroups.com
Do you mean the layer translucency settings that are a percentage?  That setting is a layer setting and is currently only stored in a workspace. Only the thematic settings can be also stored in the TAB file metadata. 
However, sometimes when people say "transparent" they just mean that the fill color allows the polygons to be "see through". Any region can have an empty or any non-solid  fill which will enable that ability to see through.  Of course you can only style the hatch or dot patterns in the fill then. So you could store that as a default theme.  My guess is you are talking about translucency but just in case. 
 
Eric Blasenheim
Pitney Bowes Software

Stephen Chan

unread,
Aug 26, 2012, 9:15:40 PM8/26/12
to mapi...@googlegroups.com
G'day Eric,

  I am currently hardcoding the styles for use on a Trimble via GBM Mobile software that reads a Geoset file.
  Can MapX interpret the styles saved in TAB's or alternatively is there a way of saving thematics into a Geoset?
  Sincere question in case I am not doing something in the correct / most efficient manner.
  Something about new dogs and old tricks.

=Steve

college.atlas

unread,
Aug 27, 2012, 2:40:09 AM8/27/12
to mapi...@googlegroups.com
Steve,
I've been down this road myself. 

The Geoset\GST standard doesn't have any way of storing a theme setting. While it's entirely possible to create and modify themes in the application it's the GST that lets us down.

Wyatt, Phil (Parks)

unread,
Aug 27, 2012, 2:53:01 AM8/27/12
to mapi...@googlegroups.com

What you can do however, in the GBM Mobile Form design, is “use a different style depending upon the  value in a data field”. Not quite the same but a suitable solution.

 

Cheers - Phil




CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.

Simon Gagne

unread,
Jun 26, 2025, 12:45:36 AMJun 26
to MapInfo-L
Hello everyone,

this is an older thread, but I am also looking at hard coding a theme into a layer.

I found reference to the the MapBasics program for Hardcoding a theme into a layer.

Screenshot 2025-06-25 161440.jpg

I do have the .mbx and .str file son my computer. 
However, I have never used MapBasics and I am not sure how to run the MapBasics program. 
Is there any resource on how to do it?

Thank you very much.

Regards,
Simon

Peter Horsbøll Møller

unread,
Jun 26, 2025, 2:40:38 AMJun 26
to mapi...@googlegroups.com

Hey Simon

 

From the Open dropdown, you can select Program and then select the HCTv0.94.MBX.

 

This will load the MapBasic application into MapInfo Pro.

Depending on the tool, you are loading you may have to activate the feature of the program itself afterwards.

 

I seem to recall that HCT creates a menu on the program in the Tools window.

Try right-clicking on HCT in the Tools window under the Running tab and see if there are some options here.

 

Alternatively, if it’s a Individual Theme you are looing to save to the objects, you can use WindowHelper.

WindowHelper can be installed from the MapInfo Marketplace inside MapInfo Pro.

In WindowHelper it’s called Save theme as object style.

 

 

Cheers

Peter

 

Peter Horsbøll Møller
Principal Sales Engineer - Distinguished Engineer

 

From: mapi...@googlegroups.com <mapi...@googlegroups.com> On Behalf Of Simon Gagne
Sent: 25. juni 2025 22:16
To: MapInfo-L <mapi...@googlegroups.com>
Subject: Re: [MI-L] Re: Hardcode Thematic into existing layer

 

This message originated Externally. Use proper judgement and caution with attachments, links, or responses.

 

Hello everyone,

 

this is an older thread, but I am also looking at hard coding a theme into a layer.

 

I found reference to the the MapBasics program for Hardcoding a theme into a layer.

 

--

--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---

You received this message because you are subscribed to the Google Groups "MapInfo-L" group.

To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mapinfo-l/7f0aa429-e3f1-4c0f-b61d-dc2157818436n%40googlegroups.com.

Simon Gagne

unread,
Jul 3, 2025, 11:39:59 AMJul 3
to MapInfo-L
Hello Peter,

thank you very much for your suggestion.
Since I was dealing with individual themes, I ended up using the WindowHelper. 
Installation was easy and it did exactly what I wanted to do. 
I was able to permanently apply color attributes from the thematic table to the objects in the original table. 

One thing I was wanting to do is extract the RGB values for the various individual colors used in the thematic table.
After using WindowsHelper to "Save Style to Table", I was able to extract the RGB values using the RGB Colorizer tool in Discover.

Thank you so much.

Regards,
Simon
Reply all
Reply to author
Forward
0 new messages