On Tue, May 28, 2019 at 3:26 PM nsilva <nuno....@gmail.com> 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.000000 > \xf699727.000000 \xca302512.000000 > \xd0142517.000000&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:
<source name="mysource" type="wms"> <http> <url>http://myserver.local:8080/ncWMS2</url> </http> <getmap> <format>image/png</format> <layers>ww3.total.2</layers> </getmap> </source> /Erik
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users