No subject


Fri Feb 8 15:06:04 EST 2008


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!







_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQ=
BRE=

--_c679c066-4e2c-4e71-9e9f-a6442dd5e5a3_
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'>
Thanks again, Ed.&nbsp; I need to clear up some things that I guess I didn'=
t make clear.<br><br>I know that a world file provides georeferencing.&nbsp=
; I meant to say that I had a .gif that had no georeferencing info associat=
ed with it, and then added one.&nbsp; From there I got my initial app to wo=
rk (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 on=
e where mentioned :<br><p class=3D"EC_MsoNormal"><font color=3D"navy" face=
=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-family: Arial; c=
olor: 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.&nbsp=
;
That big map .gif had no georeferencing info attached to it."</span></font>=
</p><p class=3D"EC_MsoNormal">Before I had a pic of a large section of a co=
llege campus.&nbsp; Now I have a pic of the entire campus, but in little ti=
les.<br><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; fo=
nt-family: Tahoma;"></span></font></p><p class=3D"EC_MsoNormal">I know Maps=
erver makes maps and not pics too.&nbsp; I probably just worded something w=
rong.<br></p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"=
font-size: 10pt; font-family: Arial; color: navy;">"So =96 what do you know=
 about these
images?&nbsp; Do you really have a world file that correctly describes your=
 big GIF
image?&nbsp; Do you know exactly how the little images were created from th=
e big
image?&nbsp; If so, you should be able to figure out how to generate world =
files for
each individual image.&nbsp; If not, you=92ll need to get that information =
for
your big image."<br><br><span style=3D"color: rgb(0, 0, 0);">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 that I n=
eed to correctly set up the world file for the big pic, which I guess I'll =
need to assemble in Photoshop.&nbsp; Does that sound right?&nbsp; I can do =
it, it's just a bit tedious lining up the tiles and such.&nbsp; Also, how d=
o you correctly align a pic of some map on the globe.&nbsp; I've been using=
 Google Maps to do it.&nbsp; I'll sit there and study where the pic's corne=
rs should approximately be, then get the lat/lon from that (clicking direct=
ions to or from will yield the lat/lons).<br><br>Thank you.<br><br>&nbsp;- =
Chris&nbsp;</span></span></font> <font color=3D"navy" face=3D"Arial" size=
=3D"2"><span style=3D"font-size: 10pt; font-family: Arial; color: navy;"></=
span></font><blockquote><hr>Subject: RE: [UMN_MAPSERVER-USERS] Rasters, Til=
eIndex and Shapefiles - Oh My!  Really Confused<br>Date: Wed, 26 Sep 2007 1=
3:36:42 -0400<br>From: ed at topozone.com<br>To: docterrobert at MSN.COM; MAPSERV=
ER-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;">&nbsp;</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;">Let me sugg=
est you try to get unconfused
just one step at a time!</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;">&nbsp;</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;">=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.&nbsp=
;
That big map .gif had no georeferencing info attached to it.=94</span></fon=
t></p>

<p class=3D"EC_MsoNormal"><font face=3D"Tahoma" size=3D"2"><span style=3D"f=
ont-size: 10pt; font-family: Tahoma;">&nbsp;</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.&nbsp; A
world file is one way of providing georeferencing.&nbsp; If you=92ve got an
image =93attached=94 to the Earth via a world file, you=92ve
georeferenced it.</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;">&nbsp;</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;">MapServer m=
akes maps, not pictures.&nbsp; One
of the chief differences is that a map has geographic location information
associated with it.&nbsp; 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.&nbsp=
; In
order for MapServer to know which of your GIF images to use in making the
output map, it needs to know the geographic location of each of those image=
s.&nbsp; Otherwise
it couldn=92t figure out which ones to use.</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;">&nbsp;</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 TILEINDEX=
 is step two in the process.&nbsp;
Once you have a set of more than 1 properly georeferenced images that you=
=92d
like to use like a single logical image, you can create a TILEINDEX to do
that.&nbsp; But you have to completely and correctly make it through step o=
ne
first.&nbsp; Once you get the individual images properly georeferenced, gda=
ltindex
will just work.</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;">&nbsp;</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;">So =96 what=
 do you know about these
images?&nbsp; Do you really have a world file that correctly describes your=
 big GIF
image?&nbsp; Do you know exactly how the little images were created from th=
e big
image?&nbsp; If so, you should be able to figure out how to generate world =
files for
each individual image.&nbsp; If not, you=92ll need to get that information =
for
your big image.</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;">&nbsp;</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;">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></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;">&nbsp;</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: &quot;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;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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;">&nbsp;</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;">&nbsp;</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;">&nbsp;</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;"> 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;">&nbsp;</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.&nbsp; I want to display them on a lay=
er
in Mapserver.&nbsp; 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.&nbsp; 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