On Tue, Jul 23, 2013 at 4:45 PM, Chris Holmes <[email protected]> wrote:
> Are you making a separate page for labels? Or doing all the labeling
> options there?
>
I'm replicating the SLD cookbook, so it's all in there, it's organized by
data type.
>
> I just spent a good bit of time working on labeling options and defaults
> in MapStory. A very common complaint was 'all my labels aren't showing up'.
> Ended up doing different defaults for our styler stuff, but there's
> probably some stuff worth explaining.
>
> Not sure if CSS module supports all of them, but if you are doing all
> labeling options for css on those pages (instead of a separate labeling
> page) for points I'd recommend priority, autowrap and spacearound.
>
Yep, I could add some examples showing them... but I'd have to make a
separate page that does not have sample data,
as I need more geometries to make them truly work.
"Advanced examples", maybe using the GeoServer own sample data.
>
> The other thing it could be good to show more of is the cascading nature
> of css. Like your examples seem to always make separate rules for each.
> Could be good to show a mark that gets an outline at a higher zoom level,
> and uses order of rules instead of non-overlapping rules. Like:
>
> * {
> mark: symbol(circle);
> }
>
> :mark {
> fill: #CC3300;
> mark-size: 4;
> }
>
> [@scale < 64000000] {
> mark-size: 6;
> stroke: black;
> stroke-width: 1px
>
> }
>
> [@scale < 32000000] {
> mark-size: 8;
>
> }
>
> [@scale < 16000000] {
> mark-size: 12;
> stroke-width: 2px
> }
>
We have this one, just simpler (only the size gets overridden in the
cascade).
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel