[Geoserver-users] How to append parameters to GetMap request

I using GeoServer 2.0.1 with WMS Tile client.

The WMS Tile client only accepts the following parameters: base url, layers,
format, service, version, request (GetMap)
The sympton is that the map does not render.
If I specify the previous stated parameters with bbox, srs, and style
parameters from the browser request URL (e.g.,
http://<host>:8080/geoserver/wms?layers=mns:world_countries&format=image/png&version=1.1.1&request=GetMap&style=&bbox=-13,28,-0.992,26&width=256&height=256&srs=EPSG:4326&service=WMS),
the map renders in the browser

How can I default additional parameters (e.g., bbox, srs, style,) to the
GetMap request?

--
View this message in context: http://old.nabble.com/How-to-append-parameters-to-GetMap-request-tp28441436p28441436.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

http://localhost:8080/geoserver/wms?bbox=72.92,33.61,73.14,33.76&Format=image/gif&request=GetMap&layers=topp:roads,topp:cities,topp:tehsil,topp:network&width=800&height=528&srs=EPSG:4326

regards,
Imran

On Tue, May 4, 2010 at 4:17 AM, nubian <cwatk88@anonymised.com> wrote:

I using GeoServer 2.0.1 with WMS Tile client.

The WMS Tile client only accepts the following parameters: base url, layers,
format, service, version, request (GetMap)
The sympton is that the map does not render.
If I specify the previous stated parameters with bbox, srs, and style
parameters from the browser request URL (e.g.,
http://<host>:8080/geoserver/wms?layers=mns:world_countries&format=image/png&version=1.1.1&request=GetMap&style=&bbox=-13,28,-0.992,26&width=256&height=256&srs=EPSG:4326&service=WMS),
the map renders in the browser

How can I default additional parameters (e.g., bbox, srs, style,) to the
GetMap request?

--
View this message in context: http://old.nabble.com/How-to-append-parameters-to-GetMap-request-tp28441436p28441436.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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

--
I.R

Thanks for your reply.
But, the issue is not specifying the parameters as a browser request.
Clarification....
The WMS tile client that I am using requires and only accept the base url,
layers, fromat, service, version, and request tags. These tags are defined
as part of the WMS client xml configuration file that interface to a map
server such as GeoServer. Any additional tags (e.g., bbox) are ignore.

It appears that maybe I should user "reflect" as part of the base URL.
Example:
http://<hostname>:8080/geoserver/wms/reflect?layers=nurc:Arc_Sample&width=660&height=330&format=image/png

Any thoughts?

Imran_Rajjad wrote:

http://localhost:8080/geoserver/wms?bbox=72.92,33.61,73.14,33.76&Format=image/gif&request=GetMap&layers=topp:roads,topp:cities,topp:tehsil,topp:network&width=800&height=528&srs=EPSG:4326

regards,
Imran

On Tue, May 4, 2010 at 4:17 AM, nubian <cwatk88@anonymised.com> wrote:

I using GeoServer 2.0.1 with WMS Tile client.

The WMS Tile client only accepts the following parameters: base url,
layers,
format, service, version, request (GetMap)
The sympton is that the map does not render.
If I specify the previous stated parameters with bbox, srs, and style
parameters from the browser request URL (e.g.,
http://<host>:8080/geoserver/wms?layers=mns:world_countries&format=image/png&version=1.1.1&request=GetMap&style=&bbox=-13,28,-0.992,26&width=256&height=256&srs=EPSG:4326&service=WMS),
the map renders in the browser

How can I default additional parameters (e.g., bbox, srs, style,) to the
GetMap request?

--
View this message in context:
http://old.nabble.com/How-to-append-parameters-to-GetMap-request-tp28441436p28441436.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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

--
I.R

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

--
View this message in context: http://old.nabble.com/How-to-append-parameters-to-GetMap-request-tp28441436p28447643.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Tue, May 4, 2010 at 10:00 AM, nubian <cwatk88@anonymised.com> wrote:

Thanks for your reply.
But, the issue is not specifying the parameters as a browser request.
Clarification....
The WMS tile client that I am using requires and only accept the base url,
layers, fromat, service, version, and request tags. These tags are defined
as part of the WMS client xml configuration file that interface to a map
server such as GeoServer. Any additional tags (e.g., bbox) are ignore.

This sounds like an issue with your tile client not geoserver. I
suggest you ask your question on the relevant list for that client.

Ian
--
Ian Turton