[OSM-talk] Render icons for parking areas
Lukasz Stelmach
stlman at poczta.fm
Sat Jan 19 22:10:49 GMT 2008
Stephen Gower wrote:
> On Tue, Jan 15, 2008 at 09:14:09AM +0100, Knut Arne Bjørndal wrote:
>> I've now implemented an algorithm for finding a good center-point for
>> areas. It's already commited to svn as revision 6390.
>
> That's great - I think most people would prefer not to have
> rendering instructions (such as a node as well as the area) in the
> database, and I for one don't intend to have more than one entity
> (a node and an area) for one thing - knowing the renderers can
> handle this makes me more happy about my choice only to draw the
> areas. Keep up the good work!
Ok. Forgive me my sarcasm earlier in this thread but I really think
automatic placement of icons at the areas is not so good.
Let me then propose different approach. Let's use the new algorithm
to create nodes that would be rendered as icons. Such nodes should
have a tag that attaches them to the area and the "created_by" tag
containing the automaton name so they can be automatically moved if
the conditions change. If for whatever reaseon the automatic
placement is not reasonable the node can be moved by hand and have
the created_by changed without removing its attachment to the area.
Then the algorithm knows not to move it.
For the sake of computation complexity the area-node attachment
should be two-way.
--
ByÅo mi bardzo miÅo. Czwarta pospolita klÄska, [...]
>Åukasz< Już nie katolicka lecz zÅodziejska. (c)PP
----------------------------------------------------------------------
Rozdajemy nagrody! Wygraj samochód!
Sprawdz >> http://link.interia.pl/f1cd5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stlman.vcf
Type: text/x-vcard
Size: 176 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080119/3c86c380/attachment.vcf>
More information about the talk
mailing list