<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>It's primarily because the raster-reprojection is wrong. There isn't real raster reprojection happening in the brower, javascript just does not have the capabilities to make it right. We need to actually remove that from the demo. It's possible to do practical vector reprojections but the thought of doing the raster is beyond the bounds of what Javascript can currently do and needs to be left to MapServer/GDAL.<br></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><b><span style="font-weight: bold;">From:</span></b> "Moore, Richard J"
<richard.moore@mnsu.edu><br><b><span style="font-weight: bold;">To:</span></b> Devon Piernot <piernotd@uwplatt.edu>; geomoose-users <geomoose-users@lists.sourceforge.net><br><b><span style="font-weight: bold;">Sent:</span></b> Thu, December 10, 2009 8:39:55 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Geomoose-users] NASA OnEarth wms<br></font><br>
<title>Untitled Document</title>
<style>
<!--
_filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
_filtered {font-family:"Trebuchet MS";panose-1:2 11 6 3 2 2 2 2 2 4;}
_filtered {font-family:"Copperplate Gothic Bold";panose-1:2 14 7 5 2 2 6 2 4 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";color:black;}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p
        {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times New Roman", "serif";color:black;}
p.nametitle, li.nametitle, div.nametitle
        {margin-right:0in;margin-left:0in;font-size:10.5pt;font-family:"Trebuchet MS", "sans-serif";color:#000099;}
p.org, li.org, div.org
        {margin-right:0in;margin-left:0in;font-size:9.0pt;font-family:"Trebuchet MS", "sans-serif";color:#006600;}
p.links, li.links, div.links
        {margin-right:0in;margin-left:0in;font-size:9.0pt;font-family:"Times New Roman", "serif";color:black;}
span.nametitle1
        {font-family:"Trebuchet MS", "sans-serif";color:#000099;}
span.org1
        {font-family:"Trebuchet MS", "sans-serif";color:#006600;}
span.links1
        {}
span.EmailStyle24
        {font-family:"Calibri", "sans-serif";color:blue;font-weight:normal;font-style:normal;text-decoration:none none;}
.MsoChpDefault
        {font-size:10.0pt;}
_filtered {margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">Hello all,</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">I want to ask a question about the NASA Global Mosaic and how it
doesn’t match up with the data at a statewide zoom and and farther
out. I added a layer EROS that uses the projection 4326 and added it
similarly to the mapbook.xml as the global mosaic. At the statewide zoom,
the images and the county layers do not match up. As you zoom in, the lines
approach the correct placement on the map.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"><span>You can see the example of this at this site. <a target="_blank" href="http://gis.wrc.mnsu.edu/mrmp/geomoose.html">http://gis.wrc.mnsu.edu/mrmp/geomoose.html</a>
</span></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">I noticed Devon Piernot had an issue with this on October 15, 2009
and didn’t see a response on the forums to his question. Also,
Efstathios Arapostathis remarked about having problems with this also. I
just installed GM 2.0.1 yesterday and had only made changes to the mapbook.xml
by adding some layers.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">Any suggestions? I can send the mapbook if need be.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">Thanks,</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">Rick</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> </span></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Copperplate Gothic Bold","sans-serif"; color: blue;">Rick Moore</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Copperplate Gothic Bold","sans-serif"; color: blue;">GIS Research Analyst</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Copperplate Gothic Bold","sans-serif"; color: blue;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">Water Resources Center</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">184 </span><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">Trafton</span><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> Science Center South</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">Minnesota State University, Mankato</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">Mankato, MN 56001</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">(507) 389-3267</span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;">richard.moore@mnsu.edu</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: blue;"><span><a target="_blank" href="http://mavdisk.mnsu.edu/moorer2/">http://mavdisk.mnsu.edu/moorer2/</a></span></span></p>
</div>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif"; color: blue;"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"> Devon Piernot
[mailto:piernotd@uwplatt.edu] <br>
<b>Sent:</b> Thursday, October 15, 2009 6:12 PM<br>
<b>To:</b> geomoose-users<br>
<b>Subject:</b> [Geomoose-users] NASA OnEarth wms</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">First off, thank you to everyone who has helped my
application get this far.<br>
<br><span>
As with the demo, I am trying to use the NASA global mosaic in my geomoose
application, but I may be having some problems with projections. I have
defined EPSG:3071, which is the Wisconsin Transverse Mercator <a target="_blank" href="http://www.spatialreference.org/ref/epsg/3071/">http://www.spatialreference.org/ref/epsg/3071/</a>
and all of my own data is in this projection, but the global mosaic does not
recognize it. When I leave the wms in EPSG:4326 the image shows up, but
it matches the map less and less at smaller scales. This can be seen on
the demo here: <a target="_blank" href="http://gis.swwrpc.org/geomoose2/geomoose.html">http://gis.swwrpc.org/geomoose2/geomoose.html</a>
(zoom in and it looks ok, but zoom out and it is way off).</span><br>
<br>
I see that the default projection for the global mosaic is EPSG:4326, does this
mean that I cannot reproject it in geomoose 2.0?<br>
<br><span>
I followed the instructions here: <a target="_blank" href="http://www.geomoose.org/moose/howto/wms_project.html">http://www.geomoose.org/moose/howto/wms_project.html</a>
but to no avail, which makes me believe it could be a problem with my
configuration somehow. Should I instead write a mapfile to take the wms?</span><br>
<br>
Here is the code from my mapbook (with the default projection):<br>
<map-source name="nasa" type="wms"
tiled="false" projection="EPSG:4326"><br><span>
<url><a target="_blank" href="http://wms.jpl.nasa.gov/wms.cgi">http://wms.jpl.nasa.gov/wms.cgi</a></url></span><br>
<layer
name="global_mosaic"/><br>
<param name="format"
value="image/jpeg" reproject="true"/><br>
</map-source><br>
<br>
...and here is my projection:<br>
Proj4js.defs["EPSG:3071"] = "+title= NAD83(HARN) / Wisconsin
Transverse Mercator +proj=tmerc +lat_0=0 +lon_0=-90 +k=0.9996 +x_0=520000
+y_0=-4480000 +ellps=GRS80 +units=m +no_defs";<br>
<br>
<br>
Thank you all for your help</p>
<div>
<p class="MsoNormal">-- </p>
<p><span class="nametitle1"><span style="font-size: 10.5pt;">Devon Piernot</span></span><span style="font-size: 10.5pt; font-family: "Trebuchet MS","sans-serif"; color: rgb(0, 0, 153);"><br>
</span><span class="org1"><span style="font-size: 9pt;">GIS / Web Developer</span></span><span style="font-size: 9pt; font-family: "Trebuchet MS","sans-serif"; color: rgb(0, 102, 0);"><br>
<span class="org1">Southwestern Wisconsin Regional Planning Commission</span><br>
</span><span class="links1"><span style="font-size: 9pt;">(608) 342-6065</span></span><br>
<span class="links1"><span style="font-size: 9pt;"><a rel="nofollow" ymailto="mailto:piernotd@uwplatt.edu" target="_blank" href="mailto:piernotd@uwplatt.edu">piernotd@uwplatt.edu</a></span></span><span style="font-size: 9pt;"><br>
<span class="links1"><a rel="nofollow" target="_blank" href="http://www.swwrpc.org">www.swwrpc.org</a></span></span></p>
</div>
</div>
</div></div></blockquote>
<!-- cg11.c2.mail.re1.yahoo.com compressed/chunked Thu Dec 10 06:55:03 PST 2009 -->
</div><br>
</body></html>