First off, Thanks! I am very glad that you have added this as it makes it so much easier to lay out real world data. A few questions / problems I have run into so far however.
The data I am using is Canadian DEM data which in format is very similar to the typical USGS data. My example file is 0.75 arc seconds using the NAD83 Datum.
I am using GlobalMapper v8 to do the conversion from .dem format into 32bit Geotiff which also saves a .tfw and projection file (.prj)
Now the problem is that the .tfw file is in the UTM coordinate system in the following format:
0.75000000000000000
0.00000000000000000
0.00000000000000000
-0.75000000000000000
-424800.00000000000000000
180000.00000000000000000
* Line 1: pixel size in the x-direction
* Line 2: rotation about y-axis
* Line 3: rotation about x-axis
* Line 4: pixel size in the y-direction
* Line 5: Easting UTM coordinate
* Line 6: Northing UTM coordinate
Now it seems that TG2 does not currently reference the image properly if the data is in UTM format and it would be really nice if it was able to do so.
When loaded this file inputs the following fields:
NW Corner lat long: xyz: 180000, 0, -424800
NE Corner lat long: xyz: 180000, 0, -423000
SE Corner lat long: xyz: 179100, 0, -423000
SW Corner lat long: xyz: 179100, 0, -424800
When it should be converted to this:
NW Corner lat long: 50, -118
NE Corner lat long: 50, -117.5
SE Corner lat long: 49.75, -117.5
SW Corner lat long: 49.75, -118
Second question is regarding the Apex field. Is this the center lat, long of the imported heightfield or one of the corners? For my example that would be 49.875, -117.75. This should theoretically move the entire heightfield to the 0,0,0 worldspace if I am correct.
Third, is there any chance of getting a "zoom to heightfield" button that will move the camera above a particular heightfield. When working with tiny heightfields it can be a pain to try and find a 10km x 10km heightfield on the other side of the planet.
Fourth, would it be possible to add the georeferencing features to the image map shader as well? It would be really helpful to be able to georeference an image overlay that would line up exactly where it should in real world space. For example overlaying a road network exactly where it should be.
Thanks!
If you need/want any example files please let me know and I will make them available.
-ryan
Edit: Added files here:
RAW DEM Data:
http://www.archer-designs.com/temp/dem/082f13.zip (5mb)
Converted Geotiff with .tfw and projection file:
http://www.archer-designs.com/temp/dem/82f13-geotiff.zip (3.3mb)