<html>
  <head>
    <style type="text/css">
      <!--
        body { margin-top: 4px; margin-right: 4px; margin-left: 4px; font-variant: normal; margin-bottom: 1px; line-height: normal }
        p { margin-top: 0; margin-bottom: 0 }
      -->
    </style>
    
  </head>
  <body style="margin-top: 4px; margin-right: 4px; margin-left: 4px; margin-bottom: 1px">
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">Brent&#44;</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">I think those type of things are best left to packaging of demos.</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">While the minimum settings required for a SHP file may be lower than some other format&#44; the reality is&#44; that to accommodate all those other file types&#44; there are settings that will need to be required&#44; whether or not they are needed.</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">Now&#44; to address the newbie perspective&#44; I would suggest going in a bit different direction&#44; probably needs a bit of discussion though.</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">What about a MapServer &quot;Lite&quot; &#40;less filling . . . blah&#44; blah&#41; and focused primarily on the newbie and pre-packaging in mind. &nbsp;They use the LITE version to learn on. &nbsp;May possibly be a way to jump start the new XML format as well &#40;which is supposed to be automateable and less likely to need user &#40;human&#41; wangling&#44; especially if a configuration GUI were added to the mix&#44; could start with something like QGIS for example. &nbsp;In general&#44; the idea would be to put a LITE suite of things together so all the pieces are configured and work&#44; but with minimal configuration requirements.</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">A USB &nbsp;based distribution may be a fit here as well.</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">Just rambling&#44; my own fault for reading the lists&#44; I guess.</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">bobb</font><br><br>&gt;&gt;&gt; Brent Fraser &lt;bfraser@geoanalytic.com&gt; wrote:<br>    </p>
    <div style="background-color: #f3f3f3; border-left: solid 1px #050505; margin-top: 0; padding-left: 7px; margin-left: 15px; margin-right: 0; margin-bottom: 0">
      <p style="margin-bottom: 0; margin-top: 0">
        Perhaps we could have something like<br><br>LAYER<br>&#160;&#160;&nbsp;PROJECTION<br>&#160;&#160;&#160;&#160;&nbsp;MAP<br>&#160;&#160;&nbsp;END<br>END<br><br>when a re-projection is specifically not wanted &#40;e.g. NAD83-&gt;WGS84&#41;.&#160;&nbsp;But in<br>general&#44; I agree with the opt-in/backwards-compatible approach.<br><br>&#160;&#160;&nbsp;On the other hand&#44; to make things simple for the new user&#44; is it necessary to<br>have MAP entries of EXTENTS/UNITS/PROJECTION at all&#63;&#160;&nbsp;Could mapserver just use<br>the first layer&#39;s extents&#63;<br><br><br>&#160;&#160;&nbsp;Hmmm&#44; the mind boggles...&#160;&nbsp;A question for the experts: What is the smallest<br>map file to get a rendered image &#40;given a shapefile&#41;&#63;&#160;&nbsp;Why are those entries<br>required&#63;&#160;&nbsp;Could mapserver generate/calculate/assume reasonable defaults&#63;&#160;&nbsp;Would<br>it be possible to have just:<br><br>MAP<br>&#160;&#160;&nbsp;LAYER<br>&#160;&#160;&#160;&#160;&nbsp;DATA &#39;/tmp/myshapes.shp&#39;<br>&#160;&#160;&nbsp;END<br>END<br><br><br>&#160;&#160;&nbsp;Now to push the limits &#40;and keep in mind this is all for new users to get<br>something working quickly&#41;.&#160;&nbsp;Why require anything&#63;&#160;&nbsp;Why not compile in an<br>ultra-low res set of continental polygons and have mapserv &#40;if no CGI parameters<br>are given&#41; spit out some html &#40;so you can pan/zoom&#41; and an image of the world&#63;<br><br>&#160;&#160;&nbsp;Or perhaps getting started with mapserver isn&#39;t that hard.&#160;&nbsp;I&#39;m amazed at how<br>many people new to mapping&#44; gis data formats&#44; projections&#44; or web serving will<br>jump right in to editing map files.<br><br>Brent<br><br><br>Howard Butler wrote:<br>&gt; On Feb 2&#44; 2010&#44; at 1:20 PM&#44; Paul Ramsey wrote:<br>&gt;<br>&gt;&gt; On Tue&#44; Feb 2&#44; 2010 at 11:03 AM&#44; Brent Fraser &lt;bfraser@geoanalytic.com&gt; wrote:<br>&gt;&gt;&gt; Hmm.&#160;&nbsp;I see the problem.&#160;&nbsp;The current Mapserver behavior is &quot;if the LAYER<br>&gt;&gt;&gt; proj is not specified&#44; assume it to be the same as the MAP proj and don&#39;t<br>&gt;&gt;&gt; re-project the coordinates&quot;.<br>&gt;&gt; I don&#39;t see that a behavior of<br>&gt;&gt; - if PROJECTION defined use that<br>&gt;&gt; - if &#33; PROJECTION but source SRS is available use that<br>&gt;&gt; - if no information assume same as MAP<br>&gt;&gt; would necessarily break any map files<br>&gt;&gt; &#40;except those where the data is actually living in a state with<br>&gt;&gt; invalid source SRS information&#44; in which case blaming mapserver for<br>&gt;&gt; breaking backwards compat is a bit harsh&#41;<br>&gt;<br>&gt; The problem with case &#35;2 is we use the source SRS and it&#39;s negligibly different&#44; we trigger unnecessary reprojection.&#160;&nbsp;The only test we have is to compare proj.4 strings&#44; which in many cases can have functionally equivalent but not identical proj.4 representations.<br>&gt;<br>&gt; opt-in&#44; or opt-out.&#160;&nbsp;We have to choose.&#160;&nbsp;My RFC was opt-in and bends over backwards to do so.<br>&gt;<br>&gt; Howard<br>&gt;<br>&gt;<br>&gt;<br>_______________________________________________<br>mapserver-dev mailing list<br>mapserver-dev@lists.osgeo.org<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</a>-dev<br>
      </p>
    </div>
  </body>
</html>