[OSM-dev] new planet.rb and planet2mysql.rb
SteveC
steve at asklater.com
Thu Aug 3 17:21:50 BST 2006
It doesn't look like it checks whether a segments nodes are visible?
Yes, the db is inconsistant and when you delete a node it should delete
its segments. But it doesn't.
* @ 02/08/06 11:46:17 PM immanuel.scholz at gmx.de wrote:
> Hi,
>
> I uploaded a rewrite of planet.rb and a new script called planet2mysql.rb to
> subversion (.../utils/planet.osm/).
>
> The former should read the current mysql database and output a planet.osm file
> (to stdout). There is no support for latitude/longitude boundaries, areas or
> history.
> The latter script reads a planet.osm file and writes to a mysql database.
>
> Some facts:
> - both scripts use constant memrory (regardless of the db-size)
> - both scripts should be UTF-8 complaint
> - both scripts are only quick-tested (more testing tomorrow)
> - servinfo.rb is needed (should default to root at localhost without password)
> - no dependency to libxml (sorry David ;)
> - planet.rb outputs the time in RFC rather than mysql's own time format
> - Expect "hours" to read a dump with planet2mysql (REXML).
>
>
> Ciao, Imi.
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
have fun,
SteveC steve at asklater.com http://www.asklater.com/steve/
More information about the dev
mailing list