[Geomoose-users] unable to request wms service in a different projection in GM 2.9.3
Basques, Bob (CI-StPaul)
bob.basques at ci.stpaul.mn.us
Mon Apr 30 09:42:13 PDT 2018
Not really answering your question, but it is a way to handle reprojections on the fly.
Here in St. Paul, we manage this inside of the Mapfile itself, and do the reprojection there. We set up all our Mapfiles (or most of them anyway) as WMS services themselves, even if they are pointing at other WMS services. We can then reproject to any projection inside of our GeoMoose install. because we can advertise the required WMS projections in our own WMS services from the Mapfile Basically we use MapServer/Mapfiles as a proxy to capture the remote server content.
I’m not really up 100% on the available Mapbook parameters either so, sorry can’t help you there. Once upon a time, I do recall that you needed to list out all the coordinate systems being used in GeoMoose for just this purpose in the proj.js (I don’t know if that is the real name) package. That requirement could be superseded now though. Here is some info on that topic:
https://docs.geomoose.org/2.9/docs/projections.html
bobb
On Apr 30, 2018, at 11:20 AM, Mark Volz <MarkVolz at co.lyon.mn.us<mailto:MarkVolz at co.lyon.mn.us>> wrote:
Hello,
I am unable to request a WMS service in a different projection using GeoMOOSE 2.9.3. Despite defining a projection in the <map-source> that is compatible with the wms server, I noticed GeoMOOSE is still requesting the wms SRS using my local SRS.
Question:
1) Can GeoMOOSE still reproject WMS services per? https://docs.geomoose.org/2.9/howto/wms_project.html
2) Both projections are included as .js files in my apps /htdocs/projections folder. Is there anything else I need to do?
Mapbook service Request:
<map-source name='Weather' type='wms' tiled='false' reference='false' projection='EPSG:26915'>
<url>http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi</url><http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi%3C/url%3E>
<layer name="nexrad-n0r"/>
</map-source>
WMS Request: Note that the projection is 103749, which is different than the projection that I would like to request.
http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=nexrad-n0r&_OLSALT=0.6115668051170918&SRS=EPSG%3A103749&BBOX=464597.84446715,65807.2961071,671317.84446715,180495.2961071&WIDTH=1615&HEIGHT=896
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geomoose-users
"Tact is the ability to describe others as they see themselves.”
- Abraham Lincoln
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20180430/068db3f1/attachment-0001.html>
More information about the Geomoose-users
mailing list