|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^2: from osm to mysqlby Perlbeginner1 (Scribe) |
| on May 24, 2014 at 13:12 UTC ( [id://1087311]=note: print w/replies, xml ) | Need Help?? |
|
hello daar wjw many thanks for the quick reply
great to hear from you: see the source of the perlmodule: http://svn.openstreetmap.org/applications/utils/gary68/OSM/osm.pm wHAT IS AIMED: aimed is to transform POI out of German osm-pbf-files - in order to get the data (not to creat maps again) see the source (s)= http://download.geofabrik.de/europe/germany.html ranging form 10 MB (Bremen) to 390 MB (Nordrhein Westfalen) the osm.pbf-files are not too big; Question: which method is the best the most appropiate? - to store the results in a mysql-db or just have big calc-sheets (with csv-data) - only straightforward from files that - no backimport of data to OSM from a .csv file btw: see here - a similar approach of a guy - he only looks for a list of brides see the full overview: A self-updating OpenStreetMap database of US bridges – a step-by-step guide. http://oegeo.wordpress.com/2012/03/06/a-self-updating-openstreetmap-database-of-us-bridges-a-step-by-step-guide/ well i am pretty sure that the link to cpan gives back some very nice tools - update: by the way - one last question update. which method fits if i want to store the output of this request to a mysql database:
see the output here
how can this be done? note we have the fild names and all the set of the datbase is clear. the question is - how to put the data into the database.....? <br look forward to hear from you
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||