[OSM-talk] Re: [OSM-dev] Another vote for a monthly database image....

SteveC steve at asklater.com
Tue Apr 25 17:49:01 BST 2006


added to svn

* @ 10/04/06 01:33:13 PM dan at karran.net wrote:
> I've knocked up a quick and dirty PHP script to read in nodes and
> segments (though none of the tags that go with them) from the
> planet.osm file and insert them into nodes and segments tables in a
> MySQL database using the OSM schema from
> http://trac.openstreetmap.org/browser/sql/mysql-schema.sql
> 
> The code is at:
> http://www.dankarran.com/openstreetmap/planet_to_mysql.phps
> 
> I didn't need the tags for what I was importing the data for, but feel
> free to add in that functionality if you need them  :)
> 
> 
> Cheers,
> Dan
> 
> --
> Dan Karran
> dan at karran.net
> www.dankarran.com

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the talk mailing list