Re: [mapserver-users] MapServer on Centos 7
On Tue, May 28, 2019 at 3:26 PM nsilva wrote: > Thanks Steve for the fast reply! > > By now i have a ncWMS2 server that delivers a WMS service using .nc > (NetCDF) > files ...i was trying to use mapcache to process that WMS service, but i > keep getting errors from curl : > > > curl failed to request url > http://myserver.local:8080/ncWMS2 > >?VERSION=1.3.0&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=259722.00 > \xf699727.00 \xca302512.00 > \xd0142517.00&WIDTH=1556&HEIGHT=1556&FORMAT=PNG&SRS=EPSG > %a27700&LAYERS=ww3.total.2 : > The requested URL returned error: 400 , referer: > http://10.1.3.38/mapcache/demo/wms > > Since i'm a newbie on this subject, perhaps something needs to be > configured > in the mapcache.xml file, when i copy that URL in the error, i can't obtain > a valid response from my ncWMS2 server...there's a lot of jibberish caused > by slashes . > > Yes, thats URL looks strange and ncWMS2 says it's bad. The source-block in mapcache should look something like this: http://myserver.local:8080/ncWMS2 image/png ww3.total.2 /Erik ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer on Centos 7
On 2019-05-28 11:52 AM, nsilva wrote: That's one of the problems...i'm still trying to get a working mapcache.xml working...i'm using several examples online, and none appears to work... Can you share one of yours config snippets so i can use it as a template? (feel free to change hostnames or internal IP addresses ) If you are looking for a known working mapcache.xml to use as a starter, MS4W includes a working one at /ms4w/apps/mapcache/mapcache.xml You can grab it from https://ms4w.com (MS4W shares 40+ mapfiles and settings for Windows users, so it works out-of-the-box. I use those settings also for my CentOS and Ubuntu servers, it's just nice to start from something working). You can also view its Apache settings as well, and port those to your server. Hope that helps. PS. you can see those settings live in action at https://ms4w.me -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer on Centos 7
That's one of the problems...i'm still trying to get a working mapcache.xml working...i'm using several examples online, and none appears to work... Can you share one of yours config snippets so i can use it as a template? (feel free to change hostnames or internal IP addresses ) -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer on Centos 7
Perhaps post the relevant mapcache config snippets... I'm using MapCache with both MapServer and non-MapServer WMS sources. -Original Message- Thanks Steve for the fast reply! By now i have a ncWMS2 server that delivers a WMS service using .nc (NetCDF) files ...i was trying to use mapcache to process that WMS service, but i keep getting errors from curl : curl failed to request url http://myserver.local:8080/ncWMS2>?VERSION=1.3.0&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=259722.00 \xf699727.00 \xca302512.00 \xd0142517.00&WIDTH=1556&HEIGHT=1556&FORMAT=PNG&SRS=EPSG %a27700&LAYERS=ww3.total.2 : The requested URL returned error: 400 , referer: http://10.1.3.38/mapcache/demo/wms Since i'm a newbie on this subject, perhaps something needs to be configured in the mapcache.xml file, when i copy that URL in the error, i can't obtain a valid response from my ncWMS2 server...there's a lot of jibberish caused by slashes . I was trying to find someone that uses mapcache -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html ___ mapserver-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer on Centos 7
Thanks Steve for the fast reply! By now i have a ncWMS2 server that delivers a WMS service using .nc (NetCDF) files ...i was trying to use mapcache to process that WMS service, but i keep getting errors from curl : curl failed to request url http://myserver.local:8080/ncWMS2>?VERSION=1.3.0&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=259722.00 \xf699727.00 \xca302512.00 \xd0142517.00&WIDTH=1556&HEIGHT=1556&FORMAT=PNG&SRS=EPSG %a27700&LAYERS=ww3.total.2 : The requested URL returned error: 400 , referer: http://10.1.3.38/mapcache/demo/wms Since i'm a newbie on this subject, perhaps something needs to be configured in the mapcache.xml file, when i copy that URL in the error, i can't obtain a valid response from my ncWMS2 server...there's a lot of jibberish caused by slashes . I was trying to find someone that uses mapcache -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer on Centos 7
You can use MapCache without MapServer. You’ll need something to provide WMS services to tile (or proxy) but that could be anything. I don’t have any hints for CentOS but it should run there fine... —Steve From: mapserver-users on behalf of nsilva Sent: Tuesday, May 28, 2019 2:26:24 AM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] MapServer on Centos 7 At this point, i'm only interested to know if i can use only MapCache withou a MapServeror do i have to install MapServer as well. I want to create a mapcache server farm to speed up client requests as well a WMTS service to clients with low bandwidth...i already tryed MapProxy with sucess and now i'm trying to install another server with MapCache for a Proof of Concept. By now I installed it on a Ubuntu Server 18 but i'm not getting the tiles from the server that provides a WMS service...and i can't find 'recipes' online for Centos7... do you have any hints or saved recipe? Kind regards, Nuno Silva -- Sent from: https://gcc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fosgeo-org.1560.x6.nabble.com%2FMapserver-User-f4226646.html&data=02%7C01%7Csteve.lime%40state.mn.us%7C51392d1b6ed74a53247808d6e33dcbc7%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636946251879500828&sdata=ckapnzZLvcCugGOweVsLmiV6qN8W7wsjnbAsOuk6AGU%3D&reserved=0 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C51392d1b6ed74a53247808d6e33dcbc7%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636946251879500828&sdata=ar%2FcN3ZiMH9SDGx5loYO9IXhAA%2BmsYagI8hAPLEiNYc%3D&reserved=0 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer on Centos 7
At this point, i'm only interested to know if i can use only MapCache withou a MapServeror do i have to install MapServer as well. I want to create a mapcache server farm to speed up client requests as well a WMTS service to clients with low bandwidth...i already tryed MapProxy with sucess and now i'm trying to install another server with MapCache for a Proof of Concept. By now I installed it on a Ubuntu Server 18 but i'm not getting the tiles from the server that provides a WMS service...and i can't find 'recipes' online for Centos7... do you have any hints or saved recipe? Kind regards, Nuno Silva -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer on Centos 7
> > Does MapServer work well on Centos 7? > > We (Lantmäteriet, the Swedish mapping authority) are running Mapserver 6.x and Mapserver 7.x on RHEL7 with most functionality regarding OGC services enabled. We have been running Mapserver on RHEL for about 9 years without any major issues regarding the compilation or the stability of the software. /Erik ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer on Centos 7
We (US Army Corps as well as the other federal agencies I work with, US Army and NGA) use MapServer 7.x on both RHEL 7 and Oracle Enterprise Linux 7 (binary compatible with Centos 7) and have no issues. It’s a very stable platform for us. We run in STIG-ified Apache 2 web server without issue. You can certainly send this to any ISP. Note that we compile and deploy on separate on separate boxes so we only have the devel packages and compilers on one and then the generated binaries and depending libs on a separate box. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers -Original Message- From: mapserver-users on behalf of Mark Jackson Date: Wednesday, April 25, 2018 at 11:05 AM To: Subject: [mapserver-users] MapServer on Centos 7 Hi there We have a managed server with MapServer and Centos. We asked our ISP about moving to a new server and they said MapServer "would not work well with CentOS7, certainly not without a great deal of customisation and it's something we would not recommend. " (I am not convinced they know much about MapServer though...) Does MapServer work well on Centos 7? Is there a web page that says MapServer works well on Centos 7 - so I can send it to the ISP ? Back in 2011 the same ISP installed MapServer 5.6.6 onto Centos 5 quite easily, compiling it from source. I don't know exactly why they are reluctant to install MapServer on Centos 7 - they have not given details. We would be happy to use the most up-to-date MapServer, 7. I've looked at mapserver.org but can't find anything clear about Centos 7 support. I think the most relevant pages are the download page http://mapserver.org/uk/download.html and the compiling on Unix page http://mapserver.org/installation/unix.html (I'm reluctant to shift to another ISP because up to now, these guys have been excellent. I'd like to convince them that MapServer is fine on Centos 7.) Thanks Mark *** Cambridge Environmental Research Consultants Ltd. cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. This e-mail and any files transmitted with it are private and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, this e-mail and any accompanying files have been transmitted to you in error. You may not copy, distribute or make any other use of the information contained in them. CERC is a trading name of Cambridge Environmental Research Consultants Ltd, registered at Cardiff with number 1926883. Registered Office address: 3 Kings Parade, Cambridge, CB2 1SJ. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapServer on Centos 7
Hi there We have a managed server with MapServer and Centos. We asked our ISP about moving to a new server and they said MapServer "would not work well with CentOS7, certainly not without a great deal of customisation and it's something we would not recommend. " (I am not convinced they know much about MapServer though...) Does MapServer work well on Centos 7? Is there a web page that says MapServer works well on Centos 7 - so I can send it to the ISP ? Back in 2011 the same ISP installed MapServer 5.6.6 onto Centos 5 quite easily, compiling it from source. I don't know exactly why they are reluctant to install MapServer on Centos 7 - they have not given details. We would be happy to use the most up-to-date MapServer, 7. I've looked at mapserver.org but can't find anything clear about Centos 7 support. I think the most relevant pages are the download page http://mapserver.org/uk/download.html and the compiling on Unix page http://mapserver.org/installation/unix.html (I'm reluctant to shift to another ISP because up to now, these guys have been excellent. I'd like to convince them that MapServer is fine on Centos 7.) Thanks Mark *** Cambridge Environmental Research Consultants Ltd. cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. This e-mail and any files transmitted with it are private and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, this e-mail and any accompanying files have been transmitted to you in error. You may not copy, distribute or make any other use of the information contained in them. CERC is a trading name of Cambridge Environmental Research Consultants Ltd, registered at Cardiff with number 1926883. Registered Office address: 3 Kings Parade, Cambridge, CB2 1SJ. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapServer on centos 7
Hi all, I'm in the need of installing mapserver and pmapper on a centos 7 box. I googled for a suitable repo, but the only one I was able to find was on elgis and is stucked at centos 6. Is there anybody who knows about a centos 7 one? I also searched for building instructions but none of what I've found is targeted to centos 7. Can someone, please, direct me to right source of info? I'm not so willing to downgrade to centos 6. Thank you for any answer. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users