<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY 
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space" 
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Tyler:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for the prompt response.  </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>LCC may be the incorrect projection that I need to 
use but it seems to be the only projection that I can find that gives me the 
counties in the correct (porportional sp?) size.  In the end I would really 
like to use a Mercator projection but alas I couldn't find any examples to 
figure out how to make it work.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The specific National Atlas data I'm using is 
here:</FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="http://edcftp.cr.usgs.gov/pub/data/nationalatlas/countyp020.tar.gz">http://edcftp.cr.usgs.gov/pub/data/nationalatlas/countyp020.tar.gz</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>According to the text file that came with the data 
they give the following information about the data:</FONT></DIV>
<DIV><FONT face=Arial size=2>    Latitude/Longitude Resolution: 
0.000278</FONT></DIV>
<DIV><FONT face=Arial size=2>    Geographic Coordinates: Decimal 
Degrees</FONT></DIV>
<DIV><FONT face=Arial size=2>    Datum: NAD83</FONT></DIV>
<DIV><FONT face=Arial size=2>    Ellipsoid: GRS1980</FONT></DIV>
<DIV><FONT face=Arial size=2>    Semi-major axis: 
6378137</FONT></DIV>
<DIV><FONT face=Arial size=2>    Denomiator of Flattening: 
298.257222</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Like I said, so far I've been able to get it to 
produce a map in LCC but its only because I've been playing around with the 
settings to 'make' it work.  There is a sample map available here: <A 
href="http://www.aspiredillusion.com/cgi-bin/mapserv?map=fmfinder.map&mode=map">http://www.aspiredillusion.com/cgi-bin/mapserv?map=fmfinder.map&mode=map</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In the end my goal is to be able to specify a 
specific latitude/longitude as a center and be able to plot out so many degrees, 
miles, whatever out to make a complete map for another project (hence why I 
think the Mercator projection would be best).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If any of this makes any sense at all let me know 
because I feel like I'm rambling! :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>By the way... another person suggested to use the 
EPSG codes... unfortunately my installation is not too happy with using 
those.  It keeps giving me a Proj.4 error basically saying it can't find 
the file even though they are located in /usr/local/share/proj.  For now 
I've just substituted in the definition (or is this bad?)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is a copy of my map file:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>MAP<BR>        
NAME USA<BR>        STATUS 
ON<BR>        IMAGETYPE 
PNG<BR>        SIZE 400 
400<BR>        IMAGECOLOR 255 255 
255<BR>        SHAPEPATH 
"/home/aspiredillusion/cgi-bin/gis"<BR>        
SYMBOLSET "symbol.ref"<BR>        FONTSET 
"font.ref"<BR>        extent 2086624.47 
2893493.42 2267537.24 3111554.05<BR>        
UNITS METERS</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>        
PROJECTION<BR>                
"proj=lcc"<BR>                
"ellps=GRS80"<BR>                
"datum=NAD83"<BR>        
#       "lat_0=38"      # 
Latitude CENTER<BR>        
#       "lat_1=38"      # 
Set same as lat_0<BR>        
#       "lon_0=-90"     # 
Longitude CENTER<BR>        
#       "x_0=-80000"    # Offset 
for longitude<BR>        
#       "y_0=175000"    # Offset 
for latitude</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial 
size=2>                
"lat_0=24"<BR>                
"lat_1=50"<BR>                
"lon_0=-99"<BR>        
END<BR><BR>        
LAYER<BR>                
NAME 
"County"<BR>                
DATA 
"countyp020"<BR>                
TYPE 
LINE<BR>                
STATUS 
DEFAULT<BR>                
PROJECTION<BR>                        
"proj=latlong"<BR>                        
"ellps=GRS80"<BR>                        
"datum=NAD83"<BR>                
END<BR>                
CLASS<BR>                        
OUTLINECOLOR 255 0 
0<BR>                
END<BR>        END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>        
LAYER<BR>                
NAME 
"State"<BR>                
DATA 
"statesp020"<BR>                
TYPE 
LINE<BR>                
STATUS 
DEFAULT<BR>                
PROJECTION<BR>                        
"proj=latlong"<BR>                        
"ellps=GRS80"<BR>                        
"datum=NAD83"<BR>                
END<BR>                
CLASS<BR>                        
COLOR 0 0 
0<BR>                
END<BR>        END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>        
LAYER<BR>                
NAME 
"pop_pnt"<BR>                
DATA 
"pop_pnt"<BR>                
TYPE 
POINT<BR>                
STATUS 
DEFAULT<BR>                
LABELITEM 
"NAME"<BR>                
PROJECTION<BR>                        
"proj=latlong"<BR>                        
"ellps=GRS80"<BR>                        
"datum=NAD83"<BR>                
END<BR>                
CLASS<BR>                        
STYLE<BR>                                
SYMBOL 
"circle"<BR>                                
SIZE 
3<BR>                                
COLOR 0 0 
0<BR>                        
END<BR>                        
LABEL<BR>                                
COLOR 0 0 
0<BR>                                
FONT 
"arial"<BR>                                
SIZE 
10<BR>                                
TYPE 
TRUETYPE<BR>                                
POSITION 
AUTO<BR>                                
OUTLINECOLOR 255 255 
255<BR>                                
BUFFER 
8<BR>                        
END<BR>                
END<BR>        END</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>        
LAYER<BR>                
NAME 
"Notation"<BR>                
STATUS 
DEFAULT<BR>                
TRANSFORM 
FALSE<BR>                
TYPE 
ANNOTATION<BR>                
FEATURE<BR>                        
POINTS<BR>                                
33 390  # Across, 
Down<BR>                        
END<BR>                        
TEXT 
'FMFinder'<BR>                
END<BR>                
CLASS<BR>                        
LABEL<BR>                                
FONT 
"arial"<BR>                                
TYPE 
TRUETYPE<BR>                                
SIZE 
10<BR>                                
BUFFER 
1<BR>                                
COLOR 0 128 
255<BR>                                
FORCE 
TRUE<BR>                                
BACKGROUNDCOLOR 255 255 
255<BR>                        
END<BR>                
END<BR>        END<BR>END</DIV>
<DIV></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=tylermitchell@shaw.ca href="mailto:tylermitchell@shaw.ca">Tyler 
  Mitchell</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=kkoehn@ASPIREDILLUSION.COM 
  href="mailto:kkoehn@ASPIREDILLUSION.COM">Kelly Koehn</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A 
  title=MAPSERVER-USERS@LISTS.UMN.EDU 
  href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 24, 2006 10:42 
PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [SPAM] Re: [UMN_MAPSERVER-USERS] 
  National Atlas Projections... driving me crazy!</DIV>
  <DIV><BR></DIV>Hi Kelly,
  <DIV>I'm not familiar with your national atlas specific projections, but do 
  you have more details about the LCC projection you are referring to?  LCC 
  is a general class of projection that will have some more localised parameters 
  depending on, generally speaking, where you are centering your map.  The 
  lat_0/1/2 and lon_0 values might change depending on where you are doing your 
  mapping.  </DIV>
  <DIV><BR class=khtml-block-placeholder></DIV>
  <DIV>Do you already know the more full description of the LCC projection you 
  have in mind?</DIV>
  <DIV><BR class=khtml-block-placeholder></DIV>
  <DIV>Tyler</DIV>
  <DIV><BR>
  <DIV>
  <DIV>On 24-Jul-06, at 6:49 PM, Kelly Koehn wrote:</DIV><BR 
  class=Apple-interchange-newline>
  <BLOCKQUOTE type="cite"><SPAN class=Apple-style-span 
    style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; khtml-text-decorations-in-effect: none; apple-text-size-adjust: auto; orphans: 2; widows: 2">
    <DIV><FONT face=Arial size=2><SPAN class=Apple-style-span 
    style="FONT-SIZE: 10px; FONT-FAMILY: Arial">I've been working with mapserver 
    for quite some time now and I thought I'd made some strides in the areas of 
    projections but I seem to have went into it all backwards.  I started 
    out with the National Atlas datasets for counties and states.  I've 
    come to the conclusion that the projection they want you to use is 
    'latlong', ellps is 'GRS80', and datum is 'NAD83'.  The names are 
    'statesp020' and 'countyp020' I believe.</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2><SPAN class=Apple-style-span 
    style="FONT-SIZE: 10px; FONT-FAMILY: Arial">This is all fine and dandy 
    except unless you project the map as LCC it seems to be vertically 
    challenged.  For instance, the county that I live in (Sedgwick, in 
    Kansas) is not a rectangle.. its square.  I've found some examples of 
    the lat/long to LCC projection but most seem a bit 
foggy.</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2><SPAN class=Apple-style-span 
    style="FONT-SIZE: 10px; FONT-FAMILY: Arial">My real question has to do with 
    the whole 'lat/long to meters' conversion and how to make heads or tails of 
    the 'cs2cs' program that supposedly converts the values.    
    Is there some magic trick to this program that I'm not 
    finding? </SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2><SPAN class=Apple-style-span 
    style="FONT-SIZE: 10px; FONT-FAMILY: Arial">I have some other questions 
    about exactly what the lat_0, lat_1, lat_2, lon_0 values should be for the 
    LCC projection but I'll save those for another time.</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2><SPAN class=Apple-style-span 
    style="FONT-SIZE: 10px; FONT-FAMILY: Arial">Any help would be great! I'm 
    about ready to rip my hair out!</SPAN></FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2><SPAN class=Apple-style-span 
    style="FONT-SIZE: 10px; FONT-FAMILY: Arial">Kelly</SPAN></FONT></DIV>
    <DIV> </DIV><BR 
  class=Apple-interchange-newline></SPAN></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>