blankblank blank


Free Tools For Custom Garmin Vector Maps XVIII: Full GUI For mkgmap Compiler

Took a while, but this is the final installment of my epic 18-part series on free tools for making custom Garmin vector maps. I covered the free map compiler mkgmap in part 13, which converts OpenStreetMap data files (.osm) and Polish map files (.mp) to Garmin’s binary .img format. It’s command-line only, which can make it a pain to use. I wrote a simple Windows GUI for it a while back, but it wasn’t very good:

  • It required the compiler to be in the same directory as the data file.
  • It only worked for .osm files, not .mp files.
  • It assigned every compiled map the same default Map ID number (63240001.img), which meant that you could only use one compiled map at a time without having map conflicts.
  • It didn’t allow use of any of mkgmap’s more advanced options.

I’ve finally gotten around to fixing some of these issues, and now have a newer version of the GUI available; download it here (it comes with a copy of the mkgmap compiler), and unzip it into the folder of your choice. You’ll need to have Java 1.6 installed on your system; which you can check at the Java website. Run the executable:

supermkgmapgui

Use the button at upper-right to select the .osm or .mp file you want to compile. Hold the mouse cursor over each of the variable options to see pop-up help text describing their use, derived from mkgmap’s original documentation. The most important variables in the General Options section are:

  • Map ID Number, which should be a unique integer value between 65536 and 99999999 to avoid conflicts with other maps
  • Description, which identifies the mapset in the GPS unit

The other General options don’t seem to make that much of a difference.

Optimization options include Reduce Point Density with the Douglas-Peuckel algorithm to shrink the map size and speed up display; default is 2.6, and higher values simplify even more (mkgmap’s author recommends 10 as a good value). Turning Merge Lines on attempts to merge features together to simplify a map; haven’t noticed it making that much of a difference. For miscellaneous options, Draw Priority determines in what order vector maps are drawn; higher values mean the map is drawn later, on top of maps with lower values, obscuring those maps completely. Transparent maps have the higher priority of all, but you can see all parts of the vector map below them that aren’t obscured by the features in the transparent map (like a clear overlay on top of another map).

Once the options are set, pressing the “Compile” button creates a batch file called “compile.bat” that is then executed to compile the map code into the binary .img Garmin format; you should find the resulting file in the same directory as the map code file. Opening the “compile.bat” file in a text editor will show you the command line usage of mkgmap, and you can modify it there for further use if you like. You’ll find the compiled map in the same directory as the original map code file, with a filename that’s the same as the Map ID Number, and the file extension “.img”. See other posts in this series for info on how to upload this file to your Garmin GPS unit.

Reset” clears out the option values, “Help” takes you to this blog post, and “Exit” does what you’d expect.

This isn’t the full set of options supported by mkgmap; I’ve left out all of the routing options, and a bunch of others associated with creating full mapsets. I may wind up slowly adding some of those options on in the future, but this version should be good enough for basic map compilation. As usual, use at your own discretion/peril, and report any bugs to me.




Learn/Plan Compass Use In A Google Maps Interface

I’ve been known to take three GPS units with me out into the field, because … I’m an idiot. But regardless of how many I’m carrying, I always bring a compass and paper map as well. GPS displays are too small to give you the same sense of geographic context as a big paper map, and a compass is a necessary tool for bearing determinations. The Barcelona Field Studies Centre has created an online compass training site, the Google Maps Compass Tool, for learning how to use a compass with a map.

Start up the app, and select a starting point using the Search box; enter a city/town/POI, or enter a latitude/longitude directly. Once you’ve selected that point, a button labeled “Show Compass” will come up in the lower right-hand corner; click on this, and the compass will appear on the map near your specified point:

startcompass

You drag this compass so that its center sits on top of your starting point. Two additional buttons will appear at the top of the map as well. In the upper-left-corner, the Menu button lets you:

  • Undo/redo steps
  • Change the length of the red arrow by slider or by manual dragging
  • Clear everything
  • Load/Save/Import a Route
  • And more …

In the upper right corner, the “Draw Route” button shows up.

It’s a bit confusing to figure out what to do the first time you run it, but the basic operation flow is:

1. Drag the compass to the starting location.

2. Click on the compass to let you rotate it to the desired direction; click again to freeze it.

3. Change the length of the red arrow so that its end is at your desired destination.

4. Click the “Draw Route” button; a pop-up window will come up with the distance/bearing to that desired destination.

5. Click the “Move Next” button to move the compass to that destination.

6. Repeat steps 2-5 for the remaining legs of your trip, if any.

routelegs

Once you’re done, you can View/Print a Route:

routeprint

You can also save a route, and have a unique URL/ID # emailed to you so that you can access/import it later. There’s a Print Map option on the Menu, but it printed out a solid black square for me.

A few observations/suggestions:

1. Use the “Maximize This Map” option on the front page to generate a large map window to work with – makes things a lot easier.

2. Getting the compass alignment and red arrow distance right is tricky, as the compass response to mouse movements is “quirky”, to put it mildly – drove me nuts for 10 minutes until I finally got the hang of it. So getting the compass alignment right ma take some practice.

3. Bearings are given in both absolute map numbers, and compass-corrected for the for the local magnetic declination value, which is also listed. If your compass lets you adjust the magnetic declination, you have the option to do that and use the uncorrected map bearings.

4. The help section is a bit scattered and non-linear in organization, but still worth looking at; it contains some useful animated demonstrations followed up with animated examples that you can interact with.

5. The “Test Myself” button on the front page appears to be a dead link at present.

Via GoogleMapsMania.




Current National Weather Service Radar Data In Google Earth And GIS Formats

I’ve been using the website of my local National Doppler Radar Station for years now to monitor the animated radar precipitation loop, but I just noticed that there are a pair of links labeled KML and GIS Users. The KML link takes you to a page where you can select and generate a KML/KMZ link to live radar data from any single radar station, or from custom combinations of multiple radar stations. You can select from the data type you want:

  • Short-Range Reflectivity
  • Long-Range Reflectivity
  • Composite Reflectivity
  • Velocity
  • Storm Relative Motion
  • 1 Hour Precipitation
  • Storm Total Precipitation

and choose either animated loops or static images to display in Google Earth:

radar

For animated loops, I’d recommend setting the animation speed slider in the middle of the range or higher, and checking the Loop Animation box:

slidercontrol

And it usually takes several loops before all the image overlays fully load in for display.

The generated KMZ files are network links, updated every two minutes so that they’re always current. So if you download a KMZ link from this site, open it in Google Earth, then save it in My Places, you’ll always have it available for up-to-date radar views.

The GIS Users link takes you to a general info page, and then to a directory page where you can download static GIF images with current radar data. You’ll need to know the three-letter code designation for your desired radar station, but there doesn’t seem to be an easy way to look that up; go to the main page, click on the desired radar station, then hunt around on the page to find the 3-letter code. The GIF images have corresponding .gfw worldfiles for georeferencing (latitude/longitude, NAD83), so you can load them into your GIS viewer. The GIF background color is transparent, so if your GIS viewer supports it, you can display the data as an overlay on top of another map, like this one of one-hour-total precipitation on top of a topo map:

onehourprecip




Geotagging Coordinate Viewer For Adobe CS5

Adobe has released a free  plug-in for applications in their Creative Suite 5 (CS5) (e.g. Photoshop, Illustrator) that adds a “GPS” tab to the info window:

It doesn’t do a lot, just display an image’s embedded geotagging information in it, but it’s better than nothing. Available for both Windows and Mac.

From DPreview, via OgleEarth.




Personal Web Maps With StepMaps

StepMap lets you create distinctive personalized maps that you can save as an image, or embed on a web page. A step-by-step wizard walks you through the process.

Step 1: Choose a preset region and map style, modify the style as you wish, or upload your own map:

stepmap1

Step 2: Add points/icons, and connecting lines between points if you want. Click on the map to add a point; you don’t need to be exact in the positioning, as StepMap lets you automatically georeference the location based on its name.

stepmap2

Step 3: You can optionally upload media files (picture, video, audio, documents) and link them to locations, or just link web addresses to them:

stepmap3

Step 4: Give the map a title//description/tags, then save it ( you have to add all three, even if you don’t want to):

stepmap4

Once saved, you can print out the map right away, save it as an image, link to a map page, or embed it on your website using provided HTML code:

Where I've lived
Create a Map with StepMap

StepMap

Where I've lived

One advantage of embedding the map code rather than just the image is that if you later modify the map, the changes will automatically be reflected in the embedded map.

Basic functionality is completely free for private, non-commercial and education use, and some commercial use is free as well; consult the Terms Of Use table to see what usage is allowed, and also what you can get by subscribing to the paid service.

Via La Cartoteca.




Handheld GPS Units – Beyond The Manual

It’s no secret that the manuals many GPS makers puts out with their handheld GPS units aren’t always ideal. They can be very confusing, give cursory explanations of more complicated functions, and often leave out any mention at all of advanced functions. Plus, as firmware gets updated and features get added/dropped, the printed versions become out-of-date, and even the online PDF versions lag in adding descriptions of new features. Here are some online resources to help plug the info gaps for these units.

GPSFaqs.Org: Contains comprehensive FAQs for the following Garmin models -

If your eTrex model or GPSMap isn’t listed above,  you may find the answer you’re looking for in the FAQ for a different but comparable model, since most of these models share a similar OS/interface.

GPSFaqs.Org also has FAQs for Magellan GPS units; coverage is strong for Explorist models, but cursory for Triton models.

Yahoo Groups: A number of active groups for the GPSMap series (60Cx/60CSx and 76Cx/76Cx), as well as eTrex models (general and the Legend). Not a lot of action in the Triton or DeLorme forums.

Groundspeak GPS And Technology Forum: Free registration required. Regular postings/discussion on GPS units from a variety of manufacturers, mainly Garmin and DeLorme.

DeLorme Community Forum: Probably the best source for info about the DeLorme PN series of GPS receivers.

TritonForum: By far the best source of info for the Magellan Triton series.

GPSFix Wikis: Created by Scott at GPSFix.Net, an exceptionally strong resource for info about modern Garmin units in the following series:

gpsinformation.net: Tons of general info about GPS, and pages about specific units from a wide variety of makers, some dating back to the 1990s! May take a bit of hunting to find the info you’re looking for.




Look Up EPSG Codes From Well-Known-Text (WKT) / prj Files With Prj2EPSG

OpenGeo announces Prj2EPSG, a free online service that can look up the EPSG (European Petroleum Study Group) code for a coordinate system based on:

  • A WKT (Well-Known Text) description. e,g, copying and pasting WKT text into the box:

prj2epsg


yields the EPSG code 4326.

  • A .prj file, often found with shapefiles or other geographic data files to define the coordinate system; select the prj file to upload, and get back the original prj data in the box and the EPSG code:

prj

  • Type in keywords and get back a list of possible choices:

azspcs

  • Or just type in the EPSG code, and get back a data page with the coordinate system defined, and the WKT listed.

Click on any of the code links in the search results to get a full data page:

prjdata

It’s kind of picky about how you describe the data, and not necessarily in a consistent fashion. For example, enter “NAD 27” and you’ll get no results, but enter “NAD27” and you’ll get results; enter “WGS84” and no results will come up, while “WGS 84” yields lots of results. Only the top 20 results display, and that’s not always enough to find what you’re looking for; there’s no option to move on to another page of results, or change the total number of results displayed. Plus, partial matches aren’t allowed; entering “SWEREF” or “SWEREF 99” yields no results, you have to specify “SWEREF99”. So for now it’s a useful adjunct to, but not yet a replacement for, the Spatial Reference website that also allows searching of the EPSG code database with keywords, and which is more flexible in matching terms (e.g. it will find just “SWEREF”). But unlike Spatial Reference, Prj2EPSG has a web service interface that allows basic search queries.

Via SlashGeo.




waze: Free Crowd-Sourced Traffic Phone Apps

From email comes a link to waze, a free mobile phone app (iPhone, Android, Windows Mobile, Blackberry) that sends back real-time GPS-or-cell-tower-derived position/speed data from phones to determine where traffic problems might be occurring, and then alerts you to potential traffic issues. Here’s their video guided tour (click on “Go” to start):

Seems like a clever idea, but I see some problems:

  • Chicken-and-egg: the service only really becomes useful when lots of people use it in a specific area, but if they won’t use it until it become useful, it will never achieve critical mass. On the home page is a dropdown list of current areas at least partially covered by waze, and most of them show the project as being in the very earliest phase, with limited utility.
  • The business model relies on taking user-driving tracks, and using it to create updated navigation maps for sale; they also intend to rely on users to manually make road database updates. The OpenStreetMap project has already captured a large mind-share for this concept based on generating a freely-available database, and I wonder if people will do the same for a commercial service. They plan to offer rewards points and rankings to encourage this, but who knows?
  • The initial database is derived from US Census Tiger data, and doesn’t use OpenStreetMap data; they say it’s because of OSM’s data license, but I hear that may be in the process of changing. Tiger data isn’t bad, but OSM is better (since it’s Tiger data refined).
  • It’s not a navigation app, only a traffic app; this may put some people off since they may expect to nav app.
  • Finally, Google Maps, Bing Maps (and probably others) already offer real-time traffic data, although not with the same granularity as Waze might (i.e. local street data). But I don’t see why Google couldn’t add this particular feature to their Android navigation app fairly easily, and their large installed database would make it almost immediately useful.

But hey, it’s free – worth a look. Could be successful in the end.