Closed bxlt closed 4 years ago
Can you provide your osm file? Will be great if you can give me small example of your osm file (so I can create test for this situation).
No errors by your example. Just warnings (it's normal when you have partial OSM data). For example relation 3821928
have way with ref 31876040
, but in file I can't find object with id 31876040
(I also checked on downloaded map from OSM).
If you expect other geometry in result - provide other example (also you can try this tool to test your examples https://tyrasd.github.io/osmtogeojson/)
https://drive.google.com/file/d/1LovppGWATaAxZXtIXnsS_1oNomAOKhRK/view?usp=sharing
Sorry for replying late. Here is a sample file I used. Please try this one.
I can't work with pdf, you can use .osm for OSM XML. Also i don't need all your example (just small part where you see problem).
BTW i changed logging strategy (in version 0.1.23 added parameter log_level
). So now you will not see all warnings by default.
After I down load a small piece of osm from my neighbourhood and try to parse it. Interpreter gives me the error below :
I think the parser cannot handle this type of relation below. since no error was shown after remove this section. Thanks in advance!