I know there are several post already on how to convert OSM to GeoJson, e.g., How do you convert OSM XML to geojson?.
Nevertheless, I tried the mentioned tools, but I always end up with the same problem. Whenever I load the converted GeoJson (http://tyrasd.github.io/osmtogeojson/) or load the OSM data directly (using geojson.io -> Open), I receive an invalid shape:
http://bl.ocks.org/d/5fc3e8038fa1101cdcd51ad3d0404b47
With http://geojsonlint.com/ I receive different errors using the result of the conversion (e.g., the first and last positions in a LinearRing of coordinates must be the same
or Polygons and MultiPolygons should follow the right-hand rule
). Is there any setting, tool, that may solve these problems? Or generate a valid result? Are there any tips for the OSM data, that I may apply (e.g., remove specific features, nodes, ...). The source data is shown correctly in OSM, see http://www.openstreetmap.org/relation/62780.
The complete OSM file used for conversion can be found here on my GitHub: nuernberg.osm