WMS layers

View: New views
9 Messages — Rating Filter:   Alert me  

WMS layers

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I'd like to define a WMS layer into mapserver and display into layer
list (/server/layers.ini) (I don't want to use plugin lo load a WMS URL).

If this is not possible, how can i use ogcLayerLoader and\or
wmsBrowserLight to do it without problems? I followed the documentation,
so i load oglayerloader, wmsBrowserLight but the error is:

"Can't load Server WmsBrowserLight" (something similar...)

Thank you

--
Fabio D'Ovidio
Geospatial solutions

Inova S.r.l.
Web : http://www.inovaos.it
GeoBI Blog: www.geobi.org
Tel.: 081 197 57 600
mail: fabiodovidio@..., f.dovidio@...
skype: dovidio_fa

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: WMS layers

by Oliver Christen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Fabio

you can easily set up a wms layer in your mapfile:
see http://mapserver.org/ogc/wms_client.html

then simply add a corresponding entry in the layers.ini exactly as you do
for raster or postgis layers

for info, the wmsBrowserLight has no server part, so you dont need to try to
load it in the server side ini file

regards
Oliver

> Hello,
> I'd like to define a WMS layer into mapserver and display into layer
> list (/server/layers.ini) (I don't want to use plugin lo load a WMS URL).
>
> If this is not possible, how can i use ogcLayerLoader and\or
> wmsBrowserLight to do it without problems? I followed the documentation,
> so i load oglayerloader, wmsBrowserLight but the error is:
>
> "Can't load Server WmsBrowserLight" (something similar...)
>
> Thank you
>
> --
> Fabio D'Ovidio
> Geospatial solutions
>
> Inova S.r.l.
> Web : http://www.inovaos.it
> GeoBI Blog: www.geobi.org
> Tel.: 081 197 57 600
> mail: fabiodovidio@..., f.dovidio@...
> skype: dovidio_fa
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users@...
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: WMS layers

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you Oliver,
I'll try asap!

--
Fabio D'Ovidio
Geospatial solutions

Inova S.r.l.
Web : http://www.inovaos.it
GeoBI Blog: www.geobi.org
Tel.: 081 197 57 600
mail: fabiodovidio@..., f.dovidio@...
skype: dovidio_fa


Oliver Christen ha scritto:

> Hi Fabio
>
> you can easily set up a wms layer in your mapfile:
> see http://mapserver.org/ogc/wms_client.html
>
> then simply add a corresponding entry in the layers.ini exactly as you
> do for raster or postgis layers
>
> for info, the wmsBrowserLight has no server part, so you dont need to
> try to load it in the server side ini file
>
> regards
> Oliver
>
>> Hello,
>> I'd like to define a WMS layer into mapserver and display into layer
>> list (/server/layers.ini) (I don't want to use plugin lo load a WMS
>> URL).
>>
>> If this is not possible, how can i use ogcLayerLoader and\or
>> wmsBrowserLight to do it without problems? I followed the documentation,
>> so i load oglayerloader, wmsBrowserLight but the error is:
>>
>> "Can't load Server WmsBrowserLight" (something similar...)
>>
>> Thank you
>>
>> --
>> Fabio D'Ovidio
>> Geospatial solutions
>>
>> Inova S.r.l.
>> Web : http://www.inovaos.it
>> GeoBI Blog: www.geobi.org
>> Tel.: 081 197 57 600
>> mail: fabiodovidio@..., f.dovidio@...
>> skype: dovidio_fa
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users@...
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>
>

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: WMS layers

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How can I set IMAGEPATH in order to make cartoweb always working with
wms image?

Thanks

Oliver Christen ha scritto:

> Hi Fabio
>
> you can easily set up a wms layer in your mapfile:
> see http://mapserver.org/ogc/wms_client.html
>
> then simply add a corresponding entry in the layers.ini exactly as you
> do for raster or postgis layers
>
> for info, the wmsBrowserLight has no server part, so you dont need to
> try to load it in the server side ini file
>
> regards
> Oliver
>
>> Hello,
>> I'd like to define a WMS layer into mapserver and display into layer
>> list (/server/layers.ini) (I don't want to use plugin lo load a WMS
>> URL).
>>
>> If this is not possible, how can i use ogcLayerLoader and\or
>> wmsBrowserLight to do it without problems? I followed the documentation,
>> so i load oglayerloader, wmsBrowserLight but the error is:
>>
>> "Can't load Server WmsBrowserLight" (something similar...)
>>
>> Thank you
>>
>> --
>> Fabio D'Ovidio
>> Geospatial solutions
>>
>> Inova S.r.l.
>> Web : http://www.inovaos.it
>> GeoBI Blog: www.geobi.org
>> Tel.: 081 197 57 600
>> mail: fabiodovidio@..., f.dovidio@...
>> skype: dovidio_fa
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users@...
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>
>

--
Fabio D'Ovidio
Geospatial solutions

Inova S.r.l.
Web : http://www.inovaos.it
GeoBI Blog: www.geobi.org
Tel.: 081 197 57 600
mail: fabiodovidio@..., f.dovidio@...
skype: dovidio_fa

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: WMS layers

by Oliver Christen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

mmm, IMAGEPATH  is used to cache image comming from wms server, if I read
the mapserver documentation correctly.
I dont think I have ever tried to use that in a Cartoweb project, as
Cartoweb use it's own caching system.
Maybe you can try and tell us if you notice any performances improvement.
as far as I know, simply specify a path to some folder where www-data (or
the apache user) can write file. in Cartoweb, this is usualy the "www-data"
folder

regards
Oliver


> How can I set IMAGEPATH in order to make cartoweb always working with wms
> image?
>
> Thanks
>
> Oliver Christen ha scritto:
>> Hi Fabio
>>
>> you can easily set up a wms layer in your mapfile:
>> see http://mapserver.org/ogc/wms_client.html
>>
>> then simply add a corresponding entry in the layers.ini exactly as you do
>> for raster or postgis layers
>>
>> for info, the wmsBrowserLight has no server part, so you dont need to try
>> to load it in the server side ini file
>>
>> regards
>> Oliver
>>
>>> Hello,
>>> I'd like to define a WMS layer into mapserver and display into layer
>>> list (/server/layers.ini) (I don't want to use plugin lo load a WMS
>>> URL).
>>>
>>> If this is not possible, how can i use ogcLayerLoader and\or
>>> wmsBrowserLight to do it without problems? I followed the documentation,
>>> so i load oglayerloader, wmsBrowserLight but the error is:
>>>
>>> "Can't load Server WmsBrowserLight" (something similar...)
>>>
>>> Thank you
>>>
>>> --
>>> Fabio D'Ovidio
>>> Geospatial solutions
>>>
>>> Inova S.r.l.
>>> Web : http://www.inovaos.it
>>> GeoBI Blog: www.geobi.org
>>> Tel.: 081 197 57 600
>>> mail: fabiodovidio@..., f.dovidio@...
>>> skype: dovidio_fa
>>>
>>> _______________________________________________
>>> Cartoweb-users mailing list
>>> Cartoweb-users@...
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
>>
>>
>
> --
> Fabio D'Ovidio
> Geospatial solutions
>
> Inova S.r.l.
> Web : http://www.inovaos.it
> GeoBI Blog: www.geobi.org
> Tel.: 081 197 57 600
> mail: fabiodovidio@..., f.dovidio@...
> skype: dovidio_fa
>
>

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: WMS layers

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

...could I query a WMS layers (getfeatureinfo)?

Oliver Christen ha scritto:

> mmm, IMAGEPATH  is used to cache image comming from wms server, if I
> read the mapserver documentation correctly.
> I dont think I have ever tried to use that in a Cartoweb project, as
> Cartoweb use it's own caching system.
> Maybe you can try and tell us if you notice any performances improvement.
> as far as I know, simply specify a path to some folder where www-data
> (or the apache user) can write file. in Cartoweb, this is usualy the
> "www-data" folder
>
> regards
> Oliver
>
>
>> How can I set IMAGEPATH in order to make cartoweb always working with
>> wms image?
>>
>> Thanks
>>
>> Oliver Christen ha scritto:
>>> Hi Fabio
>>>
>>> you can easily set up a wms layer in your mapfile:
>>> see http://mapserver.org/ogc/wms_client.html
>>>
>>> then simply add a corresponding entry in the layers.ini exactly as
>>> you do for raster or postgis layers
>>>
>>> for info, the wmsBrowserLight has no server part, so you dont need
>>> to try to load it in the server side ini file
>>>
>>> regards
>>> Oliver
>>>
>>>> Hello,
>>>> I'd like to define a WMS layer into mapserver and display into layer
>>>> list (/server/layers.ini) (I don't want to use plugin lo load a WMS
>>>> URL).
>>>>
>>>> If this is not possible, how can i use ogcLayerLoader and\or
>>>> wmsBrowserLight to do it without problems? I followed the
>>>> documentation,
>>>> so i load oglayerloader, wmsBrowserLight but the error is:
>>>>
>>>> "Can't load Server WmsBrowserLight" (something similar...)
>>>>
>>>> Thank you
>>>>
>>>> --
>>>> Fabio D'Ovidio
>>>> Geospatial solutions
>>>>
>>>> Inova S.r.l.
>>>> Web : http://www.inovaos.it
>>>> GeoBI Blog: www.geobi.org
>>>> Tel.: 081 197 57 600
>>>> mail: fabiodovidio@..., f.dovidio@...
>>>> skype: dovidio_fa
>>>>
>>>> _______________________________________________
>>>> Cartoweb-users mailing list
>>>> Cartoweb-users@...
>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>
>>>
>>>
>>
>> --
>> Fabio D'Ovidio
>> Geospatial solutions
>>
>> Inova S.r.l.
>> Web : http://www.inovaos.it
>> GeoBI Blog: www.geobi.org
>> Tel.: 081 197 57 600
>> mail: fabiodovidio@..., f.dovidio@...
>> skype: dovidio_fa
>>
>>
>
>

--
Fabio D'Ovidio
Geospatial solutions

Inova S.r.l.
Web : http://www.inovaos.it
GeoBI Blog: www.geobi.org
Tel.: 081 197 57 600
mail: fabiodovidio@..., f.dovidio@...
skype: dovidio_fa

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: WMS layers

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi

Oliver Christen ha scritto:
> mmm, IMAGEPATH  is used to cache image comming from wms server, if I
> read the mapserver documentation correctly.
> I dont think I have ever tried to use that in a Cartoweb project, as
> Cartoweb use it's own caching system.
> Maybe you can try and tell us if you notice any performances improvement.
I didn't set IMAGEPATH and I am able to display my WMS layer but during
navigation (using plugins, such spatially search, or other) i notice two
errors:

   1.

      Message : MapServer error: Error in msDrawWMSLayerLow
      (): WMS GetMap request failed for layer 'my_layer' (Status -28: TIMEOUT of 30 seconds exceeded.).

   2.

      Message : MapServer error: Error in msPrepareWMSLayerRequest(): WEB.IMAGEPATH must be set to use WMS client connections.

If i set WEB.IMAGEPATH I am not able to display wms layer...


Any suggestion?


Thank you

--
Fabio D'Ovidio
Geospatial solutions

Inova S.r.l.
Web : http://www.inovaos.it
GeoBI Blog: www.geobi.org
Tel.: 081 197 57 600
mail: fabiodovidio@..., f.dovidio@...
skype: dovidio_fa

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: WMS layers

by Oliver Christen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I fear this was not implemented in Cartoweb


> ...could I query a WMS layers (getfeatureinfo)?
>
> Oliver Christen ha scritto:
>> mmm, IMAGEPATH  is used to cache image comming from wms server, if I read
>> the mapserver documentation correctly.
>> I dont think I have ever tried to use that in a Cartoweb project, as
>> Cartoweb use it's own caching system.
>> Maybe you can try and tell us if you notice any performances improvement.
>> as far as I know, simply specify a path to some folder where www-data (or
>> the apache user) can write file. in Cartoweb, this is usualy the
>> "www-data" folder
>>
>> regards
>> Oliver
>>
>>
>>> How can I set IMAGEPATH in order to make cartoweb always working with
>>> wms image?
>>>
>>> Thanks
>>>
>>> Oliver Christen ha scritto:
>>>> Hi Fabio
>>>>
>>>> you can easily set up a wms layer in your mapfile:
>>>> see http://mapserver.org/ogc/wms_client.html
>>>>
>>>> then simply add a corresponding entry in the layers.ini exactly as you
>>>> do for raster or postgis layers
>>>>
>>>> for info, the wmsBrowserLight has no server part, so you dont need to
>>>> try to load it in the server side ini file
>>>>
>>>> regards
>>>> Oliver
>>>>
>>>>> Hello,
>>>>> I'd like to define a WMS layer into mapserver and display into layer
>>>>> list (/server/layers.ini) (I don't want to use plugin lo load a WMS
>>>>> URL).
>>>>>
>>>>> If this is not possible, how can i use ogcLayerLoader and\or
>>>>> wmsBrowserLight to do it without problems? I followed the
>>>>> documentation,
>>>>> so i load oglayerloader, wmsBrowserLight but the error is:
>>>>>
>>>>> "Can't load Server WmsBrowserLight" (something similar...)
>>>>>
>>>>> Thank you
>>>>>
>>>>> --
>>>>> Fabio D'Ovidio
>>>>> Geospatial solutions
>>>>>
>>>>> Inova S.r.l.
>>>>> Web : http://www.inovaos.it
>>>>> GeoBI Blog: www.geobi.org
>>>>> Tel.: 081 197 57 600
>>>>> mail: fabiodovidio@..., f.dovidio@...
>>>>> skype: dovidio_fa
>>>>>
>>>>> _______________________________________________
>>>>> Cartoweb-users mailing list
>>>>> Cartoweb-users@...
>>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>>
>>>>
>>>>
>>>
>>> --
>>> Fabio D'Ovidio
>>> Geospatial solutions
>>>
>>> Inova S.r.l.
>>> Web : http://www.inovaos.it
>>> GeoBI Blog: www.geobi.org
>>> Tel.: 081 197 57 600
>>> mail: fabiodovidio@..., f.dovidio@...
>>> skype: dovidio_fa
>>>
>>>
>>
>>
>
> --
> Fabio D'Ovidio
> Geospatial solutions
>
> Inova S.r.l.
> Web : http://www.inovaos.it
> GeoBI Blog: www.geobi.org
> Tel.: 081 197 57 600
> mail: fabiodovidio@..., f.dovidio@...
> skype: dovidio_fa
>
>

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: WMS layers

by Oliver Christen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

mmm, I never encountered the WEB.IMAGEPATH error so I cant help you this
that
maybe related to the wms server timeout ?
did you try to access your wms layer in QGis or uDig ?

----- Original Message -----
From: "Fabio D'Ovidio" <fabiodovidio@...>
To: "Oliver Christen" <oliver.christen@...>
Cc: "Cartoweb Users" <cartoweb-users@...>
Sent: Friday, July 17, 2009 5:09 PM
Subject: Re: [Cartoweb-users] WMS layers


>
> Hi
>
> Oliver Christen ha scritto:
>> mmm, IMAGEPATH  is used to cache image comming from wms server, if I read
>> the mapserver documentation correctly.
>> I dont think I have ever tried to use that in a Cartoweb project, as
>> Cartoweb use it's own caching system.
>> Maybe you can try and tell us if you notice any performances improvement.
> I didn't set IMAGEPATH and I am able to display my WMS layer but during
> navigation (using plugins, such spatially search, or other) i notice two
> errors:
>
>   1.
>
>      Message : MapServer error: Error in msDrawWMSLayerLow
>      (): WMS GetMap request failed for layer 'my_layer' (Status -28:
> TIMEOUT of 30 seconds exceeded.).
>
>   2.
>
>      Message : MapServer error: Error in msPrepareWMSLayerRequest():
> WEB.IMAGEPATH must be set to use WMS client connections.
>
> If i set WEB.IMAGEPATH I am not able to display wms layer...
>
>
> Any suggestion?
>
>
> Thank you
>
> --
> Fabio D'Ovidio
> Geospatial solutions
>
> Inova S.r.l.
> Web : http://www.inovaos.it
> GeoBI Blog: www.geobi.org
> Tel.: 081 197 57 600
> mail: fabiodovidio@..., f.dovidio@...
> skype: dovidio_fa
>
>

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users