How to Automate Symbol Sizes?
kbellis
Global Mapper UserTrusted User
Google Analytics and other versions of its mapping toolset features a cool way of showing densities graphically using a symbol; say for example a circle, at varying sizes as they relate to a given quantity, say for example a group of Maine Professional Land Surveyors as they are located across the country:
ME-PLS2.jpg
The symbols also include the numeric representation of that quantity.
How can we do that in GM?
If it requires a little scripting, please give us a hint
Thank you, as always, for the best technical support I have ever found.
Kind regards,
Kelly
ME-PLS2.jpg
The symbols also include the numeric representation of that quantity.
How can we do that in GM?
If it requires a little scripting, please give us a hint
Thank you, as always, for the best technical support I have ever found.
Kind regards,
Kelly
Comments
-
And, if for whatever reason, that sort of thing can't presently be done in GM... or even if it can be done, another cool idea to borrow from Google is taking that dataset, again for an example we'll say surveyors by state, and we already have a shape file of all the CONUS (Continental US in surveyor speak). Based on the number of records related to a given state, how can we assign / apply a palette for that range; again for example 0 white to greater numbers dark blue:
range by color and location example.PNG
Also noting in the Google case, that the actual number and the state are revealed with a mouseover event. -
Kelly,
This is exactly the kind of thing that you can do automatically on the Styles tabs of the Options dialog for a layer. For example if you go to the Point Styles tab of the Options dialog and set up attribute-based styling you can use one of the custom shape symbols (including dot) at the top of the symbol list and provide the size and color for a few numeric attribute values. If you check to interpolate then any other encountered numeric values will have their size and color scaled between the values specified.
Likewise you can do this for area features and have the area fill style be filled using attribute-based styling.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
global_mapper wrote: »If you check to interpolate then any other encountered numeric values will have their size and color scaled between the values specified.
Okay... I am moving closer to the goal line... but what if the field / attribute doesn't have a numeric value; e.g., STATE? -
Interpolation doesn't make sense for alpha-numeric values, but you can still use attribute-based styling and use the 'Init from Values' button to fill in the styles from each available attribute value and even randomly assign a separate color to each unique value. Then you can customize that coloring however you see fit.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website