I successfully installed the rail port following the official tutorial on ubuntu but i can't import my country in my db. Somewhere else i read that this is not the user's fault but more of an inconsistency in my .osm file. But if so, then how can i avoid it? Is there a way to make osmosis ignore these errors. How do other people install the rail port with such things going on?
asked 25 Oct '11, 08:18 alexz |
It's an inconsistency in your .osm file, as you put in your question. The most likely cause of this is that you have an extract which was created with the standard osmosis settings - which means that if a way references nodes outside of the bbox requested, the extra nodes are not included and so the extract has "incomplete" ways. Or the same thing with relations. See the Detailed Usage description of the bbox tasks of osmosis for more details. To solve this, you will either need to obtain an extract with completed ways and relations, or make your own with the "completeWays" and "completeRelations" flags set to true. Alternatively, you can use the "clipIncompleteEntities" to alter the ways and relations in order that they won't refer to missing entities. answered 26 Oct '11, 09:47 Andy Allan Thanks i'll try that as soon as possible. Meanwhile, i can add that i was importing a country downloaded from cloudmade.com . Do you happen to know if they practice such things as not including the extra nodes?
(26 Oct '11, 10:16)
alexz
1
I believe that's the case. You can try downloading from www.geofabrik.de instead - the extracts from there have completeWays set to true.
(26 Oct '11, 10:48)
Andy Allan
I beleve geofabrik uses clipIncompleteEntities set and not completeWays. This means that you can not export the geofabrik data back to OSM.
(26 Oct '11, 11:25)
Gnonthgol ♦
1
That's not the case - I checked with frederik before posting, and that matches what he's previously said on the mailing lists.
(26 Oct '11, 11:59)
Andy Allan
Geofabrik has moved the planet splitting from osmosis to a program called 'history-splitter'.
(26 Oct '11, 12:13)
ajoessen
|