Jody Garnett ha scritto:
> So the alternative to "any" is "all" - what would be the consequence
> of rendering all geometry?

Complete, utter nonsense? ;-)

Other geometries might be of different nature: the symbolizer that is
not specifying the geom name would apply to all and render weird
stuff (what's that point sitting in the middle of my map... oooh,
it's the centroid of the polygonal 2nd geometry)

Other geometries at different resolutions levels (without the 
pregeneralized datastore acting as a mediator): dramatic perf slowdown.

Other geometries in different projections: strange stuff appearing
on your map where you don't expect it.

I cannot think of any sane use of rendering all geometries.
Also, see this from the SLD spec:


"The Geometry element of a LineSymbolizer defines the linear geometry to 
be used
for styling. The Geometry element is optional and if it is absent then 
the “default”
geometry property of the feature type that is used in the containing 
FeatureStyleType
is used. The precise meaning of “default” geometry property is 
system-dependent. Most
frequently, feature types will have only a single geometry property."

Mind, it says it's system dependent, and it say "_the_ default 
geometry", meaning there is one and only one, otherwise they would
have said "all geometries available" no?

Cheers
Andrea

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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to