🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.soft-sys.gis.esri
4 messages
4 total messages Started by Martin Hvidberg Mon, 06 Sep 1999 00:00
Q: How to read and understand a "world file"
#10
Author: Martin Hvidberg
Date: Mon, 06 Sep 1999 00:00
52 lines
2750 bytes
This is a multi-part message in MIME format.
--------------BB960C3EFA0A830D4E9CD748
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Dear all

I have to be able to read "world files" and write (sorry) mapinfo .tab
files.

Anybody know how a world file (.tfw) are put together, and how to decode
it???

In the future I will most likely need to go the other way, i.e. read
.tab files and write world files. Therefore any factual information on
the subject(s) are mostly welcomed

Best regards & Thanks in advance

Martin Hvidberg
M.Sc. Physical Geography
Danish Forest and Landscape Research Institute, GIS lab.
H�rsholm Kongevej 11
DK-2970 H�rsholm
DENMARK
Pho.: +45 45 76 32 00 (direct +45 45 17 83 27)
Fax.: +45 45 76 32 33 (direct +45 45 76 57 56)
Email.: mhv@fsl.dk
Url: http://www.fsl.dk/eng/


--------------BB960C3EFA0A830D4E9CD748
Content-Type: text/x-vcard; charset=us-ascii;
 name="Martin.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Martin Hvidberg
Content-Disposition: attachment;
 filename="Martin.vcf"

begin:vcard 
n:Hvidberg;Martin
x-mozilla-html:TRUE
url:http://www.fsl.dk/eng/index.htm
org:Danish Forest and Landscape Research Institute;GIS
adr:;;H�rsholm Kongevej 11;H�rsholm;;DK-2970;Denmark
version:2.1
email;internet:Martin@Hvidberg.net
title:Researcher, M.Sc. Physical Geography
fn:Martin Hvidberg
end:vcard

--------------BB960C3EFA0A830D4E9CD748--
Re: How to read and understand a "world file"
#11
Author: Sergey
Date: Mon, 06 Sep 1999 00:00
42 lines
2474 bytes

Martin Hvidberg <Martin@Hvidberg.net> wrote in article
<37D3BDA9.7556552@Hvidberg.net>...
> Dear all
> 
> I have to be able to read "world files" and write (sorry) mapinfo .tab
> files.
> 
> Anybody know how a world file (.tfw) are put together, and how to decode
> it???
 
Here are .tab and .tfw files for the same image. Both formats are quite
simple, so i think you'll manage to decode them. If not, i can find
descriptions, but later (maybe tomorrow).

Cheers,
Serguey. 

p.s. First line in twf file is size of a pixel in coordinate units (i.e. in
meters or decimal degrees)

begin 600 vesdo_2t.TAB
M(71A8FQE#0HA=F5R<VEO;B S,# -"B%C:&%R<V5T(%=I;F1O=W-,871I;C$-
M"@T*1&5F:6YI=&EO;B!486)L90T*("!&:6QE(")V97-D;U\R="Y4248B#0H@
M(%1Y<&4@(E)!4U1%4B(-"B @*#DU-3DY,30N,S R.38W+" V,S4Y-3<W+C8W
M,C<S-"D@*# L(# I($QA8F5L(").5R(L#0H@("@Y-C(T-#$S+C,V.38R,2P@
M-C,U.34W-RXV-S(W,S0I("@S.# X+" P*2!,86)E;" B3D4B+ T*(" H.38R
M-#0Q,RXS-CDV,C$L(#8R.#$V,S,N-3,Y-#$V*2 H,S@P."P@-#8P,BD@3&%B
M96P@(E-%(BP-"B @*#DU-3DY,30N,S R.38W+" V,C@Q-C,S+C4S.30Q-BD@
M*# L(#0V,#(I($QA8F5L(")35R(-"D-O;W)D4WES($5A<G1H(%!R;VIE8W1I
M;VX@."P@,3 P,2P@(FTB+" U,2P@,"P@,2P@.34P,# P,"P@, T*56YI=',@
%(FTB#0H@
`
end

begin 600 vesdo_2t.TFW
M,38N.3,S,S,S,S,P,# P#0HP+C P,# P,# P,# P, T*,"XP,# P,# P,# P
M,# -"BTQ-BXY,S,S,S,S,S P,# -"CDU-3DY,30N,S R.38V.# X.3 P#0HV
5,S4Y-3<W+C8W,C<S,S4Y,3DP, T*
`
end
Re: How to read and understand a "world file"
#12
Author: Stjernholm, Michael
Date: Sun, 12 Sep 1999 00:00
44 lines
2594 bytes
Hi Martin
My experience is that you have to consider both a .tfw and a .hdr file in
order to read images, so if you get stuck whe trying to write only a .tfw
then consider  to create a header file as well. The item has not be properly
documented in ArcView, so you might consider looking into the ArcInfo manual
on image Integration to find the proper keywords.

Be aware of MapInfo uses coordinates of the outer boundary of the image,
whereas the world file refers to the center of the upper left corner.

Best regards

Michael Stjernholm



Martin Hvidberg <Martin@Hvidberg.net> wrote in message
news:37D3BDA9.7556552@Hvidberg.net...
> Dear all
>
> I have to be able to read "world files" and write (sorry) mapinfo .tab
> files.
>
> Anybody know how a world file (.tfw) are put together, and how to decode
> it???
>
> In the future I will most likely need to go the other way, i.e. read
> .tab files and write world files. Therefore any factual information on
> the subject(s) are mostly welcomed
>
> Best regards & Thanks in advance
>
> Martin Hvidberg
> M.Sc. Physical Geography
> Danish Forest and Landscape Research Institute, GIS lab.
> H�rsholm Kongevej 11
> DK-2970 H�rsholm
> DENMARK
> Pho.: +45 45 76 32 00 (direct +45 45 17 83 27)
> Fax.: +45 45 76 32 33 (direct +45 45 76 57 56)
> Email.: mhv@fsl.dk
> Url: http://www.fsl.dk/eng/
>
>
Re: How to read and understand a "world file"
#13
Author: Tom Kralidis
Date: Sun, 12 Sep 1999 00:00
74 lines
3721 bytes
Here's what I came up with, hope it helps.

ESRI .tfw File Format

Used as attribute file associated with corresponding .tif file.

.tfw files consist of 6 lines, denoting the following:

sampleFile.tfw

5.000000000000                  (size of pixel in x direction)
0.000000000000                  (rotation term for row)
0.000000000000                  (rotation term for column)
-5.000000000000                 (size of pixel in y direction)
492169.690845528910       (x coordinate of centre of upper left pixel in
map units)
5426523.318065105000     (y coordinate of centre of upper left pixel in
map units)



"Stjernholm, Michael" wrote:
> 
> Hi Martin
> My experience is that you have to consider both a .tfw and a .hdr file in
> order to read images, so if you get stuck whe trying to write only a .tfw
> then consider  to create a header file as well. The item has not be properly
> documented in ArcView, so you might consider looking into the ArcInfo manual
> on image Integration to find the proper keywords.
> 
> Be aware of MapInfo uses coordinates of the outer boundary of the image,
> whereas the world file refers to the center of the upper left corner.
> 
> Best regards
> 
> Michael Stjernholm
> 
> Martin Hvidberg <Martin@Hvidberg.net> wrote in message
> news:37D3BDA9.7556552@Hvidberg.net...
> > Dear all
> >
> > I have to be able to read "world files" and write (sorry) mapinfo .tab
> > files.
> >
> > Anybody know how a world file (.tfw) are put together, and how to decode
> > it???
> >
> > In the future I will most likely need to go the other way, i.e. read
> > .tab files and write world files. Therefore any factual information on
> > the subject(s) are mostly welcomed
> >
> > Best regards & Thanks in advance
> >
> > Martin Hvidberg
> > M.Sc. Physical Geography
> > Danish Forest and Landscape Research Institute, GIS lab.
> > H�rsholm Kongevej 11
> > DK-2970 H�rsholm
> > DENMARK
> > Pho.: +45 45 76 32 00 (direct +45 45 17 83 27)
> > Fax.: +45 45 76 32 33 (direct +45 45 76 57 56)
> > Email.: mhv@fsl.dk
> > Url: http://www.fsl.dk/eng/
> >
> >

-- 

-----------------------------------------------------------------------------------------
Tom Kralidis                                  Geo-Spatial Technologist 
Canada Centre for Remote Sensing              Tel: (613) 947-1828
588 Booth Street , Room 241                   Fax: (613) 947-1408
Ottawa , Ontario K1A 0Y7                     http://www.ccrs.nrcan.gc.ca
-----------------------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads