Since then I have written a much more sophisticated utility that overcomes all these limitations. I call it "Tiler for ExpertGPS". Here are some of its features:
* Permits creation of map tiles (aerial or topographic) to augment or replace the map tiles that ExpertGPS downloads from Terraserver-USA. User does not need to insure that bounding coordinates of source image fall exactly on the Terraserver tile grid, that source image pixel dimensions are an even multiple of 200, or that source image is projected in UTM NAD83.
* Reads most geographic image file formats (e.g. tif, geotiff, jpeg, jpeg2000, ecw, MrSid).
* Permits creation of 1 meter/pixel, 4 meter/pixel, 16 meter/pixel, 64 meter/pixel, and/or 256 meter/pixel tiles from just one source image file of any scale.
* Permits creation of tiles from really large source images (multi-gigabyte) because the whole source image is not loaded into memory at one time.
* Permits saving tiles in an existing ExpertGPS map folder or a separate non-map folder both with or without overwriting existing tiles. If tiles are saved to a separate folder, Tiler will create an appropriate ExpertGPS map folder hierarchy under that folder.
* If the source image file has embedded projection and georeference information as in a GeoTiff file, if needed Tiler will automatically reproject and rescale a temporary copy of the image (warp the image) to UTM NAD83 in the correct UTM Zone consistent with Terraserver/ExpertGPS tiles. This may result in narrow black triangles (no data areas) on border tiles that have to be reprojected.
* If the source image has only an accompanying world file with georeference information (this is the minimum requirement), Tiler will automatically use that information. The user can then manually specify the projection (Lat-Long, UTM, or State Plane), the Datum (NAD27, NAD83, or WGS84) and the linear units (meters, Intl Feet, US Survey Feet, or degrees) of the source image. Tiler will then reproject and rescale as needed to produce tiles.
* If the source image spans a UTM Zone boundary (e.g. part of the image lies in UTM Zone 14 and part in UTM Zone 15), Tiler will automatically deal with each part separately and produce correctly projected ExpertGPS tiles in both Zones.
* If it is necessary to warp the image, Tiler will check if the computer has multiple cpu's or multiple cores and if so will use multiple threading to process chunks of image and perform input/output operation simultaneously, speeding the warping process.
* User may specifiy "crop-in" on the source image so that tiles have a minimum of "no-data" borders, or "pad-out" on the source image so that none of the edge information in the source image is lost in the tile making process. "Crop-in" will most often be used when tiles are being created to replace downloaded Terraserver tiles. "Pad-out" would be appropriate when the user wants to create a separate ExpertGPS map folder for a special project and wants all of the source image to be included at all map scales. However, at 64 pixel/meter and 256 pixel/meter scales, the source image will likely just be a small area of map detail located inside a large black tile(s).
* Provides a running status report on what the program is doing at any give time.
Here is a look at the interface:

Tiler for ExpertGPS uses the GDAL/OGR library of spatial tools developed by Frank Warmerdam, and which is now an open-source project. As such, in order to use Tiler for ExpertGPS, you must download FWTools version 1.3.1 or later from http://fwtools.maptools.org/ and install it in your Program Files folder. You must also have Microsoft .NET Framework version 2 or later installed on your computer. Tiler for ExpertGPS does not use Imagemagick.
The first time you run Tiler for ExpertGPS is will check that you have FWTools 1.3.1 or later installed, and will add the location of the FWTools bin folder to your environment path variable. It will also create 4 additional environment variables. These are the only changes that Tiler for ExpertGPS will make to your system. You can place the folder containing Tiler for ExpertGPS anywhere you want on your harddrive. In addition to the executable Tiler.exe, there are 4 dll files in the folder that must also be present.
You can download a zip file containing Tiler for ExpertGPS from this LINK. Take a look at the "read me" pdf file in the folder after you unzip the downloaded file.
To give you some idea of how long the tiling process takes, I recently processed a 1GB 24-bit RGB tiff file into 8700 tiles at 1 meter, 4 meter, and 16 meter scales in about 26 minutes. A similar 2GB file that resulted in 17,700 tiles took 77 minutes. Small files can be tiled in a shorter time. While the utility is able to read MrSid and ECW files directly, extracting tiles from these formats is extremely slow, so Tiler for ExpertGPS will expand these filetypes into temporary Geotiff files in the Temp folder on your harddrive. However, a 500MB MrSid file can easily turn into a 25GB Geotiff file....so be careful! In such a case it would be better to export a smaller area of interest using MrSid Viewer and then convert that into tiles for ExpertGPS.
I have converted many USGS DRG's, a few Canadian Topos, and portions of many U.S. aerial photos (mostly NAIP images), with Tiler for ExpertGPS and have eliminated the bugs I have found. However, it's likely that some remain. If you run into one, let me know here and I will try to fix it. I developed and tested Tiler for ExpertGPS under Windows XP. I have no idea if it plays well with Vista. As with all free software, use at your own risk and I hope you find it helpful.
Tim Osborn

Sign In
Register
Help

MultiQuote