No subject


Fri Feb 8 15:06:04 EST 2008


snippet at the bottom of Section 4 about gdaltindex and creating a tile
index 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
and 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
Eduardo 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! <http://www.live.com/getstarted.aspx%20>=20


------_=_NextPart_001_01C80064.0E1B9D7A
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:184057378;
	mso-list-type:hybrid;
	mso-list-template-ids:-463862036 -1468345736 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:33.0pt;
	mso-level-number-position:left;
	margin-left:33.0pt;
	text-indent:-.25in;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Chris =
&#8211;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Let me suggest you try to get =
unconfused
just one step at a time!<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&#8220;</span></font><font size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;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.&#8221;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>That&#8217;s a bit of a =
contradiction.&nbsp; A
world file is one way of providing georeferencing.&nbsp; If you&#8217;ve =
got an
image &#8220;attached&#8221; to the Earth via a world file, you&#8217;ve
georeferenced it.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>MapServer makes 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 =
images.&nbsp; Otherwise
it couldn&#8217;t figure out which ones to =
use.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;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&#8217;d
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 one
first.&nbsp; Once you get the individual images properly georeferenced, =
gdaltindex
will just work.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>So &#8211; 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 =
the 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&#8217;ll need to get that =
information for
your big image.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>If you do have that world file and =
know
how the tiles were created, let us know (you can post the world file in =
your
reply &#8211; it&#8217;s just six lines of =
text).<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-left:33.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'><span style=3D'mso-list:Ignore'>-<font size=3D1 =
face=3D"Times New Roman"><span
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></span></font><![endif]><font size=3D2 color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Ed<o:p></o:p></sp=
an></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Ed =
McNierney<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>TopoZone.com<o:p></o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> UMN =
MapServer
Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] <b><span =
style=3D'font-weight:
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-USERS]
Rasters, TileIndex and Shapefiles - Oh My! Really =
Confused</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>Hi.&nbsp; I have a map =
that is
broken up into a bunch of .gif tiles.&nbsp; I want to display them on a =
layer
in Mapserver.&nbsp; I have working version of what I want to accomplish, =
but 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.<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