[mapserver-users] MapServer on Centos 7

Erik Gustafson gustafson.erik at gmail.com
Tue May 28 23:31:25 PDT 2019


On Tue, May 28, 2019 at 3:26 PM nsilva <nuno.box at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190529/2084c97d/attachment.html>


More information about the mapserver-users mailing list