About | Contact | SUBMIT PRESS | Advertise | FAQ
Newsletters | Twitter |
HomeNewsArticlesExpertsDataJobsEDULBSEVENTSDIRBLOGSocialGeoJobs
Videos | Webinars | Social Media | Free Resources | iOS News | Android News | GISuser Newsletter  
advertisement

Top Geo News
Put Your News here! 
 


Dev Tip - Esri Global Disaster Resilience App Challenge 2014

Got news? TELL US...
submit press to GISuser

Social Connect




@GISuser

GISuser Sponsor


GISuser Videos


See also SpatialVideos Youtube

Recent Site Additions
GISuser Sponsor

GIS Job Opportunities
Geojobs.biz careers 

More at GeoJobs.BIZ!

GISuser Sponsor


    

HOT JOB
post a GIS job * THE NEW GEOJOBS.BIZ!!! * 
See THOUSANDS of jobs on GeoJobs.Biz
Automatic TerraServer Downloads with USAPhotoMaps PDF Print E-mail
Written by Digital Grove   
02 June 2004
USAPhotoMaps is an exceptional, free tool developed and distributed by Doug Cox. Use it to automatically retrieve and display TerraServer aerial photos or topographic maps. The program also connects to GPS receivers to display tracks and waypoints or real-time locations

USAPhotoMaps is an exceptional, free tool developed and distributed by Doug Cox. Use it to automatically retrieve and display TerraServer aerial photos or topographic maps. The program also connects to GPS receivers to display tracks and waypoints or real-time locations (below). A companion utility, BigJPEG, merges TerraServer image tiles into geo-referenced files that can be used in other spatial mapping programs.

USAPhotoMaps comes packaged with a simple installer that unzips the program and places a shortcut (below) on your desktop.

  • After starting USAPhotoMaps (double-click the shortcut), you begin the process of image retrieval by choosing "File>New Map File". Provide an initial latitude/longitude or UTM coordinates for your project in the box that opens. For the Lat/Lon, you can use just decimal degrees or enter degrees, minutes and seconds if your location is in that format. See Digital Grove Links for sites that will quickly provide the Lat/Lon of a location you are interested in. 

  • The screen will first display a grid of gray, blank placeholders. Click on "File>Download Map Data>Fill Screen" (or tap "F" on the keyboard), and the tiles begin to fill in as shown here:

You can scroll the screen with the arrow keys on your keyboard or zoom out (Page Up key) and ask the program to again fill the screen (tap the "F" key). The program will connect with TerraServer and fill in the blank tiles until you have all the images you need.

How long does the download procedure take? If you want an image about 4.5 square miles square (about what you'd fit on a computer monitor at 1024x768 resolution when the zoom is set to four meters per pixel), USAPhotoMaps will retrieve approximately 1.6MB of data. 280 TerraServer tiles at 1 meter resolution are downloaded. With an Internet connection receiving data at about 30KB/second, it takes a little less than one minute to download the images. The process is smooth with a broadband connection, but some people may experience hang-ups if they are using a slow modem.

If you want to use the downloaded images in a geospatial program like fGIS, Map Maker or Global Mapper, you'll need to use the procedure described below to merge the tiles and generate a GIS World Coordinate file.

Merging Images with USAPhotoMaps-BigJPEG

The USAPhotoMaps download page includes a utility called BigJPEG. BigJPEG will assemble the image tiles downloaded by USAPhotoMaps into one georeferenced image. To operate properly, a copy of the BigJPEG.exe program and the file "ijl15.dll" (a USAPhotoMaps application extension found in the USAPhotoMaps folder) must be copied to the  directory where the image tiles are stored. Aerial photo image tiles are stored in the "BigPhotoMapsData " folder, whereas topographic map image tiles are saved in the "USAPhotoMapsData" folder. You might want to copy BigJPEG and its dll to both data directories. You could create desktop shortcuts to the BigJPEG program or start the program file by double-clicking it from within Windows Explorer.

Since BigJPEG is simple code, it requires some user interaction in the following procedure:

  1. From the USAPhotoMaps "File" menu, click "Boundaries for BigJPEG".

  2. Drag a bounding box (depress the left mouse button and pull the mouse down and to the right) over the image tiles you want to join. Release the mouse button. The program will then write a small text file that records the corners of the area you selected. The text file is named based on the UTM easting, northing and zone number of the box's top left corner. You'll see a notice like the following when that step is finished:

  1. Start BigJPEG from either the photo or topo data directories. It will search for text files with naming conventions like that shown above. Cycle through the choices by tapping the cancel key until you see the file you want listed:

  1. Click OK, and BigJPEG will save an image file (ending in "jpg") and a world coordinate file (ending in "jgw") in the USAPhotoMapsData folder. You might want to move those two files to a project folder. If you rename the files, make sure the first part of each file name is identical (such as Camp_Douglas.jpg and Camp_Douglas.jgw). That way, mapping programs can find the world coordinate file associated with the image.

The world coordinate file from the preceding process would look something like the following if you were to open it with a text editor:

Click here if you want to know what each line means. Since the names of the map projection and datum are not part of the world coordinate file, many mapping programs (including Global Mapper) will need you to provide that information. TerraServer aerial photos and topographic map images use the Universal Transverse Mercator (UTM) projection and the NAD83 datum. You'll also need to provide the UTM zone number. Using the world coordinate file and the name of the projection/datum/zone, mapping programs can correctly position the image in relation to other geographic data.

Using USAPhotoMaps with your GPS Unit

If you have a GPS Unit, USAPhotoMaps can connect to it and display your waypoints and tracks directly on TerraServer images. The program will work with any brand GPS receiver as long as it comes equipped with a serial cable for the PC and supports either a Garmin or NMEA protocol.

You will need to set up USAPhotoMaps so it can find where your GPS unit is connected and so it knows what transfer rate to use. Here are the settings for my Garmin unit (yours will probably use Comm 1 or Comm 2):

  

Select GPS>Track>Receive, and the track points will be saved as a file and displayed as a poly-line overlay on the photo as shown below. Waypoints can also be received and displayed in a similar manner.

Another very useful feature of USAPhotoMaps is its ability to send waypoints to your GPS unit. Say you want to explore a parcel of woodland, and you'd like to know when you are getting close to the corners of the property when you are out walking around...

You can pick and name the property corners (or other features) on an aerial photo:

...and use USAPhotoMaps to send them as waypoints to your GPS:

USAPhotoMaps Screen Capture

Garmin GPSMAP 76 Screen Showing Waypoints Transferred by USAPhotoMaps

As you navigate with the GPS unit in the field, you will be able to use the corners that you marked and sent as reference points. If you are also using the optional "Convert SDTS Data" terrain elevation utility (found at JDMCox Software), the GPS points that you send to your GPS unit with USAPhotoMaps will include USGS DEM height data.

With the Convert SDTS Data tool installed, elevation contours will be displayed as an overlay. Simply download zipped 30-meter SDTS DEM files to the USAPhotoMaps folder and run the Convert SDTS utility. It will unzip the files and adapt them for use by USAPhotoMaps. When elevation data is present, it is displayed as contour lines and as an elevation reading in the title bar for the position of the cursor. Waypoints sent to a GPS unit will also carry the elevation values.

If you can't pick out the points you want to transfer from the aerial photo, you can switch the view to the topographic map option:

The topographic map view provides section lines and other reference marks that might be clearer than on the aerial photos. The resolution of the topo maps is limited, however, to four meters per pixel (as compared to one meter per pixel maximum for the aerial photos).

Real-Time Location Display

If you travel with a GPS unit and laptop PC, USAPhotoMaps can display your real-time track on a photo or topo map as you move. Simply connect the GPS unit to your laptop PC via a serial cable, start USAPhotoMaps, and select "GPS>Show Location". You might also want 12-volt cigarette lighter adapters for your PC and GPS unit so they can be connected to your car or truck's power supply or external battery.

If you plan to use the program in real-time, download or transfer your background image tiles to the laptop or a CD in advance. The "USAPhotoMaps.txt" file that comes with the program explains the procedure for saving image tiles to a CD. Take care when you are in a moving vehicle to watch the road, not your laptop screen.

Digital Grove offers simple, practical information about digital cartography, GPS and Geographic Information Systems.

Suggested Web Resources:

Last Updated ( 17 December 2008 )
 
< Prev   Next >

 Did you enjoy this article/news and want to stay informed? 
Click to subscribe to the 2X A Week GISuser Today E-Newsletter


Submit Your GIS/Geo News/PR


Featured Events
  • FOSS4G 2014 - Put on by OSGeo, FOSS4G is the international gathering of open source and geospatial tribes. Join us in Portland, Oregon, USA, Sept 8th-12th
  • Esri Business Summit July 12-15, 2014 - Learn what works and what doesn't work when applying Location Analytics and GIS to business processes from the experts – people just like you. Get the backstory on just how much GIS and Location Analytics is making a difference in their businesses.
  • Trimble Dimmensions - Trimble Dimensions User Conference is the premier event of the year for professionals wishing to stay on top of the most current information on a wide range of technologies. This educational, networking and hands-on training conference provides insight into how you can achieve greater success in your workplace. Nov 3-5, Las Vegas, NV

 List Your Event Here 

THE GISuser Newsletter

See Recent edition
newsletter

subscribe GISuser

We won't share your address!
Sponsor


Popular Stuff!


GISuser Site Sponsor


Partner Sites

lidar news
lbszone.com

amerisurv

symbianone

geojobs Geo jobs

geoLearn

A Spatial Media LLC property



Spatial Media, LLC ©2003 - 2013 All rights reserved / Privacy Statement