About | Contact | Register | Advertise | FAQ
Free GISuser Newsletter
HomeNewsArticlesDataJobsEDUCommunityGalleryForumsLBSzoneSTOREBlogFlickr
Software | Spotlights on Geospatial Data | GIS Education / Events | Hardware | Mobile | Web Services | Earth Imagery  
advertisement

GISuser Newsletter

GIS & LBS News - 3X A Week
View recent edition

newsletter
 
Get the popular GISuser Today Newsletter SUBSCRIBE HERE
Register as a GISuser!

RSS Get GISuser via RSS


GISuser Sponsor


Recent Site Additions
New Features in Geographic Transformer 6.0
New Online Master’s Degree in Geographical Information Science to be offered at Denver University
GeoEye to Launch World's Highest Resolution Commercial Earth-Imaging Satellite Sept. 4, 2008
Track Flooding During Tropical Storm Gustav in Real-Time
Fugro EarthData Wins MAPPS Project Of The Year
ITT Announces New Distributor for ENVI Software in Greece
ArcGIS Online Now Offers Quick Access to Premium Imagery Data
1Spatial flies the flag in Australia targeting the AU$1.37bn spatial information industry
RapidEye constellation launched successfully
Learn to Secure Web Applications and Services with ESRI's ArcGIS Server 9.3
NGA Debuts New Public Website; GEOINT Online Collaboration Communities Featured


GISuser Sponsor


GISuser Events
August 2008
MTWTFSS
28
29
30
31

GISuser Sponsor


GISuser Web 2.0

GISuser Sponsor


Home arrow Articles arrow Data arrow Automatic TerraServer Downloads with USAPhotoMaps     

GISuser HOT JOBS!
MORE COOL STUFF! GISuser Today , the Flickr & the AnyGeo Blog, Map Gallery

Automatic TerraServer Downloads with USAPhotoMaps   PDF  Print  E-mail
Written by Digital Grove  
Thursday, 03 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:

 

Number of comments (0) - Add your comments to this article...


Digg!

Share This Item 

del.icio.us / Furl / digg this item!Digg / Slashdot / Y!MyWeb / reddit / newsvine  addtoany
Share on Facebook

Get the GISuser Today Newsletter (3X a week!)
 


The Editor's Blog


Glenn's AnyGeo BlogSee more threads and details about Glenn's AnyGeo Weblog HERE The Editor (Glenn) started the AnyGeo blog some time ago and the threads are now also mirrored here at GISuser.com - RSS feed is available to add to your favorite news reader.

Featured Events
  • GITA 17th Annual GIS for Oil & Gas Conference and Exhibition, set for Sept. 21-24, 2008 - The conference is the only event of its kind, devoted exclusively to geospatial applications and technologies for all aspects of the oil and gas industry.
  • GeoInt 2008 - Join us for the 5-year anniversary of the GEOINT SYMPOSIUM October 27-30 in Nashville, Tenn., where you'll have an unparalleled opportunity to learn, network and discover as we discuss the importance of being Mission Focused while Transitioning to the Future.
  • GITA's First Annual GIS for Oil & Gas Conference - The GIS for Oil & Gas Calgary Conference will build on the momentum from GITA’s GIS for Oil & Gas Conference held in Houston, Texas, every September. Nov. 6-7, 2008, Calgary Marriott Hotel, Calgary, Alberta, Canada

List Your Event Here


Recent GISuser Discussions
1: GIS by luay khalaf salameh
2: Mapping,EnvironmentalGIS researcher by luay khalaf salameh
3: Free COGO software by Martin Feuchtwanger
4: GIS Account Manager Cover Letter by Douglas Ruhl
5: GeoSpatial Sales Account Management by Douglas Ruhl

show last 4hrs - 24hrs

Google Geospatial Search
Google
 

 

or... try our CUSTOM GISuser Google Search!

Contribute to the GISuser Search (by Google)


Today's Top News


Sponsor




GISuser RSS Feed
Get the latest Geospatial news
direct to your desktop
RSS


feedburner
add to google reader




technocrati

See ALL the GISuser Feeds


GISuser Site Sponsor


Most Popular
Gmaps 101 - An Introduction to Google Maps & The Google Maps API (Part 1)
The GISuser's Guide to locating and downloading Free USGS data
Hackers Tap Into the Functionality and Simplicity of Google Maps
GISuser Guide to downloading Free 7.5 minute DEMs
Gmaps 101 - An Introduction to Google Maps & The Google Maps API V2 (Part 2)
BearingPoint, ESRI SAS Introduce Leading-Edge Development Planning Solution for Commercial Retailers
GIS Community Resources
State GIS Clearinghouse Directory - Update, July 2004
ShakeMap — A Tool for Earthquake Response
Maps and cartograms of 2004 US presidential election results

GISuser WebMaps

Global Land Cover 2000 database

GISuser HOT Spots!

Google Mashup Zone
GISuser WebMaps
Free Data Articles
Spotlights & Tips
GISuser Resumes
Data Links
10 Cool Things
The LBS Zone!


Partner Sites

Geo Widgets

 


Affiliations


Get GISuser news & updates via RSS


Mobilize / Share

GIS / LBS Mosh
Add to my Widsets


Top Stops

GISuser Site Login
Username

Password
Forgotten your password?
No account yet? Create one




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