[OSM-talk] php script
scott
scott at waye.co.uk
Tue Dec 19 23:18:58 GMT 2006
FWIW,
Here is a php script to load nodes, segments, ways(with tags and segs):
As it uses XmlReader, it requires either a late version of php (I used
5.1) or you need to install XmlReader seperately. I had to change the
encoding on the planet.osm to iso-8859-1, but that may have been fixed
by now. It created 195199 ways for me, which matches a grep -c on the xml.
--
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: to_mysql.php
Type: application/x-php
Size: 8334 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20061219/c3573a41/attachment.bin>
More information about the talk
mailing list