PDA

View Full Version : How To: Mapki Icon Image sets



Eric Frost
10-21-2008, 10:18 AM
This site has a number of static icon images sets which can be imported into MapPoint..

Icon Image Sets - Google Mapki (http://mapki.com/index.php?title=Icon_Image_Sets)

The icons are all in png format so there are a number of steps to convert to MapPoint, but with a little automation it is fairly quick.

Note that I used HyperSnap (http://www.sellshareware.com/ProgramInfo.asp?AfID=5881&PrID=35478) - it is a very versatile image capture and processing utility I've always liked.

It has a number of command-line options which allow you to control it's behavior and use it from batch scripts.

First download and unzip a set into a directory.

Create list of the files using the dir command "dir /b > list.txt".

e.g.
blank.png
marker.png
marker0.png
...

Paste this list into Excel and use a formula like this to construct the batch file commands which call HyperSnap.

=CHAR(34)&"C:\Program Files\HyperSnap 6\hprsnap6.exe" & CHAR(34) & " -open:"&A1&".png -save:bmp "&A1&".bmp"

The resulting batch file should look something like this:

"C:\Program Files\HyperSnap 6\hprsnap6.exe" -open:blank.png -save:bmp blank.bmp
"C:\Program Files\HyperSnap 6\hprsnap6.exe" -open:marker.png -save:bmp marker.bmp
"C:\Program Files\HyperSnap 6\hprsnap6.exe" -open:marker0.png -save:bmp marker0.bmp
...
pause

Then these need to be importing into MapPoint.. if there were a lot or I was doing this regularly, I would write a little program in Excel VBA which would import all of them, but I was lazy and just clicked 112 times to import them all manually.. doh!

See example attached, this is:

"Numbered Markers, 0 to 99
by Prime Suspect. 112 markers total (single and double-digits for 0-9, plus default and blank markers)."

I also attached a few of the markers so you can see what they look like.. 1, 2, 99.

hope someone finds this useful! Let me know if you have any suggestions.

Eric

Eric Frost
10-21-2008, 01:26 PM
I thought about this later --
Load Custom Symbols (http://www.support-pc.com/LoadCustomSymbols.htm)

Would have saved me a lot of clicking!

It loads custom symbols in batch.

Have a lot of custom symbols to add? This small utility will allow you to add custom symbols to MapPoint in "batch mode"

Eric