[OpenMap Users] Converting BMP+LatLon to GeoTiff

From: Pete Flugstad <pete.flugstad_at_gmail.com>
Date: Fri, 8 Oct 2010 21:31:05 -0500

I have a several hundred bmp files with associated .wif files,
which contain the Lat/Lon information for the BMP. The
.wif files have contents like:

   token World_Information
      Corner1 : -90.0 -180.0 0.0
      Corner2 : -45.0 -180.0 0.0
      Corner3 : -45.0 -135.0 0.0
      Corner4 : -90.0 -135.0 0.0
      Transparent : 0 0 0 255
      Name : "World"
   end

My end goal is to display these in OpenMap, and I figured the easiest
way would be to turn them into GeoTIFFs. So I've been trying to use
gdal_translate to convert them into geotiffs, applying the lat/lon along the
way. The resulting files seem to be geotiff's but not valid ones as far
as OpenMap is concerned. I get listgeo shows (not real data):


$ listgeo.exe Riley_imagery_0_0.tif
Geotiff_Information:
   Version: 1
   Key_Revision: 1.0
   Tagged_Information:
      ModelTransformationTag (4,4):
         -2.69633463541308e-0060 0 41.8123456
         0 2.6963346354177e-0060 -87.76737304
         0 0 0 0
         0 0 0 1
      End_Of_Tags.
   Keyed_Information:
      GTModelTypeGeoKey (Short,1): ModelTypeGeographic
      GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
      GeographicTypeGeoKey (Short,1): GCS_WGS_84
      GeogCitationGeoKey (Ascii,7): "WGS 84"
      GeogAngularUnitsGeoKey (Short,1): Angular_Degree
      GeogSemiMajorAxisGeoKey (Double,1): 6378137
      GeogInvFlatteningGeoKey (Double,1): 298.257223563
      End_Of_Keys.
   End_Of_Geotiff.

GCS: 4326/WGS 84
Datum: 6326/World Geodetic System 1984
Ellipsoid: 7030/WGS 84 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)

Corner Coordinates:
Upper Left (41.8123456,-87.76737304)
Lower Left (41.8123456,-87.76737304)
Upper Right (41.8123456,-87.76737304)
Lower Right (41.8123456,-87.76737304)
Center (41.8123456,-87.76737304)


Thanks,
Pete

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Oct 08 2010 - 22:31:45 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT