No subject
Mon Oct 7 05:54:23 PDT 2024
snippet at the bottom of Section 4 about gdaltindex and creating a tile ind=
ex
shapefile. I tried that. =20
Here's what I typed: gdaltindex u_of_ill.shp ~/Desktop/UofImapSquares/*.gif
Here's what was returned to me:
It appears no georeferencing is available for
`/home/jimbo/Desktop/UofImapSquares/A0.gif', skipping.
It appears no georeferencing is available for
`/home/jimbo/Desktop/UofImapSquares/A12.gif', skipping.
and so on.........
Ok. Yes. I know. There's no georeferencing info attached.
But, how do I go about attaching georeferencing info? =20
And how do I create, edit, and view a shapefile?
And lastly, do I need a world file to determine a global position for every
tile?
I tried using a text editor Gedit (I figured What the Hey?) to open them an=
d
nope - wasn't in UTF-8 encoding.
I did some digging Google and noticed that you can use ArcView GIS, ArcMap,
ArcGIS, and ArcCatalog to create, edit, and view shapefiles.
I also stumbled across posting that talked about ShapeLib created by Eduard=
o
Patto Kanegae and maintained by Frank Warmerdam.
I don't have money to spend on buying some GIS program, and ShapeLib seems =
like
the answer.
Could anyone help?
- Chris
Get news, entertainment and everything you care about at
Live.com. Check
it out!
=20
Explore the seven wonders of the world Learn more!
=20
Connect to the next generation of MSN Messenger Get it now!=20
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQ=
BRE=
--_93cd65a2-7c1a-4421-865c-c61b16f98cdc_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'>
<br>K. Thought I put the mapserver-users email address in the reply.&=
nbsp; It should be in there this time. <br><br>Hmmmm - to clarify how=
I got these images:<br>1.) http://www.uiuc.edu/<br>2.) There are some whit=
e links in the top left corner. Click on Maps.<br>3.) Now a big map s=
hould be displayed. This isn't the one. Click anywhere on that =
big map.<br>4.) The tile where you clicked will be displayed, but that's no=
t how I get the tiles. If you notice there's no way to tell how long =
a tile is or how to line them up. Ok. There's a little map to t=
he right of that tile being displayed that says "click to jump" underneath =
it.<br>5.) Click in that box anywhere and it will show tiles in the big box=
to the left that are evenly spaced apart (except the far right and very bo=
ttom). If you click on a few places within the small box, you see how=
the white rectangle with red borders inside the small box moves at the sam=
e interval for every tile. So, from there I right-click on the big ti=
le image being displayed and select Save Image.<br>6.) This is where I got =
my pics from. I also assembled them last night anyway for amusement, =
and they fit perfectly. Just the very bottom row and the far right co=
lumn overlap. But, I know now that the overall mosiac's width is 2602=
and the height is 2800.<br><br><br>Ideally, I would like the world file to=
be in lat/lon (that's funny about people on the web thinking the Earth is =
flat - brings an old Bugs Bunny cartoon to mind), being as I have to conver=
t a lat/lon point someone sends me to UTM as of right now. I would lo=
ve to not have to convert - just less code is always better to me.<br><br>Y=
eah. I know it's in Zone 16. I looked that up a while back on a=
UTM grid I found online.<br><br>Ok. So, my current world file (in UT=
M):<br>1<br>0.0000000000<br>0.0000000000<br>-1<br>393898.00<br>4441379.00<b=
r><br>So..... for lat/lon I could say...........:<br>1<br>0.0000000000<br>0=
.0000000000<br>-1<br>-88.248281<br>40.117268<br><br>(This would put the Top=
Left coordinate in an area called West Side Park. I took that assemb=
led map pic and then grabbed a screen shot of the current window I was in a=
nd made that into an image and aligned them via layering and opacity levels=
in The GIMP (Like Photoshop but in Ubuntu Linux)).<br><br>I'll double chec=
k the math, but I don't know if what I described earlier with all the steps=
could be screwing things up.<br><br>And lastly, in the world file, 1 would=
represent 1 decimal degree/pixel or 1 meter/pixel in the X direction (depe=
nding on UTM or lat/lon)?<br><br>I checked out Topozone. It looks lik=
e it has a ton of features. I'll play around with it some more. =
<br><br>Thanks!!!!<br><br> - Chris<br><blockquote><hr>Subject: RE: [U=
MN_MAPSERVER-USERS] Rasters, TileIndex and Shapefiles - Oh My! Really Conf=
used<br>Date: Wed, 26 Sep 2007 18:25:52 -0400<br>From: ed at topozone.com<br>T=
o: docterrobert at msn.com; MAPSERVER-USERS at LISTS.UMN.EDU<br><br>
<div class=3D"EC_Section1">
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Chris =96</=
span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">(I added th=
e list back to the reply line =96
please always reply to the whole list =96 thanks)</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">A world fil=
e is in the units of the image=92s
projection, not the other way around. Having a world file does not me=
an
the image is in UTM projection. The UTM projection is a popular one, =
but
it=92s certainly not the only one. For a map in Illinois UTM is
certainly a possibility, but an Illinois State Plane Coordinate System
projection is also a possibility =96 especially if the original imagery
came from the State of Illinois. And geographic lat/lon coordinates a=
re
also a possibility due to the increasing number of people in the world who =
seem
to think the Earth is flat (at least on the Web).</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">I don=92t k=
now which campus you=92re
using, but if you=92re at UIUC then the UTM coordinates will be in UTM Zone
16 with values of around 395000 (X or Easting) 4440000 (Y or Northing=
).
If your numbers don=92t look like those, they=92re not UTM.</span></font></=
p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Oh, sorry =
=96 I started answering
before reading all the questions, and you later seem to confirm that your
coordinates are indeed UTM. But you got the formulas backwards, and X
should be positive while Y should be negative- not the other way around.&nb=
sp;
And the measurements in your world file are indeed in meters, but that=92s
because those are the native units of the UTM projection being used.
There=92s nothing that requires them to be in meters; many US state plane
coordinate systems use units of feet, and those would appear in the world f=
ile,
too.</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Now it is h=
ighly unlikely that your pixel
resolution is different in each dimension. You could average those tw=
o
numbers, or double-check your coordinate values (you didn=92t say what
source you used to get them). If you got this image from a GIS source=
, I
would say that if you think the dimensions are different you=92re wrong,
but who knows what the University did to munge the image into a pretty
picture. So maybe the dimensions ARE different; that=92s not
impossible, just odd. I still would double-check your measurements an=
d
math, but if you get the same answer that=92s OK.</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Once you do=
that you just have to crank
out those world files!</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font></p>
<p class=3D"EC_MsoNormal" style=3D"margin-left: 33pt; text-indent: -0.25in;=
"><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size: =
10pt; font-family: Arial; color: navy;"><span style=3D"">-<font face=3D"Tim=
es New Roman" size=3D"1"><span style=3D"font-family: "Times New Roman&=
quot;; font-style: normal; font-variant: normal; font-weight: normal; font-=
size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: norma=
l;">
</span></font></span></span></font><font color=3D"navy" face=3D"Arial" size=
=3D"2"><span style=3D"font-size: 10pt; font-family: Arial; color: navy;">Ed=
</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Ed McNierne=
y</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">TopoZone.co=
m</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font></p>
<div>
<div class=3D"EC_MsoNormal" style=3D"text-align: center;" align=3D"center">=
<font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt;">
<hr align=3D"center" size=3D"2" width=3D"100%">
</span></font></div>
<p class=3D"EC_MsoNormal"><b><font face=3D"Tahoma" size=3D"2"><span style=
=3D"font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span><=
/font></b><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; =
font-family: Tahoma;"> Christopher
Harris [mailto:docterrobert at msn.com] <br>
<b><span style=3D"font-weight: bold;">Sent:</span></b> Wednesday, September=
26,
2007 1:13 PM<br>
<b><span style=3D"font-weight: bold;">To:</span></b> Ed McNierney<br>
<b><span style=3D"font-weight: bold;">Subject:</span></b> RE: [UMN_MAPSERVE=
R-USERS]
Rasters, TileIndex and Shapefiles - Oh My! Really Confused</span></font></p=
>
</div>
<p class=3D"EC_MsoNormal"><font face=3D"Times New Roman" size=3D"3"><span s=
tyle=3D"font-size: 12pt;"> </span></font></p>
<p class=3D"EC_MsoNormal"><font face=3D"Tahoma" size=3D"2"><span style=3D"f=
ont-size: 10pt; font-family: Tahoma;">Wow. Thanks Ed. You went =
to a lot of
trouble. Most of this stuff you've explained I have a handle on. =
; I
wikipedia'd how to make a world file when I did that previous app. An=
d
yes, it's the same app with the image that's in UTM projection. I
actually have one last question about that, but I'll do a separate post for
that. This is a modification of that app. See, I've been using =
this
"Parking Lot" map for the University
of Illinois, because I
couldn't find a better looking one. Well, yesterday, I noticed that y=
ou
could go their full campus map and right click on each individual tile and =
save
it as a .gif. I had tried this before but was apparently clicking on
certain, wrong areas of each tile every time where I guess the javascript w=
as
blocking me. The javascript that they use displays info on certain
buildings when you click on them. If you happen to right-click on or
around a building and try to save, you can't. You have to click somew=
here
else on the tile that's on or around a building. Anywho - my boss now
wants me to take what I've done with that one pic of the "Parking
Lot" and now apply it to a big tiled image of the entire campus (enter the
tiles I've saved). That's the back story as to what's going on.<br>
<br>
I have 3 questions now.<br>
<br>
#1 You asked if the image is in UTM. I'm basing the image projection =
on
the world file. I remember you (or maybe this one other guy on this l=
ist
serv) telling me before that you can't distinguish what projection a world =
file
is in - that that's one of the cons to world files. Every example I'v=
e
ever seen after typing in "World File" in Google shows a world file
that is in meters and says that it's using UTM projection. That's sti=
ll
the case right?<br>
<br>
Oh, the lat/lon has to do with me reprojecting. See, someone passes m=
e a
lat/lon coordinate (a center point). I then take that, and convert it=
to
UTM, because the map's projection is in UTM due to the world file being in =
UTM.<br>
<br>
Thanks for your time and patience by the way. You've been a huge help=
.<br>
<br>
#2 The one thing I'm hazy on in regard to the world file is: <br>
the 1st and 4th line - pixel size in the <i><span style=3D"font-style: ital=
ic;">x</span></i>-direction
and y-direction in map units/pixel<br>
<br>
I understand why x is positive and y is almost always negative. But, =
does
that mean, for example, <br>
if I type 2 for the 1st line and -2 for the fourth line, then there will be=
2
meters per pixel going both directions? For that I could never find a=
n
example of what they meant. I just assumed that. I usually work
best with seeing an example, and one was never provided on any of the pages=
I
visited.<br>
<br>
#3 </span></font><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=
=3D"font-size: 10pt; font-family: Arial; color: navy;">"The X pixel dimensi=
on will be (maxx
=96 minx) / xpixels, and the Y will be (miny =96 maxy) / ypixels.
You should find that the X number is -1 times the Y number."<br>
</span></font><font color=3D"black" face=3D"Arial" size=3D"2"><span style=
=3D"font-size: 10pt; font-family: Arial; color: black;"><br>
Is pixel dimension related to question #2? For instance (in meters):<=
br>
<br>
TL - 393898 4441379 BR - 396253 4438945</span></font><font face=3D"Tahoma" =
size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"><br>
</span></font><font color=3D"black" face=3D"Arial" size=3D"2"><span style=
=3D"font-size: 10pt; font-family: Arial; color: black;"><br>
maxx=3D393898, maxy=3D4441379<br>
minx=3D396253, miny=3D4438945<br>
<br>
DeltaX=3D-2355, DeltaY=3D2434<br>
<br>
Say the mosaic's dimensions in pixels are.........: X=3D1500, Y=3D2000<br>
<br>
X pixel dimension =3D -2355/1500 =3D -1.57 meters/pixel<br>
Y pixel dimension =3D 2434/2000 =3D 1.217 meters/pixel<br>
<br>
That right?<br>
<br>
- Chris</span></font><font face=3D"Tahoma" size=3D"2"><span style=3D"=
font-size: 10pt; font-family: Tahoma;"></span></font></p>
<div class=3D"EC_MsoNormal" style=3D"text-align: center;" align=3D"center">=
<font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font-famil=
y: Tahoma;">
<hr align=3D"center" size=3D"2" width=3D"100%">
</span></font></div>
<p class=3D"EC_MsoNormal" style=3D"margin-bottom: 12pt;"><font face=3D"Taho=
ma" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;">Subjec=
t: RE: [UMN_MAPSERVER-USERS]
Rasters, TileIndex and Shapefiles - Oh My! Really Confused<br>
Date: Wed, 26 Sep 2007 14:45:54 -0400<br>
From: ed at topozone.com<br>
To: docterrobert at MSN.COM; MAPSERVER-USERS at LISTS.UMN.EDU</span></font></p>
<div>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Chris =96</=
span></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt=
; font-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">OK =96 it=
=92s not as bad as all
that =96 don=92t fire up Photoshop yet. If you have a set of
tiles which together create a seamless large image, and those tiles are of =
a
regular size and shape, don=92t bother pasting them together.</span></font>=
<font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font-famil=
y: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Each world =
file has six numbers in it, two
of which will be 0. For each image tile you need a world file that
contains the X/Y coordinates of the upper left pixel of the image (two
numbers), and the dimension (size) of each pixel in X (one number) and Y (o=
ne
number) units. In the vast majority of cases the last two numbers wil=
l be
identical except for sign (the Y value is normally a negative number since =
Y
values decrease as you go from the top to the bottom of the image).</span><=
/font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font=
-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">If your ima=
ges make a rectangle when
pasted together, just treat them as one. Find the X/Y coordinates of =
the
upper left corner of the entire image area, and the X/Y coordinates of the
lower right corner of the entire image area. Find the size of the ent=
ire
mosaiced rectangle in X and Y pixels. The X pixel dimension will be (=
maxx
=96 minx) / xpixels, and the Y will be (miny =96 maxy) / ypixels.
You should find that the X number is -1 times the Y number.</span></font><f=
ont face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font-family:=
Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">For all you=
r world files, these two X and
Y extent values (the first and fourth lines) will be constants. The l=
ast
two lines are the upper left X and Y coordinates of each tile. Your t=
iles
will all have the same Y value across each row, and the same X value down e=
ach
column. You know what the upper-left corner of the upper-left tile is=
,
because you measured it. You know the number of X pixels in each tile=
and
the number of Y pixels in each tile, and you now know the size in X and Y u=
nits
of each pixel, so you know the extent of each image tile in X and Y units, =
so
you can calculate the upper-left corner coordinate of the image to the righ=
t
and the image below. Repeat until complete.</span></font><font face=
=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;=
"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">All your me=
asurements need to be done in
the units of the image=92s coordinate system. Is this the image you
were asking about earlier that=92s in UTM projection? If so, you need
UTM coordinates, NOT lat/lon. I wouldn=92t recommend Google Earth as
a very accurate way to do that, but if it=92s close enough for you and easy
that=92s OK. If you can easily find the corners of your image area on
a topo map you can do it on TopoZone and get UTM coordinates accurate to wi=
thin
a few meters just by clicking on the spots that match the corner points of =
your
image.</span></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-si=
ze: 10pt; font-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">If there is=
n=92t an obvious landmark
at the corner, you can pick a prominent location NEAR the corner and just
measure the number of pixels away from the corner it is. It=92s just
a bit more bookkeeping but does the same thing.</span></font><font face=3D"=
Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"></=
span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal" style=3D"margin-left: 33pt; text-indent: -0.25in;=
"><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size: =
10pt; font-family: Arial; color: navy;">-</span></font><font color=3D"navy"=
size=3D"1"><span style=3D""><span style=3D"font-size: 7pt; color: navy;">&=
nbsp;
</span></span></font><font color=3D"navy" face=3D"Arial" size=3D"2"><span s=
tyle=3D"font-size: 10pt; font-family: Arial; color: navy;">Ed</span></font>=
<font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font-famil=
y: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Ed McNierne=
y</span></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 1=
0pt; font-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">TopoZone.co=
m</span></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 1=
0pt; font-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<div>
<div class=3D"EC_MsoNormal" style=3D"text-align: center;" align=3D"center">=
<font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt;">
<hr align=3D"center" size=3D"2" width=3D"100%">
</span></font></div>
<p class=3D"EC_MsoNormal"><b><font face=3D"Tahoma" size=3D"2"><span style=
=3D"font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span><=
/font></b><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; =
font-family: Tahoma;"> UMN MapServer
Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] <b><span style=3D"font-we=
ight: bold;">On Behalf Of </span></b>Christopher Harris<br>
<b><span style=3D"font-weight: bold;">Sent:</span></b> Wednesday, September=
26,
2007 11:15 AM<br>
<b><span style=3D"font-weight: bold;">To:</span></b> MAPSERVER-USERS at LISTS.=
UMN.EDU<br>
<b><span style=3D"font-weight: bold;">Subject:</span></b> Re: [UMN_MAPSERVE=
R-USERS]
Rasters, TileIndex and Shapefiles - Oh My! Really Confused</span></font></p=
>
</div>
<p class=3D"EC_MsoNormal"><font face=3D"Times New Roman" size=3D"3"><span s=
tyle=3D"font-size: 12pt;"> </span></font><font face=3D"Tahoma" size=3D=
"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"></span></font></p=
>
<p class=3D"EC_MsoNormal"><font face=3D"Tahoma" size=3D"2"><span style=3D"f=
ont-size: 10pt; font-family: Tahoma;">Thanks again, Ed. I need to cle=
ar up some things that
I guess I didn't make clear.<br>
<br>
I know that a world file provides georeferencing. I meant to say that=
I
had a .gif that had no georeferencing info associated with it, and then add=
ed
one. From there I got my initial app to work (displaying the big map)=
.<br>
<br>
One thing I omitted was that the little .gifs (tiles), when assembled, make=
up
a different big map pic then the one where mentioned :</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">=93</span><=
/font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font=
-family: Tahoma;">it uses one .gif
(the big map pic), attaches the big map to the globe via a world file. =
;
That big map .gif had no georeferencing info attached to it."</span></font>=
</p>
<p class=3D"EC_MsoNormal"><font face=3D"Tahoma" size=3D"2"><span style=3D"f=
ont-size: 10pt; font-family: Tahoma;">Before I had a pic of a large section=
of a college
campus. Now I have a pic of the entire campus, but in little tiles.</=
span></font></p>
<p class=3D"EC_MsoNormal"><font face=3D"Tahoma" size=3D"2"><span style=3D"f=
ont-size: 10pt; font-family: Tahoma;">I know Mapserver makes maps and not p=
ics too. I probably
just worded something wrong.</span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">"So =96 wha=
t do you know about
these images? Do you really have a world file that correctly describe=
s
your big GIF image? Do you know exactly how the little images were
created from the big image? If so, you should be able to figure out h=
ow
to generate world files for each individual image. If not, you=92ll
need to get that information for your big image."<br>
<br>
</span></font><font color=3D"black" face=3D"Arial" size=3D"2"><span style=
=3D"font-size: 10pt; font-family: Arial; color: black;">Yes, I have a world=
file, but it's for the pic
that shows a large section of the campus - not for the big pic that is the =
sum
of the little pics.<br>
<br>
<br>
Ok, so then I have to have a world file for every little tile, but before t=
hat
I need to correctly set up the world file for the big pic, which I guess I'=
ll
need to assemble in Photoshop. Does that sound right? I can do =
it,
it's just a bit tedious lining up the tiles and such. Also, how do yo=
u
correctly align a pic of some map on the globe. I've been using Googl=
e
Maps to do it. I'll sit there and study where the pic's corners shoul=
d
approximately be, then get the lat/lon from that (clicking directions to or
from will yield the lat/lons).<br>
<br>
Thank you.<br>
<br>
- Chris </span></font><font face=3D"Tahoma" size=3D"2"><span sty=
le=3D"font-size: 10pt; font-family: Tahoma;"> </span></font></p>
<div class=3D"EC_MsoNormal" style=3D"text-align: center;" align=3D"center">=
<font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font-famil=
y: Tahoma;">
<hr align=3D"center" size=3D"2" width=3D"100%">
</span></font></div>
<p class=3D"EC_MsoNormal" style=3D"margin-bottom: 12pt;"><font face=3D"Taho=
ma" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;">Subjec=
t: RE: [UMN_MAPSERVER-USERS]
Rasters, TileIndex and Shapefiles - Oh My! Really Confused<br>
Date: Wed, 26 Sep 2007 13:36:42 -0400<br>
From: ed at topozone.com<br>
To: docterrobert at MSN.COM; MAPSERVER-USERS at LISTS.UMN.EDU</span></font></p>
<div>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Chris =96</=
span></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt=
; font-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Let me sugg=
est you try to get unconfused
just one step at a time!</span></font><font face=3D"Tahoma" size=3D"2"><spa=
n style=3D"font-size: 10pt; font-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">=93</span><=
/font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font=
-family: Tahoma;">it uses one .gif
(the big map pic), attaches the big map to the globe via a world file. =
; That
big map .gif had no georeferencing info attached to it.=94</span></font></p=
>
<p class=3D"EC_MsoNormal"><font face=3D"Tahoma" size=3D"2"><span style=3D"f=
ont-size: 10pt; font-family: Tahoma;"> </span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">That=92s a =
bit of a
contradiction. A world file is one way of providing georeferencing.&n=
bsp;
If you=92ve got an image =93attached=94 to the Earth via a world
file, you=92ve georeferenced it.</span></font><font face=3D"Tahoma" size=3D=
"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"></span></font></p=
>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">MapServer m=
akes maps, not pictures.
One of the chief differences is that a map has geographic location informat=
ion
associated with it. When you ask MapServer to generate a map for you,=
you
need to tell it the location of the map you want in some coordinate
system. In order for MapServer to know which of your GIF images to us=
e in
making the output map, it needs to know the geographic location of each of
those images. Otherwise it couldn=92t figure out which ones to use.</=
span></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt=
; font-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">A TILEINDEX=
is step two in the
process. Once you have a set of more than 1 properly georeferenced im=
ages
that you=92d like to use like a single logical image, you can create a
TILEINDEX to do that. But you have to completely and correctly make i=
t
through step one first. Once you get the individual images properly
georeferenced, gdaltindex will just work.</span></font><font face=3D"Tahoma=
" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"></span><=
/font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">So =96 what=
do you know about these
images? Do you really have a world file that correctly describes your=
big
GIF image? Do you know exactly how the little images were created fro=
m
the big image? If so, you should be able to figure out how to generat=
e
world files for each individual image. If not, you=92ll need to get
that information for your big image.</span></font><font face=3D"Tahoma" siz=
e=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"></span></font=
></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">If you do h=
ave that world file and know
how the tiles were created, let us know (you can post the world file in you=
r
reply =96 it=92s just six lines of text).</span></font><font face=3D"Tahoma=
" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"></span><=
/font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal" style=3D"margin-left: 33pt; text-indent: -0.25in;=
"><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size: =
10pt; font-family: Arial; color: navy;">-</span></font><font color=3D"navy"=
face=3D"Tahoma" size=3D"1"><span style=3D"font-size: 7pt; font-family: Tah=
oma; color: navy;">
</span></font><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D=
"font-size: 10pt; font-family: Arial; color: navy;">Ed</span></font><font f=
ace=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font-family: Taho=
ma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">Ed McNierne=
y</span></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 1=
0pt; font-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;">TopoZone.co=
m</span></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 1=
0pt; font-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<p class=3D"EC_MsoNormal"><font color=3D"navy" face=3D"Arial" size=3D"2"><s=
pan style=3D"font-size: 10pt; font-family: Arial; color: navy;"> </spa=
n></font><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; f=
ont-family: Tahoma;"></span></font></p>
<div>
<div class=3D"EC_MsoNormal" style=3D"text-align: center;" align=3D"center">=
<font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt;">
<hr align=3D"center" size=3D"2" width=3D"100%">
</span></font></div>
<p class=3D"EC_MsoNormal"><b><font face=3D"Tahoma" size=3D"2"><span style=
=3D"font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span><=
/font></b><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; =
font-family: Tahoma;"> UMN MapServer
Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] <b><span style=3D"font-we=
ight: bold;">On Behalf Of </span></b>Christopher Harris<br>
<b><span style=3D"font-weight: bold;">Sent:</span></b> Wednesday, September=
26,
2007 10:02 AM<br>
<b><span style=3D"font-weight: bold;">To:</span></b> MAPSERVER-USERS at LISTS.=
UMN.EDU<br>
<b><span style=3D"font-weight: bold;">Subject:</span></b> [UMN_MAPSERVER-US=
ERS]
Rasters, TileIndex and Shapefiles - Oh My! Really Confused</span></font></p=
>
</div>
<p class=3D"EC_MsoNormal"><font face=3D"Times New Roman" size=3D"3"><span s=
tyle=3D"font-size: 12pt;"> </span></font><font face=3D"Tahoma" size=3D=
"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"></span></font></p=
>
<p class=3D"EC_MsoNormal" style=3D"margin-bottom: 12pt;"><font face=3D"Taho=
ma" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;">Hi.&nb=
sp; I have a map that is
broken up into a bunch of .gif tiles. I want to display them on a lay=
er
in Mapserver. I have working version of what I want to accomplish, bu=
t it
uses one .gif (the big map pic), attaches the big map to the globe via a wo=
rld
file. That big map .gif had no georeferencing info attached to it.<br=
>
<br>
These .gifs have no georeferencing information included or attached as well=
.<br>
<br>
I read Section 4 (and Section 9 too) on the mapserver site page:
http://mapserver.gis.umn.edu/docs/howto/raster_data<br>
<br>
More information about the MapServer-users
mailing list