So would that mean that they converted the entire tiger line file to a different projection?  I will give that a try.  Thank you for the suggestion.<br><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 1:08 PM, Fawcett, David (MPCA) <span dir="ltr">&lt;<a href="mailto:David.Fawcett@state.mn.us">David.Fawcett@state.mn.us</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">It could be that your data is in a geographic spatial reference
system and that the OSM tiles are in a World Mercator spatial reference system
(epsg:900913).</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">David.  </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">

<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Adam
Eskreis<br>
<b>Sent:</b> Friday, November 05, 2010 11:54 AM<br>
<b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapserver-users] Tiger line file and mapserver</span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-bottom: 12pt;">Hello everyone.<br>
<br>
I&#39;m having a problem with the Tiger line file in mapserver that I can&#39;t seem to
work out.  I am using mapserver as my backend and openlayers as my
frontend.  I&#39;m not sure if my configuration is off, but I put on the layer
in openlayers, and the angle of the lines seems to be a bit off.  If you
look at, for instance, <a href="http://openstreetmaps.org" target="_blank">openstreetmaps.org</a>
(who also uses the tiger file) in the area of new york city, all the blocks are
perfect rectangles.  However, in my map, these same boxes seem to
represent more of a shape similar to a parallelogram with acute and obtuse
angles at the corners.  <br>
<br>
I inspected the code of <a href="http://openstreetmaps.org" target="_blank">openstreetmaps.org</a>,
and looked at their openlayers code.  They have something similar to this
for their map declaration:<br>
<br>
map = new OpenLayers.Map(&#39;map&#39;, {<br>
      controls: [<br>
         new
OpenLayers.Control.PanZoomBar()<br>
      ],<br>
      units: &quot;m&quot;,<br>
      maxResolution: &quot;156543.0339&quot;,<br>
      numZoomLevels: 20,<br>
      displayProjection: new OpenLayers.Projection(&quot;EPSG:4326&quot;)<br>
   });<br>
<br>
I tried using this on my map (which also uses the tiger file), but I cannot get
it to scale properly.  On the most zoomed in level, new york city is just
a tiny dot, and if I zoom out I can&#39;t see anything.  Here is my mapfile
code:<br>
<br>
MAP<br>
  NAME &quot;basemap&quot;<br>
  STATUS on<br>
  SIZE 800 600<br>
  EXTENT -180 -90 180 90<br>
  IMAGECOLOR 250 250 250<br>
  IMAGETYPE &#39;AGGA&#39;<br>
  CONFIG &quot;MS_ERRORFILE&quot; &quot;/var/tmp/ms.log&quot;<br>
  DEBUG 5<br>
  WEB<br>
    METADATA<br>
      &quot;wms_srs&quot; &quot;EPSG:4326&quot;<br>
      &quot;wms_onlineresource&quot; &quot;<a href="http://mydomain.com/cgi-bin/mapserv?map=/var/www/htdocs/dev/modules/maps/basemap.map" target="_blank">http://mydomain.com/cgi-bin/mapserv?map=/var/www/htdocs/dev/modules/maps/basemap.map</a>&quot;<br>

    END<br>
  END<br>
  PROJECTION<br>
    &quot;init=epsg:4326&quot;<br>
  END<br>
  <br>
  FONTSET &quot;fonts.txt&quot;<br>
<br>
  OUTPUTFORMAT<br>
    NAME &quot;AGGA&quot;<br>
    MIMETYPE &quot;image/png&quot;    <br>
    DRIVER &quot;AGG/PNG&quot;<br>
    IMAGEMODE &quot;RGBA&quot;<br>
    TRANSPARENT TRUE<br>
    EXTENSION &quot;PNG&quot;<br>
    FORMATOPTION &quot;INTERLACE=FALSE&quot;<br>
  END<br>
 LAYER<br>
   name lines<br>
   GROUP basemap<br>
   TYPE LINE<br>
   PROJECTION<br>
    &quot;init=epsg:4326&quot;<br>
   END<br>
   STATUS on<br>
   CONNECTIONTYPE postgis<br>
   CONNECTION &quot;[removed]&quot;<br>
   DATA &quot;the_geom from tiger_lines&quot;<br>
   CLASS<br>
     style<br>
      color 131 139 131<br>
      width 24<br>
      antialias true<br>
     end<br>
     style<br>
      color 200 200 200<br>
      width 22<br>
      antialias true<br>
     end<br>
   END<br>
 END<br>
END<br>
<br>
Does anyone see anything that might be the reason why I cannot get my map to
scale properly using the same exact file and openlayers code as <a href="http://openstreetmap.org" target="_blank">openstreetmap.org</a>?  <br>
<br>
Thanks,<br>
<br>
-Adam</p>

</div></div></div>

</div>


</blockquote></div><br>