Click here to get back home

GUI to make geotiff metadata

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
GUI to make geotiff metadata chrisaaaaa 10-11-2006
Posted by chrisaaaaa on October 11, 2006, 7:56 pm
Please log in for more thread options
I must be going mad, it cannot be this hard :)

I have some rectangular map bitmaps, I have the lat/long of upper-left
and bottom-right. Iwant to make these into GeoTiffs that will work with
my GPS/PDA.

There must be a program that makes the geotiff metadata file from this
information, I cannot believe I have to calculate the distance accross
the map and scale this to the number of pixels to enter into the
ModelPixelScaleTag.

Does anyone know of a little util to do this?

Chris


Posted by Paul Cooper on October 12, 2006, 6:52 am
Please log in for more thread options
On 11 Oct 2006 16:56:31 -0700, chrisaaaaa@googlemail.com wrote:

>I must be going mad, it cannot be this hard :)
>
>I have some rectangular map bitmaps, I have the lat/long of upper-left
>and bottom-right. Iwant to make these into GeoTiffs that will work with
>my GPS/PDA.
>
>There must be a program that makes the geotiff metadata file from this
>information, I cannot believe I have to calculate the distance accross
>the map and scale this to the number of pixels to enter into the
>ModelPixelScaleTag.
>
>Does anyone know of a little util to do this?
>
>Chris


Your information is insufficient - you ned to know the projection of
the image. If you scanned a map it is very unlikely to use x =
longitude and y = latitude, as simply using latitude and longitude as
linear coordinates gives unacceptable distortions. EVen Mercators
projection, which uses axes the are parallel to latitude and longitude
is scalled differentially with latitude in a complex manner (I'm
afraid that this is a gross over-simplification!) The projection (and
there are very many possibilities) is one thing you need to know to
create the geotiff header. The other thing you need to know is the
datum - in other words, what spatial framework the map uses. GPS, for
example, uses WGS84, but maps may well use others, and the difference
is quite substantial in the context of GPS - up to several hundred
metres difference. Again, you need this information to create a
geotiff.

I understand there are utilities to create geotiff headers out there,
but you need a lot more information than just the lat,long coordinates
of the corner points of an image.

Paul

Posted by chrisaaaaa on October 12, 2006, 7:42 am
Please log in for more thread options
I can dig up the projection and datum, with this and the co-ordinates
of opposite corners do I have enough?

Chris

wrote:
> On 11 Oct 2006 16:56:31 -0700, chrisaa...@googlemail.com wrote:
>
> >I must be going mad, it cannot be this hard :)
>
> >I have some rectangular map bitmaps, I have the lat/long of upper-left
> >and bottom-right. Iwant to make these into GeoTiffs that will work with
> >my GPS/PDA.
>
> >There must be a program that makes the geotiff metadata file from this
> >information, I cannot believe I have to calculate the distance accross
> >the map and scale this to the number of pixels to enter into the
> >ModelPixelScaleTag.
>
> >Does anyone know of a little util to do this?
>
> >ChrisYour information is insufficient - you ned to know the projection of
> the image. If you scanned a map it is very unlikely to use x =
> longitude and y = latitude, as simply using latitude and longitude as
> linear coordinates gives unacceptable distortions. EVen Mercators
> projection, which uses axes the are parallel to latitude and longitude
> is scalled differentially with latitude in a complex manner (I'm
> afraid that this is a gross over-simplification!) The projection (and
> there are very many possibilities) is one thing you need to know to
> create the geotiff header. The other thing you need to know is the
> datum - in other words, what spatial framework the map uses. GPS, for
> example, uses WGS84, but maps may well use others, and the difference
> is quite substantial in the context of GPS - up to several hundred
> metres difference. Again, you need this information to create a
> geotiff.
>
> I understand there are utilities to create geotiff headers out there,
> but you need a lot more information than just the lat,long coordinates
> of the corner points of an image.
>
> Paul


Posted by Mattan on October 12, 2006, 5:52 pm
Please log in for more thread options
chrisaaaaa@googlemail.com wrote:
> I can dig up the projection and datum, with this and the co-ordinates
> of opposite corners do I have enough?
>
> Chris
>

Maybe GDAL can be of help? Check out gdal_translate and gdalwrap,
in that order, at http://www.gdal.org/gdal_utilities.html

Good luck,
Mattan

Posted by Tad McClellan on October 12, 2006, 6:21 pm
Please log in for more thread options

> Maybe GDAL can be of help? Check out gdal_translate and gdalwrap,
^^^^^^^^

gdalwarp instead. :-)


--
Tad McClellan
tadmc@augustmail.com
Fort Worth, Texas

Similar ThreadsPosted
Cross-Platform Metadata Storage App January 13, 2006, 8:17 pm
Need to make three components RGB maps September 12, 2006, 4:05 pm
Problem in extracting metadata from tiff file August 8, 2006, 3:44 pm
how to make own image file format August 2, 2007, 5:04 am
Has anybody found a quick way to make tiles for Google Maps from within ESRI 9.0? October 17, 2006, 10:28 am
Landform characterization - additional explanation since the picture of nine slope types didn't make it through April 19, 2004, 6:29 pm
geotiff orthorectification using a DEM March 23, 2004, 9:12 pm
mrSID -> geoTIFF August 22, 2004, 11:25 pm
GeoTiff help for old map scan May 17, 2006, 7:31 am
GeoTIFF will not display July 13, 2006, 8:18 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap