[Geoserver-devel] Tile resposne

Hi,

I asked the same question on users list but i guess i asked on the
wrong list, I`m writing a rich client end application with JNLP, I`m
using geoserver 1.7.7 for wms and wfs, I want some information on the
tiling function for WMS response, if we include tilling paramters in
WMS url that is setting tileing to TRUE and setting the origin of
tiling, how does geoserver response to that , because I thought maybe
a stream of miltiple images is returned but running the url in browser
gives me a single image with same old latency, can somebody point me
towards using the tiles in client end application?

regards,
Imran

--
I.R

Imran Rajjad ha scritto:

Hi,

I asked the same question on users list but i guess i asked on the
wrong list,

You asked on the right list, if nobody responded it means either
they did not know or they were too busy to answer around the
days you asked (it was the latter, most of us were busy in
a code sprint).

I`m writing a rich client end application with JNLP, I`m
using geoserver 1.7.7 for wms and wfs, I want some information on the
tiling function for WMS response, if we include tilling paramters in
WMS url that is setting tileing to TRUE and setting the origin of
tiling, how does geoserver response to that , because I thought maybe
a stream of miltiple images is returned but running the url in browser
gives me a single image with same old latency, can somebody point me
towards using the tiles in client end application?

A single request produces a single response. Browser give you the
impression of better responsiveness because:
- the overall image is loaded piecewise, giving the impression
   of progress
- the browser will make 4 to 6 requests in parallel

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Imran Rajjad ha scritto:

sorry I did not mean to offend or mock anyone!

No offense taken, I was just explaining why you did not get an answer.
This is a community, we answer when we can, knowledge and time wise.
Unanswered questions is just a symptom of an imbalance between
too few people contributing to the community and to many asking for
support.

(btw, please keep the thread on the public mailing list)

the peicewise loading is very much visible when you enable tiling in
when using OpenLayers, in my case I am not using any browser, and my
concern is to remove the latency when there is a satellite image in
the background or too many features are to be rendered by GS, I
included the tiling parameters in WMS url which had format set to
image and not application, I was expecting an error or maybe multiple
small images, but that did not happen and I got the whole image with
the usual latency . What I`m trying to dig out here is that if WMS
request is called from a desktop application in J2SE , how do I get
the set of tiles, if its not possible then I will have to break the
lattitude and longitude spans into a 2x2 structure of tiles and use
threads to fetch every tile but I though i might be able to save some
time.

Yes, that is what you have to do. WMS won't give you many images
in a single request, you have to make various in parallel (but not
too many, browsers limit themselves to 4 or 6 to avoid overwhelming
the server, just a few years ago the limit was 2).

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.