[Geomoose-users] NASA OnEarth wms
Dan Little
danlittle at yahoo.com
Thu Dec 10 10:07:04 EST 2009
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.
>
>From: "Moore, Richard J" <richard.moore at mnsu.edu>
>To: Devon Piernot <piernotd at uwplatt.edu>; geomoose-users <geomoose-users at lists.sourceforge.net>
>Sent: Thu, December 10, 2009 8:39:55 AM
>Subject: Re: [Geomoose-users] NASA OnEarth wms
>
>Untitled Document >
>
>
>>
>Hello all,
>
>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.
>
>You can see the example of this at this site. http://gis.wrc.mnsu.edu/mrmp/geomoose.html
>
>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.
>
>Any suggestions? I can send the mapbook if need be.
>
>Thanks,
>
>Rick
>
>>
>>
>>
>Rick Moore
>GIS Research Analyst
>
>Water Resources Center
>184 TraftonScience Center South
>Minnesota State University, Mankato
>Mankato, MN 56001
>
>(507) 389-3267
>richard.moore at mnsu.edu
>http://mavdisk.mnsu.edu/moorer2/
>
>>
>>
>From:Devon Piernot
>[mailto:piernotd at uwplatt.edu]
>Sent: Thursday, October 15, 2009 6:12 PM
>To: geomoose-users
>Subject: [Geomoose-users] NASA OnEarth wms
>
>First off, thank you to everyone who has helped my
>application get this far.
>
>>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 http://www.spatialreference.org/ref/epsg/3071/ >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: http://gis.swwrpc.org/geomoose2/geomoose.html >(zoom in and it looks ok, but zoom out and it is way off).
>
>>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?
>
>>I followed the instructions here: http://www.geomoose.org/moose/howto/wms_project.html >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?
>
>>Here is the code from my mapbook (with the default projection):
>><map-source name="nasa" type="wms"
>tiled="false" projection="EPSG:4326">
>> http://wms.jpl.nasa.gov/wms.cgi
>> <layer
>name="global_mosaic"/>
>> <param name="format"
>value="image/jpeg" reproject="true"/>
>> </map-source>
>>
>>...and here is my projection:
>>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";
>
>
>>Thank you all for your help
>>
>--
>Devon Piernot
>GIS / Web Developer
>Southwestern Wisconsin Regional Planning Commission
>(608) 342-6065
>piernotd at uwplatt.edu
>www.swwrpc.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20091210/1a16e320/attachment.html
More information about the Geomoose-users
mailing list