The format of OSM is great for me! But i need have a planet no data. After would do importing the database specific. it's possible? How to do? My OSM source is ruby on rails and my server start with data. I followed this tutorial: http://wiki.openstreetmap.org/wiki/Rails#Installing_Rails asked 26 Aug '13, 22:23 Leonardo Neves MagicFab |
This question came up on IRC a little while ago. I can't find it in my logs, or who should get the credit, but the answer was to do everything as normal except use an empty-but-valid osm-xml file during the data import. The file should be something like:
answered 27 Aug '13, 10:29 Vincent de P... ♦ Vincent, the empty osm not work =/ The data carry on being downloadeds. Thanks for answer! What i seek is build a local map only with local OSM file. No internet connection. thanks all for helping! I gonna carry on, if i have success post here.
(27 Aug '13, 20:03)
Leonardo Neves
|
This sounds like an uncommon request and since it is development related, the knowledgeable people are found in the dev mailing list. I would expect that you should skip the Populating the Database section. The following comment would suggest adding data should be done through change sets.
If you have success, I suggest you write docs on how to use an empty database. answered 27 Aug '13, 02:53 he_the_great I'm not 100% sure that I understand the question, but isn't it just a case of running "osmosis" (in the Populating the Database section) with an empty or nearly-empty-but-valid ** XML file instead of the planet one? Perhaps you could explain in a little more detail what you're trying to do and what problems you're still seeing? ** I don't know, but suspect that running osmosis might do some schema setup in addition to the data loading, and giving it "something" to load might be required.
(27 Aug '13, 22:56)
SomeoneElse ♦
|