Jump to content


Photo

Map Generator That Can Be Called from AHK


  • Please log in to reply
5 replies to this topic

#1 Costas

Costas
  • Members
  • 122 posts

Posted 09 July 2012 - 02:53 AM

All,

I would like to find an expensive or free U.S. Map Generator that can be called from AHK.

I need to be able to change the color of each state.

Ideally the output would be some sort of graphics file (bmp, gif, jpg, pgn).

Is anyone aware of such software?

Thanks for your help.

Costas

#2 nlid

nlid
  • Guests

Posted 09 July 2012 - 10:16 AM

Google Charts

8-)

HTH

#3 Costas

Costas
  • Members
  • 122 posts

Posted 10 July 2012 - 11:40 AM

Nlid,

Thanks for the tip.

I have never worked with Google Charts, but I plan to experiment with them.

The application that I am trying to build will live on a "Terminal Services" server that does not have access to the internet.

Can Google Charts be used in a "Stand Alone" environment with no internet access?

I would like to be able to simply call a "map generation utility" from AHK - a utility that lives on the same box as AHK.

Thanks,
Costas

#4 Leef_me

Leef_me
  • Moderators
  • 7704 posts

Posted 12 July 2012 - 10:58 PM

Ideally the output would be some sort of graphics file (bmp, gif, jpg, pgn).

Can you be more specific about your purpose?


Here is a map of the 50 states, with and without names, they seem to be available in PNG & SVG.
Perhaps you could "roll your own" generator.

<!-- m -->http://commons.wikim... ... _names.svg<!-- m -->

<!-- m -->http://commons.wikim... ... _names.svg<!-- m -->



Here is a series of locator maps that shows each state colored. I suggest verifying that all maps are available.

<!-- m -->http://commons.wikim... ... map_scheme<!-- m -->)

#5 PhiLho

PhiLho
  • Fellows
  • 6850 posts

Posted 14 July 2012 - 12:26 PM

Indeed, this SVG USA map is used a lot, particularly in the Processing forum where people try and colorize the states using various data. Processing can then export to any common image format. But this requires a bit of Java code (but lot of examples can be found in the Processing forum).

#6 Costas

Costas
  • Members
  • 122 posts

Posted 14 July 2012 - 05:49 PM

Leef_me and Philho,

Thanks for your assistance.

Here is what I am looking for.

I would like to find an easy-to-use utility to create a map of the US, with the ability to change the color of specific states and perhaps add information (text) in each state. The Output needs to be a jpg or png file. I would like to be able to call this utility from AHK.

Thanks again,
Costas