[Geomoose-users] unable to request wms service in a different projection in GM 2.9.3

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Geomoose-users] unable to request wms service in a different projection in GM 2.9.3

Mark  Volz

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>

                <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
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geomoose-users
Reply | Threaded
Open this post in threaded view
|

Re: [Geomoose-users] unable to request wms service in a different projection in GM 2.9.3

blammo
 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:  



bobb



On Apr 30, 2018, at 11:20 AM, Mark Volz <[hidden email]> 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'>
                <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.
_______________________________________________
Geomoose-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geomoose-users


"Tact is the ability to describe others as they see themselves.”
-  Abraham Lincoln





_______________________________________________
Geomoose-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geomoose-users
Reply | Threaded
Open this post in threaded view
|

Re: [Geomoose-users] unable to request wms service in a different projection in GM 2.9.3

Sacha Black
In reply to this post by Mark Volz

Hi Mark,

I never tried the method at the link you provided, so cant answer that question, but here is how I would solve the problem:

- first what projection do you want to request? You said not 103749....

- second, check if the server you are connecting to supports that projection:
     http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?service=wms&request=getcapabilities

- third, assuming it does not support your preferred projection, then Bobb's suggestion is the way to go. Make a mapfile that connects to the WMS, and reprojects it, then connect your Geomoose to that reprojected WMS source that you've just made.

hope that helps,

Tanya



On Mon, Apr 30, 2018 at 9:20 AM, Mark Volz <[hidden email]> 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>

                <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
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geomoose-users


_______________________________________________
Geomoose-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geomoose-users