blankblank blank


Archive for the 'GPX' Category

Removing Time Data Out Of A GPX Or KML File To Make It Work Right In Google Earth

In the process of writing yesterday’s post on Garmin Basecamp, I found an annoying flaw on how Google Earth handles GPX files. In a recent GPS talk I gave, I surprised some people when I told them that Google Earth can open some GPS-related formats like GPX, LOC and others directly; you just need to select the type of files you want to open with the drop-down in the lower-right corner:

open_gpx

But if the waypoints in GPX files come time-stamped, either with the time you created them in the field or in a program, Google Earth assumes that you want to use this time-related data, and brings up a time slider in the upper-left-hand corner:

timeslider

The first time you open the file, the time slider will run from start to finish, with waypoints popping up and disappearing as the time indicator hits their creation time. You only see all the waypoints when the time slider has run all the way through to the end. Very annoying.

But it gets worse. If you uncheck the GPS data box in the Places pane to hide the data, then check it again, you’ll see nothing at all except the time slider:

timeslider1

Hitting the play button on the time slider will make the waypoints appear and disappear quickly, and at the end the only waypoint visible will be the last one created; the time slider will look like this:

timeslider2

To see all the waypoints, you’ll need to move the “start-time-extent” slider all the way to the left:

timeslider3

Same behavior if you save the data permanently to “My Places”. This is pretty retarded behavior; I hope Google adds the option to turn off time-related data display when it’s not wanted. Until then, I banged together a simple Windows-only program called GPXTimeStripper that will remove all time-related data from a GPX file (KML files, too, although this may not work in every case).  Download the file at this link; it’s a zipped stand-alone executable. Run the program (won’t win any interface awards):

Click on the main button, choose the GPX or KML file you want to process, and the program will remove the time data from the file, and save it with “_TS” appended to the filename. You’ll get a pop-up box with the name and location of the new file, which should always be the same location as the input file.  If the pop-up becomes annoying (which it will), check the box in the lower-left-hand corner to turn it off. Help button takes you to this page; Exit does what you’d expect.

No real checks for overwriting older files, and may not work on every file correctly (report bugs). Use at your own risk. BTW,  Google, would it kill you to have KML files created in Google Earth terminate in CR-LF instead of just LF?  It would simplify the job of reading them in correctly.




Garmin Basecamp Revisited

It’s been a bit more than a year since I first looked at Garmin’s free Basecamp software, and wasn’t terribly impressed. I did say, “Hopefully future versions will be snappier, and add more features.”  I just did a GPS presentation to a local hiking group, and in preparation for that took a full look at the latest version of Basecamp (3.05). In short, it’s a major improvement over the first release; it’s now better than Garmin’s classic MapSource program for uploading/downloading/managing data. It’s so improved that it wouldn’t be a bad basic choice for creating data for use with non-Garmin GPS models; just export the data to GPX format, then use a program like EasyGPS to send it to your model. As an added bonus, it’s available in both PC and Mac versions.

Probably the most important addition is an associated tool called MapInstall, that lets you upload Garmin-compatible maps to your GPS unit. Prior to this, the only complete tool for doing this was Garmin’s MapSource program, only available if you purchased a Garmin mapset, or Garmin’s Trip and Waypoint Planner software, sold for $30. If you wanted to use free mapsets like those available at the GPS File Depot, you were out of luck; now, you’re not. MapInstall isn’t as good for uploading and managing maps as MapSource, but it should be good enough for most people:

mapinstall

But there are lots of other useful new features:

  • Faster and less buggy than earlier versions
  • Tiled (poster) printing of installed mapsets
  • Support for Garmin Custom Maps and Birdseye Imagery
  • Better route management
  • Conversion of tracks to simplified routes
  • Better waypoint, track and route management
  • Better export to Google Earth
  • Ability to import mapsets pre-installed on some GPS models

Still some issues left, some kind of weird:

  • Import of KML files is iffy
  • Help file is still incomplete
  • Only supports USB-interface models; older serial models are out of luck (though you can still export data and use EasyGPS to upload it
  • There are features listed on the update/download page that don’t seem to exists, e.g. “Added printing of USGS Quads and other public land survey areas.”
  • Be nice to be able to simplify tracks and still keep them as tracks; now, you can only save a simplified route.
  • Basecamp insists on exporting waypoints to GPX, Google Earth format with a timestamp even if you’ve created them in the program (and don’t want a timestamp).

I did some Basecamp demo videos as a reference to what I presented at my talk, and have put them up on YouTube; not terribly exciting, but maybe you’ll find them useful.




Archive Of Old GPS Firmware And Software Updates

If you ever feel the need to roll your GPS back to an older version of the system firmware, you likely won’t find it on the manufacturer’s website; they typically only have the latest version. The Garmin Software Archives has a pretty extensive collection of  older firmware updates that covers most Garmin units released over the past dozen years, as well as some for other makers as well (Bushnell, deLorme and Magellan). The collection is most comprehensive for handheld units (need an update for your 12XL?), but includes some marine, aviation and automotive units as well. The archive also had older software updates for Garmin programs like MapSource, Basecamp, WebUpdater, POILoader , nRoute, even the old USB programmer for Garmin’s proprietary memory card format. Some programs (e.g. MapSource) don’t let you downgrade to an older version, so you’ll need to uninstall your current version, then install a valid older version from one of your map discs before using one of the updaters from the archive.

Almost forgot: there’s a link at the archive to a great Garmin PDF from 2005 on using your GPS with paper maps; also includes a page of map tools that you can print on a transparent sheet and use with USGS 1:24K topo maps (map grid for UTM and compass rose, and two scale rulers).




Draw GPX Data Directly On Web Maps Using The GPS Visualizer Freehand Drawing Tool

I’ve posted recently about ScribbleMaps and ScribbleMaps Pro, web apps that let you draw features on a number of web maps (like Google Maps, OSM, and ESRI), and export the data in GPX format for upload to a GPS. Stopped by the GPS Visualizer website the other day, and just noticed that they have a similar application now, the GPS Visualizer Freehand Drawing Tool. On the down side, it doesn’t have nearly as many tools, editing options and output options as ScribbleMaps; on the plus side, because it doesn’t have a large number of tools and options, it’s easy and intuitive to use. And in addition to Google Maps and OSM Maps, it offers a number of background map options that ScribbleMaps doesn’t:

Continue reading ‘Draw GPX Data Directly On Web Maps Using The GPS Visualizer Freehand Drawing Tool’




Another Tool For Identifying Garmin Map Tiles

A few months ago, I covered GMapTool, a program that lets you identify the name and coverage area of a Garmin .img map file, whose only outward identifying info is a cryptic 8-digit filename that doesn’t reflect anything about its contents. Some people who have download the most recent version of GMapTool have reported getting virus warnings from their AV programs. I’ve checked GMapTool with MS Security Essentials (a terrific free AV program, BTW; unobtrusive, and doesn’t use a lot of system resources) and Avast antivirus, and neither one has spotted a problem – I suspect that the warnings are a false positive, though I can’t be sure.

Regardless, if you’re leery of using GMapTool because of the virus warnings, an alternative program is Mapsource Map Explorer. It doesn’t have the additional capabilities of GMapTool to split and combine .img map files, plus it only works on maps installed in MapSource (GMapTool can work on any .img file in a directory, not just those installed in MapSource). But if all you want is data characteristics for a set of installed map tiles, it does the job:

MapSourceExplorer

While the identifying map number may have less than 8 digits (e.g. “”162923” above), the .img filename for that map tile will have enough leading zeroes to pad out the name to 8 digits, i.e. “00162923.img”.




Draw Freely On Google Maps, Export In Multiple Formats

ScribbleMaps is one of the slickest Google Maps apps I’ve ever seen. Draw and/or place any of the following on a Google Map view:

  • Freehand lines
  • Straight lines
  • Circles
  • Rectangles
  • Arbitrary shapes
  • Text
  • Images (needs a web link to the image)
  • Standard Google Map/Earth placemark icons (select from multiple sets):

placemarks

You also have control of the color, opacity and line thickness from the toolbar, along with the ability to search for locations:

scribblemapcontrols

Once the shapes are created, you can move them, modify them by shifting vertices, rotate them, or erase them. Once done with your map, you have multiple export options:

  • JPEG
  • Print directly from browser
  • Embeddable widget (no Google Maps API key required):

  • Facebook map
  • Regular Google Maps view
  • Google Earth plugin (though this didn’t work for me)
  • KML file (for viewing in Google Earth)

scribblemapsGE

  • GPX (for export to your GPS); only exports points and lines, the only geometric shapes that GPX files support

You can also save your map for future editing, and get a dedicated web link for it; you choose a password for it so that only you can edit it, or delete it later.

Very slick, and very cool; I’m putting ScribbleMaps into my main bookmarks list.




Quick GPX Viewing In A Google Maps Interface With GPXViewer

It’s nothing fancy, but Zonum’s GPXViewer website lets you upload a GPX file (points and tracks), and then quickly plots it in a Google Maps interface:

gpxviewerz

No editing, export or additional info in this app, just display; but Zonums has other web apps like Digipoint and MapTool for that.




MapTool Goes To Version 2– Elevations, Areas, And Distances In Google Maps

I’ve covered Zonums Software free online application MapTool before; the original version let you determine the elevation of a point in a Google Maps interface, as well as measuring the length of a multi-segment path or drawn polygon, but not much more. Zonums has recently updated this application to  MapTool 2, which adds some really nice new functions (most accessible by clicking on the Options link at top):

  • Create vertices by manually entering coordinates, in addition to previous option of clicking on map (use Input link at the top for this)
  • Continuous coordinate read-out in both latitude/longitude and UTM
  • Divide a drawn line into equal parts by automatically adding equally-spaced vertices, or add vertices with a user-defined spacing
  • Convert a drawn polygon into a polyline, and vice versa
  • Edit individual vertices in a line or polygon
  • Get a count of the total number of vertices in the drawn feature
  • Get an elevation profile for all the vertices on a line

profile

  • Determine the extents (bounding box) for the drawn feature
  • Export the vertex coordinates as a text file
  • Export the line or polygon directly as a GPX, DXF or shapefile in latitude/longitude/WGS84, with the option to include vertex elevations