KB no longer maintained - MapViewer is a Legacy Product. Legacy Products are still supported, but no longer receive new features or updates. Many of MapViewer's features have been moved to Surfer. Please contact support@goldensoftware.com with any questions. |
The US50Alb.gsb and US50LL.gsb boundary files from the Golden Software website move Alaska and Hawaii closer to the continental U.S. for visual reasons, but if you're plotting a pin map with points in Alaska or Hawaii, they show up in the original state location. To work around this, when MapViewer 8 was released, we released an updated CityState.csv file that contains alternate locations for each of the Alaska and Hawaii points. That updated CSV file is attached. To use this:
- Download the attached CSV file.
- Copy/paste it into the MapViewer <version number> directory.
- Click Yes to replace the existing file with this new one.
Now just add an "_2" to the end of the city names for your Alaska/Hawaii cities (i.e. Anchorage becomes Anchorage_2) and they will plot in the appropriate location. You can easily do this with a Transform. To do so:
- Click File | Open.
- Choose your data file and click Open.
- Highlight the column containing your city or state values.
- Click Data | Data | Transform.
- In the Transform dialog,
- Enter a Transform equation like the following, where C is an empty column to write the new city values to (pink below), A is the current city column (green below), and B is the current state column (yellow below): C=If(B="AK",A+"_2",If(B="HI",A+"_2",A))
- Change the Text cells dropdown list to Are treated as text.
- Click OK to write the new values to the designated column.
- Enter a Transform equation like the following, where C is an empty column to write the new city values to (pink below), A is the current city column (green below), and B is the current state column (yellow below): C=If(B="AK",A+"_2",If(B="HI",A+"_2",A))
When setting the City and State columns for your pin map, use this new column (C in my example) for the city instead of the old city column.
Updated 3.29.19
Comments
0 comments
Please sign in to leave a comment.