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