Arne Kepp ha scritto:
> "superoverlay mode" = regionated KML
> 
> I don't think this kind of caching makes sense for any mode other than 
> regionated data ?

Correct, I realized it while I was having breakfast this morning :-)

> GWC will find the tile (or tiles if it is world wide) that fit the 
> bounding box, so if I understand GeoServer's behavior correctly, all the 
> features will be put into a single tile. GWC was not designed to stream 
> large files as tiles, it would have to work more like the WFS stub and 
> stream from disk.
> 
> I would just change GWC so that it passes mode=superoverlay  whenever 
> kml.km[z|l] is requested ? Let me know and I'll put it into 1.2.2 which 
> I am polishing right now.

Yes, that is indeed necessary, you have to make GWC force superoverlay
mode and also the right subtype of it, which should be "auto" I think:
http://docs.geoserver.org/2.0.x/en/user/googleearth/features/kmlreflector.html#ge-feature-kml-reflector

So I think the extra params in the request should be:

&format_options=mode:superoverlay;overlaymode:auto

(at least that's what I gathered by looking into the reflector code,
  if you can double check)

Cheers
Andrea



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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to