[Geoserver-users] Multi-Layer WMS request

Hi all!

I need help constructing a WMS request, the problem is that we have several
layers that we want to display and I can only get one layer displayed, in
this link to our server we display the "topp:callesnac" layer, but we also
want to show a second layer: "topp:highways" and don't know how to do it,
our php request link is like this and works fine, please fill in the needed
code to add the "topp:highways" layer:

"http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac&styles=&KMScore=0&KMAttr=true&BBOX="\.$BBOX,""\);

Thanks a lot!
--
View this message in context: http://www.nabble.com/Multi-Layer-WMS-request-tp17155360p17155360.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac,topp:highways&styles=&KMScore=0&KMAttr=true&BBOX=”.$BBOX,“”);

On Tue, May 13, 2008 at 1:29 PM, SenTnel <elvin.pimentel@anonymised.com> wrote:

Hi all!

I need help constructing a WMS request, the problem is that we have several
layers that we want to display and I can only get one layer displayed, in
this link to our server we display the “topp:callesnac” layer, but we also
want to show a second layer: “topp:highways” and don’t know how to do it,
our php request link is like this and works fine, please fill in the needed
code to add the “topp:highways” layer:

http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac,topp:highways&styles=&KMScore=0&KMAttr=true&BBOX=”.$BBOX,“”);

Thanks a lot!

View this message in context: http://www.nabble.com/Multi-Layer-WMS-request-tp17155360p17155360.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Roger: Thanks for helping, but unless Im missing something I think you made a
mistake providing me with my own link, maybe you ment to send me some
correction, but I see the same wms request. However I tryed that way before
and didn't work. Other suggestions?

Thanks again!

Roger André-2 wrote:

"
http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac
,topp:highways&styles=&KMScore=0&KMAttr=true&BBOX=<http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac&styles=&KMScore=0&KMAttr=true&BBOX=&gt;
".$BBOX,"");

On Tue, May 13, 2008 at 1:29 PM, SenTnel <elvin.pimentel@anonymised.com> wrote:

Hi all!

I need help constructing a WMS request, the problem is that we have
several
layers that we want to display and I can only get one layer displayed, in
this link to our server we display the "topp:callesnac" layer, but we
also
want to show a second layer: "topp:highways" and don't know how to do it,
our php request link is like this and works fine, please fill in the
needed
code to add the "topp:highways" layer:

"
http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac,topp:highways&styles=&KMScore=0&KMAttr=true&BBOX=&lt;http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac&styles=&KMScore=0&KMAttr=true&BBOX=&gt;
".$BBOX,"");

Thanks a lot!
--
View this message in context:
http://www.nabble.com/Multi-Layer-WMS-request-tp17155360p17155360.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/Multi-Layer-WMS-request-tp17155360p17220214.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Sorry, I shouldn’t have edited the text in your original email. Here is your original URL:

http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac&styles=&KMScore=0&KMAttr=true&BBOX=”.$BBOX,“”);

In it you specify,"&layers=topp:callesnac"

I changed that to read, “&layers=topp:callesnac,topp:highways”

This syntax works for my Geoserver site, where I have one layer named “countries”, and one named “maize_pmonth”. In order to display both layers at the same time, I specify, “&layers=cite:countries,cite:maize_pmonth”

Roger

On Tue, May 13, 2008 at 4:05 PM, SenTnel <elvin.pimentel@anonymised.com> wrote:

Roger: Thanks for helping, but unless Im missing something I think you made a
mistake providing me with my own link, maybe you ment to send me some
correction, but I see the same wms request. However I tryed that way before
and didn’t work. Other suggestions?

Thanks again!

Roger André-2 wrote:

"
http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac

,topp:highways&styles=&KMScore=0&KMAttr=true&BBOX=<http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac&styles=&KMScore=0&KMAttr=true&BBOX=>

“.$BBOX,”");

On Tue, May 13, 2008 at 1:29 PM, SenTnel <elvin.pimentel@anonymised.com> wrote:

Hi all!

I need help constructing a WMS request, the problem is that we have
several
layers that we want to display and I can only get one layer displayed, in
this link to our server we display the “topp:callesnac” layer, but we
also
want to show a second layer: “topp:highways” and don’t know how to do it,
our php request link is like this and works fine, please fill in the
needed
code to add the “topp:highways” layer:

"

http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac,topp:highways&styles=&KMScore=0&KMAttr=true&BBOX=<http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac&styles=&KMScore=0&KMAttr=true&BBOX=>

“.$BBOX,”");

Thanks a lot!

View this message in context:
http://www.nabble.com/Multi-Layer-WMS-request-tp17155360p17155360.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


View this message in context: http://www.nabble.com/Multi-Layer-WMS-request-tp17155360p17220214.html

Sent from the GeoServer - User mailing list archive at Nabble.com.


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

&layers=topp:callesnac,topp:highways

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: geoserver-users-bounces@lists.sourceforge.net puolesta: SenTnel
Lähetetty: pe 9.5.2008 22:52
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] Multi-Layer WMS request

Hi all!

I need help constructing a WMS request, the problem is that we have several
layers that we want to display and I can only get one layer displayed, in
this link to our server we display the "topp:callesnac" layer, but we also
want to show a second layer: "topp:highways" and don't know how to do it,
our php request link is like this and works fine, please fill in the needed
code to add the "topp:highways" layer:

"http://www.oursite.com:8081/sky/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:callesnac&styles=&KMScore=0&KMAttr=true&BBOX=&quot;\.$BBOX,&quot;&quot;\);

Thanks a lot!
--
View this message in context: http://www.nabble.com/Multi-Layer-WMS-request-tp17155360p17155360.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users