blankblank blank


Archive Page 34 of 106



Creating A Thematic Map Using Just Excel

A video/demo tutorial on creating a thematic map using just Excel, no GIS or extra programs required. I’d rather use a GIS, but if you’re really comfortable with Excel, it’s worth a look. Note: Any time the video demo stops, it probably means it’s waiting for you to click on something on the screen, usually highlighted in blue.

excelthematic

HT to Askan Schmeisser.




Georeferencing A General Textual Location With BioGeomancer

In the good old days, before 1994 or so, when commercial handheld GPS units first came onto the market, locations were often described in general textual terms, like “28 miles NNW of Gila Bend”, or “5 kilometers east of Mount Whitney”. BioGeoMancer Classic and BioGeomancer Workbench can parse these kind of textual descriptions, and convert them to a set of geographic coordinates.

The older Classic version has a text-only interface with limited options:

classic

And gives a text output:

results

matching

The “Map” option in Classic doesn’t seem to work, but the XML option does. Since the Classic version is no longer under development, it’s likely to stay in this format

The newer BioGeomancer Workbench version, still under development, has a Google Maps based interface. Enter a locality like “5 kilometers east of Mount Whitney”, and get a list of localities with their locations plotted in Google Maps:

WhitneyList

In this case, I was looking for Mount Whitney in CA, but it came up with an additional one in NY. By using “5 kilometers east of Mount Whitney, CA” as the location reference, the NY locality would be dropped:

CAWhitney

The more general geographic info you can add, the better you will be able to narrow down the possibilities. It looks like you need commas to delimit geographic data, since “5 kilometers east of Mount Whitney CA” won’t return any results.

Zooming in on the northern localities shows them plotted, along with the location uncertainty as a darker circle:

closeup

Clicking on a placemark brings up options to change the uncertainty radius, delete the placemark, delete all the other placemarks, or zoom in:

bgbubble

The only way to save the data now is to copy it from BioGeomancer and paste it into a different application. The help page indicates that in the future, you’ll have the option to save the data in spreadsheet format, and also do batch text georeferencing.




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



Curing Garmin Blue Flag Waypoint Disease

I’ve been asked this question twice already, which is good enough for me to write a post about it. If you use any of the color Garmin eTrex or GPSMap series, you’ll quickly discover that the default waypoint symbol, a blue flag, is pretty useless. It takes up a huge amount of screen space, and if you have multiple waypoints spaced closely together, it can become impossible to differentiate them. This is especially when the display is zoomed out to a lower scale:

blueflagdisease

There are a number of ways to deal with this problem.

1. Set the waypoints zoom level so that they don’t appear until you’ve zoom in.

The default setting for waypoints to display is Auto, which usually means that they’ll show up at virtually every zoom level. But you can set a specific zoom level so that waypoints don’t appear until you reach that zoom. From Setup Map – Points:

autowaypoints

Change the User Waypoints setting to the desired zoom level at which waypoints will first appear. E.g., the 800-ft. zoom:

800ftzoom

Since you’re zoomed in closer to the waypoints when they show up, they’ll be spaced more widely. But if you actually want them visible when zoomed out to a lower scale, you’ll need to do something else.

2. Change the default waypoint symbol on the Garmin unit to something smaller.

When you create a new waypoint on your Garmin, the waypoint icon used is the same as the last one used. If you’ve never changed the waypoint icon, that will be a blue flag. You can change the waypoint icon in the waypoint creation screen by moving the yellow highlight box using the arrow keys:

waypointhighlight

Then press Enter, and choose a smaller icon:

smallicon

I like the small green dot because it takes up far less display space than just about any other symbol. But you can choose any icon you want; or see my series on creating custom Garmin waypoint symbols if you want to design your own. Once you’ve selected a new waypoint symbol, it will be used for all subsequent waypoints you create on your Garmin.

3. Use MapSource to modify the waypoint icons.

Unfortunately, there’s no way on your Garmin GPS unit to bulk convert waypoint icon symbols created on your Garmin; you have to edit them on the unit one at a time. But if Garmin’s MapSource program (aka Trip and Waypoint Manager) came with your GPS or with a mapset you’ve purchased, you can easily do a symbol conversion, either one at a time or in bulk.

a. Use MapSource to download the waypoints from your GPS.

b. Click on the Waypoints tab to bring up a list of waypoints

Waypoint list

c. To change the icon for a single waypoint, right-click on the waypoint in the list and choose Waypoint properties; or, from the map, right-click on a waypoint and choose Waypoint Properties. This brings up a dialog box with a icon symbol selection drop-down:

waypointproperties

d. To change the symbol for multiple waypoints, Ctrl-click on them in the Waypoint list; to select all the waypoints, click in the Waypoint list and then press Ctrl-A. Then right-click on any selected waypoint, and choose a symbol; your choice will be applied to all the waypoints. You can then save these waypoints in a file, or export them directly back to your GPS. For the latter, you might want first to delete the old waypoints with the undesired symbol; Garmin unit give you the option in the Waypoints listing screen to delete all waypoints that share the same symbol.

Having done this with the waypoints in the first image, converting them to green dots:

greendots

You can now differentiate different waypoints, where before they were a mass of indistinguishable blue flags.

This is also a useful technique to use when creating waypoints in a program that doesn’t support Garmin waypoint icons directly, like USAPhotoMaps; loading waypoints directly from a program like this into a Garmin GPS may result in Blue Flag Disease. Create the waypoints in this program, then save them as a GPX file and load them into MapSource. You can then use the above process to select your desired waypoint icons, and load them into the GPS.

4. Use GPS TrackMaker to modity the waypoint icons

If you don’t own MapSource, you can use the free program GPS Trackmaker to import waypoints from a Garmin, or from a GPX file, and then modify they waypoint icons. One at a time is easy – with the cursor in “Select data” mode (white arrow), move the cursor to near the waypoint until a black circle appears. Right-click on that black circle to bring up the Edit Waypoint window:

gpstm edit

Click on the Garmin tab to see only Garmin-compatible symbols, then choose a new symbol from the icons visible in the window. You can then upload the icons directly to your Garmin from the GPS menu, or save them as a GPX file.

Bulk conversion is also pretty easy. Use the Select data cursor to select all of the waypoints you want to change (click-and-drag to select a rectangular box). From the menu at top, select Tools => Waypoints =>  Change Selected Wpts … . A window similar to the one above will come up:

gpstm bulk

As before, choose the Garmin tab, then select the icon you want to use. Save it as a GPX file, or upload directly to your Garmin.




Convert From AutoCad Format To KML And Vice Versa With KML Tools Pro

I don’t have AutoCad, so I can’t try this out, but KML Tools Pro has AutoCad DVB macros that let you select features in AutoCad and convert them to Google Earth’s KML format; similarly, another macro will let you import a KML file into AutoCAD. From the website:

From AutoCad to Google Earth:

  • select objects and create .kml file
  • export points, lines, text, polygons (beta)
  • apply the icon of your choice
  • select zoom level that objects are visible
  • output automatically layer colors
  • adjust weight and transparency of objects

From Google Earth to AutoCad:

  • digitize points, lines, polygons in GEarth
  • save “.kml”
  • import in AutoCad using wanted projection

Supported projections:

  • NAD-83′ State Plane (*Alaska Zone 1 not supported)
  • UTM zones
  • HATT
  • Greek Grid (EGSA 87)

The current download site is in Greek, but the link to the downloadable file is obvious at the bottom. An older version of the page used to be available at this link, but isn’t currently working; you might try the cached version of the page from Google.

For converting KML files to DXF format, you can also try this online converter.




Map Maker Gratis: Free Map Editor

Map Maker Gratis is the free version of the professional $400 GIS and map editor Map Maker Pro. I’ve been meaning to try it out for a while, since even the free version has a very strong feature set. From the website:

  • Unlimited number of layers, raster and vector.
  • Colour, mono, and grey-scale bitmap backgrounds.
  • Large range of fill, line, and symbol styles
  • Translucent and semi-translucent fills.
  • Curved, stretched, and outline text.
  • Arrows, and dimensions.
  • Easy to create scale bars, north points, legends, text panels, inset images, etc.
  • Point-and-click to pop-up images, documents and internet links.
  • Print accurately scaled maps on any true Windows compatible printer.
  • Multi-sheet printing of large maps.
  • Create from new or import and edit.
  • Vector drawing and editing.
  • Intuitive cutting and joining of polygons.
  • Create polygons with islands.
  • Simple editing of common boundaries.
  • Numerous “snap-to” options.
  • Drag, stretch, rotate, duplicate groups of objects.
  • Create buffer zones.
  • Calibrate raster images.
  • Use data from DBF files to colour up a map or determine symbols.
  • Generate legends.
  • Measuring areas and lengths is simple.
  • Edit data sets.
  • Import vector data including ArcView SHP, MapInfo MIF, AutoCAD DXF, Idrisi VXP.
  • View BMP, TIF, Geo-Tiff,  and JPG raster data.
  • Export BMP, JPG, TIF.
  • Export DBF data to Microsoft Access, Excel, dBase etc.

The Pro version adds support for 3D, raster-to-vector, on-the-fly reprojection, export of vector features from the native .dra format to standard formats (shapefile, MapInfo, etc.),  and more; see the comparison chart for all the differences. And the install program lets you try out the Pro version for 30 days before it reverts to the free Gratis version. So it seemed worth a look on a simple map project I was doing for a friend as a favor.

Having struggled with the program for a few days, I can see that it does have many features; unfortunately, it also has a fairly steep learning curve, especially for those used to more conventional GIS programs. For example, modifying vector file display attributes isn’t done by modifying the layer properties, but rather by defining a “style”, a set of descriptions for things like symbol, line width, fill patterns and more, and figuring out how to do that effectively takes some work (and sometimes doesn’t work the way you expect). Getting labels to appear in the position I wanted was a chore, and some of the label controls didn’t seem to work. You can have multiple layers of vector data loaded, but it seems that you can only work with data in a single, “active” layer, i.e. you can’t edit or add points to layers other than the active layer.  There’s a large PDF manual that comes with the program, and at first glance it seemed to be comprehensive. But when I ran into problems and looked in the manual for answers, more often than not I couldn’t find them.

I suspect that if I worked long enough with the program, I would eventually figure out what it can and can’t do. There are some limited tutorials available for download at the site, along with links to tutorials by other users. Given the feature set, and the price point of $0 for the Gratis version, I can’t complain too much, and can see myself revisiting the program at some point in the future to give it a more complete review.

I should mention that the program authors generously offer free licenses for the Pro version to any non-profit organization, educational institution, or students in Africa. Also, there’s a world clock / sunlit area display program called Sun Clock available for a 30-day full-featured demo; at the end of 30 days, some features disappear (like views of the sky and stars), but the world clock /sunlit areas feature remains free.

SunClock




Disaster Response Map Symbols

The Portuguese chapter of the Association Of Volunteer Emergency Response Teams, in collaboration with Peter Guth and Donald Springer, is working to create a general-purpose set of symbols useful in mapping the position and condition of infrastructure, resources and incidents during emergency situations. You can download these Disaster Response Map Symbols as a True Type font from the DRMS website, along with a PDF file that documents the symbols There are 253 symbols depicting infrastructure, resources and incidents (graphic from the help file for MicroDEM, Peter Guth’s freeware GIS):

drms table

And additional dot symbols that represent the status of the higher-level symbol:

drmsstatus

These status symbols would be plotted directly below the higher-level symbol, to indicates its condition/status:

commstatus

Any GIS software that can use True Type fonts for symbols or labeling can use the DRMS symbol set directly. But MicroDEM has some special capabilities built in for working with this symbology. Make sure you’ve used the most recent program install, which includes the DRMS True-Type font; also, download the latest executable and copy it into the program directory.

From MicroDEM’s File => Tools menu, selecting Military icon generator brings up the icon composer window; make sure the DRMS tab is selected:

iconcomposer1

Double-click on an icon to select it, and then modify it as you like:

  • Use the color button to modify the color
  • Use Left/Right/Top/Bottom to add text around the symbol.
  • Select the Infrastructure status to plot dots depicting the status of the feature underneath the symbol
  • Modify the test and symbol size using the arrow keys

iconcomposer2

Once the symbol design is complete, you can save the symbol to the clipboard to paste into a graphics program, or choose “Save to file” to save it as a PNG, GIF, JPG, BMP or Targa format graphic file for those GIS programs that let you select graphic images to represent points.

You can also plot these symbols directly on a map in MicroDEM. Open up a georeferenced raster image in MicroDEM:

raster

Clicking on the Map Annotation button on the toolbar (second from the left), choose Military icons from the drop-down, and then enter a filename to save the locations for the icons you want to place. You’ll then use the same Icon Composer interface as above to design your DRMS icons. The Left text is used as a feature ID in the DBF file, and also in the KML file you have the option of creating later on. Once you’ve designed your icon, you can double-click on the raster map to place the icon on that map:

mapwithicons

Click on the “Close” button in the Icon Composer when you’re done. You can now export this map image directly to a generic image file or GeoTiff using the appropriate File => Save … option. But by right-clicking on the map, choosing Load => Google Earth overlay, you can export both the raster image and vector points to Google Earth. Here’s the raster overlay in Google Earth (vector overlay is turned off):

drmsraster

And here are the vector points, with the selected icons, for the same area (raster overlay turned off):

drmsvector

These data files are loaded into Google Earth automatically, but they’re not saved; to keep them for future use, right-click on the dataset listed in the Google Earth Places pane, choose “Save Place As”, then save it as a KMZ file.

Closing the Icon Composer will also open up a DBF  table window with the locations of the points you’ve just created; you can convert that to a point shapefile by clicking on the Report button, then selecting point shapefile. There’s also an option with this Report to create a KML file, but make sure you save this KML file in an empty folder. As I found out by testing it, this option creates a KMZ file, copies every single file in that folder into the KMZ file, then deletes the original file from the folder. If this happens to you, rename the KMZ extension to ZIP, then use your favorite unzipping program to extract out the original files. Also, the KMZ file contains only the KML text data, which  references the graphic icon files in a local directory on your computer for display in Google Earth. If you want to save this file for future use on your computer or another computer, and keep the graphics, you will need to open the file immediately in Google Earth, then save it as a KMZ file (right-click, choose “Save Place As”,etc.).




Automating Your Garmin Oregon Photo Geotagging Flow Using GeoHarvest

There are a number of stand-alone Windows apps and web apps that led you geotag photos by matching the time they were taken with points on a GPS track (see the geotagging category of this blog for examples). But all of them require you to start up the program, load in the photos, load in the GPS track, and then start up the geotagging process. Flip Fahrenfort geotags a lot of his photos, and got tired of the multiple steps involved. So he wrote GeoHarvest, a program that automates the process to a large degree for owners of Oregon Garmin GPS units. When a memory card or camera is attached to your computer, it can automatically download a copy of digital photos from a memory card/camera to a folder of your choice, and keeps track of the photo filenames. When you connect a GPS, it will download track data and save it in GPX format. It then matches up the track times with the times the photos were taken, and geotags the photos with the appropriate coordinates.

The program can run continuously on your system, monitoring for all inserted memory cards or attached cameras with images to download, or GPS units with tracks to download as well. But if you want it to run this way, you’ll have to copy a shortcut to the program to your Startup folder manually, since the program doesn’t come with an install program that does that. It also can run in single-transfer mode, so that you can connect the data sources, have the photos geotagged automatically, then have the program terminate.

Unfortunately, since I don’t own a Garmin Oregon unit, I was unable to figure out how well it works with that unit. And while the program option suggest that you should be able to get the program to work with other GPS models with some manual work, I was repeatedly unsuccessful at this – GeoHarvest refused to accept GPX files generated by multiple programs. There are online help pages on program configuration and usage; if you can get it to work with your non-Oregon GPS, please leave a comment below.