<div dir="ltr"><div dir="ltr">On Tue, May 28, 2019 at 3:26 PM nsilva <<a href="mailto:nuno.box@gmail.com">nuno.box@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks Steve for the fast reply!<br>
<br>
By now i have a ncWMS2 server that delivers a WMS service using .nc (NetCDF)<br>
files ...i was trying to use mapcache to process that WMS service, but i<br>
keep getting errors from curl :<br>
<br>
<br>
curl failed to request url<br>
<a href="http://myserver.local:8080/ncWMS2" rel="noreferrer" target="_blank">http://myserver.local:8080/ncWMS2</a>>?VERSION=1.3.0&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=259722.000000<br>
\xf699727.000000 \xca302512.000000<br>
\xd0142517.000000&WIDTH=1556&HEIGHT=1556&FORMAT=PNG&SRS=EPSG<br>
%a27700&LAYERS=ww3.total.2 : <br>
The requested URL returned error: 400 , referer:<br>
<a href="http://10.1.3.38/mapcache/demo/wms" rel="noreferrer" target="_blank">http://10.1.3.38/mapcache/demo/wms</a><br>
<br>
Since i'm a newbie on this subject, perhaps something needs to be configured<br>
in the mapcache.xml file, when i copy that URL in the error, i can't obtain<br>
a valid response from my ncWMS2 server...there's a lot of jibberish caused<br>
by slashes .<br><br></blockquote><div> </div>Yes, thats URL looks strange and ncWMS2 says it's bad.<div>The source-block in mapcache should look something like this:</div><div><br></div><div><source name="mysource" type="wms"></div><div>  <http></div><div>    <url><a href="http://myserver.local:8080/ncWMS2">http://myserver.local:8080/ncWMS2</a></url></div><div>  </http></div><div>  <getmap></div><div>    <format>image/png</format></div><div>    <layers>ww3.total.2</layers></div><div>  </getmap></div><div></source></div><div><br></div><div><br></div><div>/Erik <br></div></div></div>