On Thu, Mar 17, 2011 at 6:15 PM, Arne Kepp <a...@tiledmarble.org> wrote:
> And the really, really long answer is to fix the location of all the
> labels, i.e. create a new layer that just has the labels and points
> where they should be shown.

Yep... that is a global optimization problem that needs to take into account
all the labels active in the whole grid set at the same time.
Not that hard, just needs a fast database where one can write all the labels,
get them back in the proper priority order, save the busy area as labels
are placed, and save also the resulting label layout including
position, rotation,
fonts and whatnot (ok, not hard, but it might take its dear time at higher
zoom levels on a large map).

And then a way to disable all label placement smarts in the renderer and just
draw the labels as they come from the db

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to