<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="cid:filelist.xml@01C4DDCF.258F17C0">
<link rel=Edit-Time-Data href="cid:editdata.mso@01C4DDCF.258F17C0">
<!--[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]-->
<title>Re: [UMN_MAPSERVER-USERS] simple tool for conversion</title>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p
        {margin-right:0in;
        mso-margin-top-alt:auto;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
</head>

<body lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>

<div id=idOWAReplyText17052>

<div class=Section1>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Ethan,<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>At the
risk of being flamed into non-existence on this subject.<span
style="mso-spacerun: yes">&nbsp; </span>I have repeatedly modified my map file
to include the projection blocks that you and others in this list have
mentioned.<span style="mso-spacerun: yes">&nbsp; </span>Each change has
provided no results. <span style="mso-spacerun: yes">&nbsp;</span>I have sent
copies of my projection file for the California zip map and I have received no explanation
of what the terms mean. I have tried to get simple features to work and this
has been unsuccessful. <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>I am a complete
newbie in the use of mapserver and I have approached the list giving full
knowledge of this.<span style="mso-spacerun: yes">&nbsp; </span>Not seeing any
change at all between my teacher location shapefile and my California zip
file,<span style="mso-spacerun: yes">&nbsp; </span>I began to examine in detail
the shapefile itself &#8211; my teacher shapefile. <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>I used the
utility fGIS a free arcview look-a-like and I began to manually build a teacher
point layer over my California zip map and then dump the shape file. ( Incidentally
I could bring both my California zip file and the Teacher point file that I
built manually up to my mapserver and it displays perfectly)<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>After
examining my new point shapefile built with fGIS, I found no lat/long
information that was in accord with the lat/long information I have in my
database. <span style="mso-spacerun: yes">&nbsp;</span>This led me to the
conclusion that I had to convert my lat/long data to x/y coordinates in accord
with the California Zip file.<span style="mso-spacerun: yes">&nbsp; </span><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Again I
began to ask on this list about this &#8211; the use of proj and conversion utilities
etc.<span style="mso-spacerun: yes">&nbsp; </span>I even asked about ( in
replies to others inquires ) formulas for conversion. I received replies of
learn basic algebra or something along that line. <span style="mso-spacerun:
yes">&nbsp;</span>This was of no offense to me but it was not productive.<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Many of
the discoveries that I have made that have furthered my on understanding have
resulted from serious hacking sessions of writing script after script trying to
find some correlation between the entries of one shapefile to entries in the
other.<span style="mso-spacerun: yes">&nbsp; </span><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>I keep
asking questions following the Chinese proverb:<span style="mso-spacerun:
yes">&nbsp; </span>better to ask a question and look the fool for 5 minutes
than not ask and look the fool for a lifetime.<span style="mso-spacerun:
yes">&nbsp; </span><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>The term &#8220;newbie&#8221;
which does not register in my spell-checker should be taken seriously and in
all fairness some of the list<span style="mso-spacerun: yes">&nbsp;
</span>members have take me as such and been very helpful.<span
style="mso-spacerun: yes">&nbsp; </span>I apologies to any and all if my
newbie-ness has caused any frustration.<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoAutoSig><!--[if supportFields]><span class=EmailStyle18><font 
size=2 color=navy face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'><span style='mso-element:field-begin'></span><span 
style="mso-spacerun: yes">&nbsp;</span>AUTOTEXTLIST \s &quot;E-mail 
Signature&quot; <span style='mso-element:field-separator'></span></span></font></span><![endif]--><font
size=2 color=navy face="Courier New"><span style='font-size:11.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";color:navy'>#Joseph Norris (Perl - what else
is there?/Linux/CGI/Mysql) print @c=map chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);</span></font><font
size=2 color=navy face="Courier New"><span style='font-size:11.0pt;mso-bidi-font-size:
12.0pt;font-family:"Courier New";color:navy;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><!--[if supportFields]><span class=EmailStyle18><font 
size=2 color=navy face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'><span style='mso-element:field-end'></span></span></font></span><![endif]--><span
class=EmailStyle18><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Ethan Alpert
[mailto:ealpert@digitalglobe.com]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, December 09, 2004
6:27 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Joseph Norris;
MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [UMN_MAPSERVER-USERS]
simple tool for conversion</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>I still
don't see why you feel you must reproject your lat/long data.&nbsp; Look back
at the emails people have sent you. You just need to set a correct PROJECTION
block for each layer and the mapfile and mapserver will take care of the rest.</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>&nbsp;</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>-e</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'><![if !supportEmptyParas]>&nbsp;<![endif]></span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>


<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;
color:black'>

<hr size=2 width="100%" align=center>

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


<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.5in'><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:black;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:black'> UMN MapServer Users List on behalf of Joseph Norris<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wed 12/8/2004 4:40 PM<br>
<b><span style='font-weight:bold'>To:</span></b> MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [UMN_MAPSERVER-USERS]
simple tool for conversion</span></font><font color=black><span
style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p style='margin-left:.5in'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>I do the following:<br>
<br>
[joseph@spare:]$ proj +units=us-ft +init=nad83:4202 &lt;&lt;EOD<br>
&gt; -119.770623<br>
&gt; 36.830072<br>
&gt; EOD<br>
-7049825.31&nbsp;&nbsp;&nbsp;&nbsp; -4677803.10<br>
45036164.88&nbsp;&nbsp;&nbsp;&nbsp; 26747054.17<br>
<br>
I am not sure what the results are.&nbsp; Are these x/y coordinates?&nbsp; And
if so -<br>
which set the upper or the lower.<br>
<br>
<br>
#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr<br>
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-<br>
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);<br>
<br>
-----Original Message-----<br>
From: UMN MapServer Users List [<a href="mailto:MAPSERVER-USERS@lists.umn.edu">mailto:MAPSERVER-USERS@lists.umn.edu</a>]On<br>
Behalf Of Lawrence, Kevin<br>
Sent: Wednesday, December 08, 2004 7:05 AM<br>
To: MAPSERVER-USERS@lists.umn.edu<br>
Subject: Re: [UMN_MAPSERVER-USERS] simple tool for conversion<br>
<br>
proj - the same utility used for on the fly re-projection<br>
<br>
one example<br>
echo $lat $long | proj +proj=lcc +lon_0=95w +lat_0=0 +lat_1=49 +lat2=77 -r<br>
<br>
project geographic to<br>
lambert conformal<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; origin -95 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1st parallel 49<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2nd parallel 77<br>
<br>
KL<br>
<br>
&gt; ----------<br>
&gt; From:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UMN MapServer Users
List[SMTP:MAPSERVER-USERS@LISTS.UMN.EDU]<br>
&gt; on behalf of Joseph Norris[SMTP:sirronj@PACBELL.NET]<br>
&gt; Reply To:&nbsp;&nbsp;&nbsp;&nbsp; Joseph Norris<br>
&gt; Sent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wednesday, December
08, 2004 9:58 AM<br>
&gt; To:&nbsp;&nbsp; MAPSERVER-USERS@LISTS.UMN.EDU<br>
&gt; Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [UMN_MAPSERVER-USERS] simple tool
for conversion<br>
&gt;<br>
&gt; Can anyone make a recommendation for unix command line tool that will<br>
&gt; convert lat/long to xy coordinates?<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; #Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map<br>
&gt; chr<br>
&gt; $_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14<br>
&gt; ,-<br>
&gt; 68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);<br>
&gt;</span></font><font color=black><span style='color:black;mso-color-alt:
windowtext'><o:p></o:p></span></font></p>

</div>

</body>

</html>