Are you making a separate page for labels? Or doing all the labeling
options there?
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.
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
}
I'm not sure if this is exactly right, or if our css works exactly this way
(have been using cartocss recently). But have an example that gets across
that you can define in one rule, and then override just the piece you want
in rules below. That to me is the true power of the CSS, and it can make
things even more terse.
But great work in general, a really nice guide.
On Tue, Jul 23, 2013 at 10:10 AM, Andrea Aime
<[email protected]>wrote:
> Hi,
> the point page of the CSS cookbook is up:
> http://docs.geoserver.org/latest/en/user/extensions/css/cookbook_point.html
>
> I still want to add an example of making composite points (tiger:poi like)
> and using units in meters.
> Can you think of other important to include examples?
>
> 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
>
>
------------------------------------------------------------------------------
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