Re: [OSM-dev] what server next?

2009-09-08 Thread Micha Ruh
Hi

2009/9/8 Frederik Ramm frede...@remote.org

 Your idea suffers from the fundamental problem that it only counts those
 having last touched an object.


No, it doesn't.  I thought of a mechanism to avoid that:

Users adding  ways/pois get a score of 3 per way/poi added,
users adding more tags to existing way/pois get a score-point of 1 for each
edit.
Import sources get a 0.1 score-point per way/poi.

One could also think of more sophisticated factors to calculate
score-points.
- initial creation: 3 score-point factor
- adding name: 2
- adding other tag: 1
- import sources: 0.1
- mass changes: 0.1 / change
- bots: 0

What about a limit for score-point gaining per hour/day for a user?

* Of course, the score-point factors are subject to fine-tuning! They must
be adjusted, when one creates such a solution.


Regards
Micha
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] what server next?

2009-09-07 Thread Micha Ruh
2009/9/8 Grant Slater openstreet...@firefishy.com

 What is next? What are we going to need next?


Last night I dreamed about a solution to the cc-by-sa attribution problem.
It would be soo nice to have appropriate attribution displayed in OpenLayer
while browsing the map.

There it goes..

A server calculates user contribution for sets of 3x3 tiles (supertiles) for
each zoom level 12-18. The calculation is done once a week (maybe done by
t...@h clients). Users adding  ways/pois get a score of 3 per way/poi added,
users adding more tags to existing way/pois get a score-point of 1 for each
edit. Import sources get a 0.1 score-point per way/poi.

Score-points get calculated per supertile, top 4 contributors for each
supertile including their score-points get stored in a database, the
attribution-db. Keys and indexes on zoom level and new supertile index
(maybe central tile x/y).

OpenLayer gets extended in a way that while requesting tiles an additional
request to the attribution-db is issued, contributors for the corresponding
supertile get loaded and nicely presented in the lower right corner of the
view.

OSM runs the attribution-db and spreads the extended OpenLayer lib.




* Information which user created a way is only available in history, so
initial calculation is heavy-load, but must only be done once.

* attribution information for mutliple supertiles could be aggregated into
attribution-pages which are stored in the attribution-db. this
attribution-pages are sent to the client, which sorts out the appropriate
attribution with some .js magic for the current displayed view. This could
save the attribution-db from load.

* attribution score-point changes could be calculated on-the-fly, once an
initial load of the attribution-db is done.


:D


Need more sleep, now.

Regards
Micha
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] what server next?

2009-09-07 Thread Micha Ruh
2009/9/8 John Smith deltafoxtrot...@gmail.com

 Wouldn't this only serve to clutter things up and detract away from
 the important information?


Nasa World Wind et. al. does a fine job in displaying copyright information
without distract the experience.

 if they'd donate some decent kit in return for their logo being displayed
 etc.

Wouldn't this only serve to clutter things up and detract away from
the important information?

:D

Regards
Micha
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Problem retrieving wiki pages

2009-08-27 Thread Micha Ruh
? ??K???V??? a(???^p?_? ?:74?{zajv?w  ???
Dz-gf?q?x ??? ?3g0 ?OP$ jwUwg ??h? ?? S7v?5???e?}?z ??o;-O73w?
l?|???}?ëO???5 ?l??W???o )t?i(??w?{?5r}7t? ??p ??w?
g ??G?G?wF??v?lA? | ?   ? (  AJ (? 5?


SCNR :D

Micha
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] strange Osmosis/XML/...? problem yesterday

2009-08-14 Thread Micha Ruh
Hi,

2009/8/14 Frederik Ramm frede...@remote.org

 Hi,

   our automated job yesterday aborted with an out of memory condition in
 Osmosis. We traced this back to a change made to the node for Madrid
 (148332300)


It's the node for spain (place = country)


 where someone added name:got with a lot of strange characters.


That was me :D (name:got = ̷̴̹̰̰̓̀̽̾)


 For some reason, any time these characters pass through Osmosis, the size
 increases by a factor of four or so.

 I have created a simple test case replicating this:



Will your tests pass with the original name:got value?

Gruess, Micha
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev