[Geoserver-devel] KML Regionation Question

When I turn on the "kml regionation attribute", I'm finding that the
features in my "most important" level are not being drawn. If I turn
it off, I get all the features. The regionation attribute appears to
be affecting the draw, I see more "ordered" results when it's turned
on, but this odd quirk is making all my interstate highways disappear
at all zoom levels.

Is there any requirement for the attribute beyond being numeric and
sorting from smallest==unimportant to largest==important? Any expected
bounds or distribution properties?

P.

Paul Ramsey wrote:

When I turn on the "kml regionation attribute", I'm finding that the
features in my "most important" level are not being drawn. If I turn
it off, I get all the features. The regionation attribute appears to
be affecting the draw, I see more "ordered" results when it's turned
on, but this odd quirk is making all my interstate highways disappear
at all zoom levels.

Yeah, unless your dataset is more or less built for regionation, ie has some attribute which represents "feature importance", the results will be quite strange. Especially for road networks and the like.

Is there any requirement for the attribute beyond being numeric and
sorting from smallest==unimportant to largest==important? Any expected
bounds or distribution properties?

No, the attribute being sortable is really the only assumption, just that the less equally spread the distribution the less appealing the visual affect when zooming in/out.

P.

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

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

It's not that the result is unappealing (it ain't perfect) it's that the most important features (highest "importance" score) just never ever show up. Not zoomed out, not zoomed in.

On 3-Jul-09, at 9:41 PM, Justin Deoliveira wrote:

Paul Ramsey wrote:

When I turn on the "kml regionation attribute", I'm finding that the
features in my "most important" level are not being drawn. If I turn
it off, I get all the features. The regionation attribute appears to
be affecting the draw, I see more "ordered" results when it's turned
on, but this odd quirk is making all my interstate highways disappear
at all zoom levels.

Yeah, unless your dataset is more or less built for regionation, ie has some attribute which represents "feature importance", the results will be quite strange. Especially for road networks and the like.

Is there any requirement for the attribute beyond being numeric and
sorting from smallest==unimportant to largest==important? Any expected
bounds or distribution properties?

No, the attribute being sortable is really the only assumption, just that the less equally spread the distribution the less appealing the visual affect when zooming in/out.

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

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

I see, did you set the regionating strategy as well? I believe it is left as best guess which is the default the regionating attribute will not be taken into account, perhaps that is the case. Try setting it to native-sorting (if using postgis) and external-sorting otherwise.

Paul Ramsey wrote:

It's not that the result is unappealing (it ain't perfect) it's that the most important features (highest "importance" score) just never ever show up. Not zoomed out, not zoomed in.

On 3-Jul-09, at 9:41 PM, Justin Deoliveira wrote:

Paul Ramsey wrote:

When I turn on the "kml regionation attribute", I'm finding that the
features in my "most important" level are not being drawn. If I turn
it off, I get all the features. The regionation attribute appears to
be affecting the draw, I see more "ordered" results when it's turned
on, but this odd quirk is making all my interstate highways disappear
at all zoom levels.

Yeah, unless your dataset is more or less built for regionation, ie has some attribute which represents "feature importance", the results will be quite strange. Especially for road networks and the like.

Is there any requirement for the attribute beyond being numeric and
sorting from smallest==unimportant to largest==important? Any expected
bounds or distribution properties?

No, the attribute being sortable is really the only assumption, just that the less equally spread the distribution the less appealing the visual affect when zooming in/out.

P.
------------------------------------------------------------------------------

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

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.