|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^2: from osm to mysqlby Perlbeginner1 (Scribe) |
| on May 31, 2014 at 06:54 UTC ( [id://1088117]=note: print w/replies, xml ) | Need Help?? |
|
hello dear wjw - good morning ;<)
the script we discussed was written for windows - see the corresponding line with the paths...
how would you say - does this fit for linux - no. We have to do some corrections first. note; i run linux opensuse 13.1 - mysql is up and running - the modules i have all ... and i guess that i need furthermore another "library" this library which is used in this line use OSM::osm ; which is inspired by this page note German language: url=http://wiki.openstreetmap.org/wiki/User:Brogo/OpenLayers_DatenbankanbindungUser:Brogo/OpenLayers Datenbankanbindung - OpenStreetMap Wiki/url and this url=http://svn.openstreetmap.org/applications/utils/gary68/OSM/osm.pm", $title, "/url This module contains a lot of useful functions for working with osm files and data. it also includes functions for calculation and output. url=http://wiki.openstreetmap.org/wiki/User:Gary68User:Gary68 - OpenStreetMap Wiki/url bquestions: /b where to put this library: url=http://svn.openstreetmap.org/applications/utils/gary68/OSM/osm.pm", $title, "/url should i put it into the folder where i have the following perl scripts: note: well what i have i have a folder home/perl where i have the following perl code: a. osm_to_db.pl b. create_db.pl bsecond question:/b - i am sure that i have to do some corrections; in the code create_db.pl a. the first correction: at the line $file = "c:/osm/planet/pois.osm" ; b the second correction: at the line "open(AUSGABE, ">c:/osm/planet/mysql.txt"); " ...since i have no windows but a linux-system....: look forward to hear from you
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||