[Geomoose-users] WMS not working

Paul Wickman paul at flatrockgeo.com
Wed Jul 3 13:50:13 PDT 2013


Yes, it is possible.  Just like other GIS/web mapping tools, the map
display itself is set to be in a certain projection. Any source data (in
this case WMS imagery) that is not in that coordinate system must be
re-projected.  In the GeoMoose world this typically happens in one of two
places; either in GeoMoose itself (where the web browser does the
re-projection) or in MapServer.

In the later case, MapServer essentially acts as a WMS proxy. You would
configure GeoMoose to use MapServer as the WMS source.  MapServer in turn
is configured with a layer, which pulls from the "real" WMS server.
 MapServer re-projects that data and punts it back in the native projection
that GeoMoose expects.

Typically, if I want to pull in layers that are in multiple different
projects I let MapServer do the heavy lifting in this manner.  I have
played around with letting GeoMoose deal with multiple projections, but
frankly I find it to be slower and just generally a bit more troublesome to
configure and debug.  Others on the list may have a different experience.

Hope that clears things up rather than making them murkier ;)





On Wed, Jul 3, 2013 at 3:26 PM, Dennis Tumberg <
dtumberg at invergroveheights.org> wrote:

> Paul,****
>
> ** **
>
> That worked!  Thanks for your help with this.  So, is it possible to use
> WMS layers that are in a different coordinate system, or is that not
> possible in GeoMOOSE?  I was looking at adding aerials that were originally
> in Dakota County Coordinates and in UTM coordinates.  Before I get to far
> into this I should find out if that is even possible or not.****
>
> ** **
>
> Thanks!****
>
> ** **
>
> *From:* Paul Wickman [mailto:paul at flatrockgeo.com]
> *Sent:* Wednesday, July 03, 2013 3:20 PM
> *To:* Dennis Tumberg
> *Cc:* geomoose-users at lists.osgeo.org
> *Subject:* Re: [Geomoose-users] WMS not working****
>
> ** **
>
> Ah, ok.  I expect that's the problem.  The 3857 projection is for "Web
> Mercator", aka "Google Projection".  The MnGeo WMS service that you're
> trying to hit only provides imagery in UTM15N (26915).****
>
> ** **
>
> However, there is a solution!  Try using the following.  The URL specified
> here serves the same imagery in the project that you need.****
>
> ** **
>
> <map-source name="fsa2010" type="wms" projection='EPSG:3857'>****
>
>                 <url>http://geoint.lmic.state.mn.us/cgi-bin/wmsll?</url>**
> **
>
>                  <layer name="fsa2010" />****
>
>                 <param name="TRANSPARENT" value="true"/>****
>
>                 <param name="FORMAT" value="image/jpeg"/>****
>
> </map-source>****
>
> ** **
>
> ** **
>
> ** **
>
> On Wed, Jul 3, 2013 at 3:07 PM, Dennis Tumberg <
> dtumberg at invergroveheights.org> wrote:****
>
> It is not, it is set to:****
>
>  ****
>
> <param name="projection">EPSG:3857</param>****
>
>  ****
>
>  ****
>
> *From:* Paul Wickman [mailto:paul at flatrockgeo.com]
> *Sent:* Wednesday, July 03, 2013 3:07 PM****
>
>
> *To:* Dennis Tumberg
> *Cc:* geomoose-users at lists.osgeo.org
> *Subject:* Re: [Geomoose-users] WMS not working****
>
>  ****
>
> Is your mapbook.xml set to the same projection (26915)?****
>
>  ****
>
> <param name="projection">EPSG:26915</param>****
>
>  ****
>
>  ****
>
> On Wed, Jul 3, 2013 at 3:01 PM, Dennis Tumberg <
> dtumberg at invergroveheights.org> wrote:****
>
> Sorry, I had copied that to post it, but switched it to “on” before I
> posted, nothing worked.  I deleted status all together, it is still not
> working.****
>
>  ****
>
> *Dennis Tumberg*****
>
> GIS Technician****
>
> City of Inver Grove Heights****
>
> Phone - 651.554.3446****
>
>  ****
>
> *From:* Paul Wickman [mailto:paul at flatrockgeo.com]
> *Sent:* Wednesday, July 03, 2013 2:57 PM
> *To:* Dennis Tumberg
> *Cc:* geomoose-users at lists.osgeo.org
> *Subject:* Re: [Geomoose-users] WMS not working****
>
>  ****
>
> Dennis,****
>
>  ****
>
> At first glance, try removing the ' status="off" ' setting on the <layer>
> ****
>
>  ****
>
> On Wed, Jul 3, 2013 at 2:23 PM, Dennis Tumberg <
> dtumberg at invergroveheights.org> wrote:****
>
> I have been working with GeoMOOSE just a short time and am having issues
> with getting a WMS layer to display.****
>
>  ****
>
> I have tried adding the WMS directly with and without a MAP file.****
>
>  ****
>
> Here is what I have for the map source and layer in catalog:****
>
>  ****
>
> <map-source name="fsa2010" type="wms" projection='EPSG:26915'>****
>
>                 <url>http://geoint.lmic.state.mn.us/cgi-bin/wms?</url>****
>
>                  <layer name="fsa2010" status="off"/>****
>
>                 <param name="TRANSPARENT" value="true"/>****
>
>                 <param name="FORMAT" value="image/png"/>****
>
> </map-source>****
>
>  ****
>
> <layer title="2010 FSA" src="fsa2010/fsa2010" status="off" legend="false"
> fade="false" unfade="false"/>****
>
>  ****
>
> What am I doing wrong, I can’t seem to find any of the solutions with
> online searches.****
>
>  ****
>
> Thanks,****
>
>  ****
>
> *Dennis Tumberg*****
>
> GIS Technician****
>
> City of Inver Grove Heights****
>
> Phone - 651.554.3446****
>
>  ****
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users****
>
>
>
> ****
>
>  ****
>
> --
> Paul Wickman
> CTO | Flat Rock Geographics
> 612.280.5850 | paul at flatrockgeo.com
> www.flatrockgeo.com | twitter.com/flatrockgeo ****
>
>
>
> ****
>
>  ****
>
> --
> Paul Wickman
> CTO | Flat Rock Geographics
> 612.280.5850 | paul at flatrockgeo.com
> www.flatrockgeo.com | twitter.com/flatrockgeo ****
>
>
>
> ****
>
> ** **
>
> --
> Paul Wickman
> CTO | Flat Rock Geographics
> 612.280.5850 | paul at flatrockgeo.com
> www.flatrockgeo.com | twitter.com/flatrockgeo ****
>



-- 
Paul Wickman
CTO | Flat Rock Geographics
612.280.5850 | paul at flatrockgeo.com
www.flatrockgeo.com | twitter.com/flatrockgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130703/2b953eda/attachment-0001.html>


More information about the Geomoose-users mailing list