W3C home > Mailing lists > Public > www-svg@w3.org > January 2008

Re: Defining a pragmatic semantic description of SVG content.

From: Andreas Neumann <a.neumann@carto.net>
Date: Tue, 29 Jan 2008 08:32:53 +0100 (CET)
Message-ID: <54361.193.246.86.39.1201591973.squirrel@webmail.customers.iirc.at>
To: "www-svg List" <www-svg@w3.org>

Hello,

I will comment on the maps part only:

>         Maps:
>
> Would it be helpful to recommend that nameplaces are in alphabetical
> order, as in a gazetteer?
> This could be helpful as the order would be understood by many.[7]

the order of labels in a map depends on many factors, and many cases it
can't be alphabetical.

As an example, in a label-placement algorithm you would first place the
more important labels. Once they are placed you would next see if some of
the less important labels can fit in without overlapping. If they can't,
they are probably not placed, since they are not that important.

In other cases, the labels may deliberately overlap, but maybe there is a
desired, non-alphabetical order, because more important labels are placed
on top (further down in the DOM tree) of less important labels.

In any case - wouldn't it be technically much more useful if an
accessibility-aware UA or a map application would do the ordering? It is
technically simple. You can do the alphabetical ordering of map labels in
one line of javascript, once they are stored in an array. Many map
applications have alphabetical indizes (like printed atlases).

Andreas

-- 
Andreas Neumann
Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland
Email: a.neumann@carto.net, Web:
* http://www.carto.net/ (Carto and SVG resources)
* http://www.carto.net/neumann/ (personal page)
* http://www.svgopen.org/ (SVG Open Conference)
* http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)
Received on Tuesday, 29 January 2008 07:42:59 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:38 GMT