[Geomoose-users] WMS not working

Jim Klassen klassen.js at gmail.com
Wed Jul 3 14:05:01 PDT 2013


It is possible to re-project your data on the fly using MapServer.  Assuming Dakota County coordinates are similar to Ramsey County coordinates, it will take editing a few configuration files so MapServer, and GDAL know about the country projection.

For one, I wouldn't do anything new based on Yahoo tiles.  Yahoo has repeatedly said they are going to turn off the service and as such the latest OpenLayers release (which will be in the next GeoMoose release) removed support for Yahoo.  That doesn't leave you with much of an upgrade path.  There are other commercial options, and OpenStreetMaps that use the same projection if you want to stay that route.

Which projection kind of depends on your audience.  If it is internal city users, I'd go with county coordinates as it is likely what they are used to looking at.  The downside is you will have to re-project most every external source (because MN country coordinates don't have standardized EPSG codes to be used with WMS/WFS).  UTM15 works well if you are working with a lot of state datasets.  Given that you are in IGH and the quality of the state and county data in this area, I wouldn't worry to much about staying in Web Mercator simply for maintaining compatibility with the commercial tile sets.

Clearly, the Web Mercator tile sets impose the projection, but the other bit they impose is the zoom level you can use to a fixed set of 20 zoom levels.  None of these levels are the standards you might want to print with (1:24000, 1:6000, 1":40', 1":50', ....).  If you use WMS layers, you can set the zoom levels to be what you want, or you can even set them so aren't fixed to a set list.

Jim

On Jul 3, 2013, at 3:39 PM, Dennis Tumberg wrote:

> Sorry, “Nothing worked” was just meaning changing the status did not make any changes to what I was seeing, the layer still did not display, but everything else that I have in is still working the same as before.
>  
> I have made changes to the demo and have many layers from the city showing in the GeoMOOSE site, I just projected them to UTM coordinates to make them work.  I have gone back and forth on whether to keep the site in the original Web Mercator coordinates or to go with Dakota County coordinates, the only reason I would stay in Web Mercator coordinates is to have the yahoo basemap still useable, but I would have to project all the files each time I do any updates since everything at the city is stored in Dakota County Coordinates.  Any thoughts on which one will work better in the long run?
>  
> From: Jim Klassen [mailto:klassen.js at gmail.com] 
> Sent: Wednesday, July 03, 2013 3:22 PM
> To: Dennis Tumberg
> Cc: geomoose-users at lists.osgeo.org List
> Subject: Re: [Geomoose-users] WMS not working
>  
> Let's take a step back...  "Nothing worked" doesn't give us much of a base line to help you from.
>  
> Do you have the stock 2.6.1 demo working?
>  
> What have you changed from the demo?
>             Simplest would be to add the fsa2010 layer to the lmic.map file, then add the layer child to the map-source, and finally add the layer in the catalog.
>  
>             Have you tried to change the projection of the map from Web Mercator (3857) to UTM15 (26915)?  If so, you should be aware that the popular tiled layers (google, bing, osm, ...) won't work anymore, but as you are in Dakota County, there should be a good basemap available to you in 26915 that you could use instead.  Also, if you change projection, the max_extent, initial_extent, zoom_tos, will need to change to the new projection.  You may also want to look at changing numZoomLevels and maxResolution.
>  
> What does not working mean?
>             Pink map?
>             White map?
>             No interface?
>             And error messages? (And check in a JavaScript console too, like Firebug)
>             Do other layers work?
>  
> The statewide fsa2010 layer from MNGeo isn't significantly different than the met10 layer that is in the demo already.
>  
> On Jul 3, 2013, at 3:01 PM, Dennis Tumberg 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
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130703/d269fc0c/attachment-0001.html>


More information about the Geomoose-users mailing list