I have a coverage of parcels in PostGIS that is not behaving very well in GE. Lots of polygons. It is generally quite slow using vector KML, so I thought perhaps there is some way to use Kmscore to bring back vector until I’ve zoomed way in.
I’m confused on how to control regionation, caching, etc. with vector layers.
First, what does “KML Feature Limit” do?
Second, I tried setting KMScore to 0 to always generate rasters, and it still brings back vector KML.
Roger
Hi Roger,
What version of gs are you using? In 1.7.1 the default behaviour of the KML reflector changed to return super overlays, which will not respect the old style KMSCORE parameter.
You can enable the old behaviour by appending the &mode=onstop.
So .../reflect?layers=...&mode=onstop&kmscore=0
Should work as you expect it to.
FYI, this is something we are considering changing back to the way it worked before, and have the onstop mode be the default again.
-Justin
Roger Bedell wrote:
I have a coverage of parcels in PostGIS that is not behaving very well in GE. Lots of polygons. It is generally quite slow using vector KML, so I thought perhaps there is some way to use Kmscore to bring back vector until I've zoomed way in.
I'm confused on how to control regionation, caching, etc. with vector layers.
First, what does "KML Feature Limit" do?
Second, I tried setting KMScore to 0 to always generate rasters, and it still brings back vector KML.
Roger
------------------------------------------------------------------------
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
Thanks Justin,
1.7.3
Ok kmscore does nothing with vector superoverlays. Trying Mode =refresh brings back the WMS raster, which works ok.
I really want a mix, preferably raster from gwc until I hit a certain zoom, then switch to vector. I guess I could do this with two distinct layers. Just hoping for an easier way.
So, next questions:
1)Is there an easy way to use Raster superoverlays from vector using GWC?
2)BTW what does KML feature limit do?
Roger
--------------------------------------------------
From: "Justin Deoliveira" <jdeolive@anonymised.com>
Sent: Friday, April 17, 2009 4:00 PM
To: "Roger Bedell" <roger@anonymised.com>
Cc: <geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] KML Vector Super Overlays and kmscore
Hi Roger,
What version of gs are you using? In 1.7.1 the default behaviour of the KML reflector changed to return super overlays, which will not respect the old style KMSCORE parameter.
You can enable the old behaviour by appending the &mode=onstop.
So .../reflect?layers=...&mode=onstop&kmscore=0
Should work as you expect it to.
FYI, this is something we are considering changing back to the way it worked before, and have the onstop mode be the default again.
-Justin
Roger Bedell wrote:
I have a coverage of parcels in PostGIS that is not behaving very well in GE. Lots of polygons. It is generally quite slow using vector KML, so I thought perhaps there is some way to use Kmscore to bring back vector until I've zoomed way in.
I'm confused on how to control regionation, caching, etc. with vector layers.
First, what does "KML Feature Limit" do?
Second, I tried setting KMScore to 0 to always generate rasters, and it still brings back vector KML.
Roger
------------------------------------------------------------------------
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.