{"action":"opened","issue":{"url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/253","labels_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/253/comments","events_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/253/events","html_url":"https://github.com/openstreetmap/osm2pgsql/issues/253","id":54382228,"number":253,"title":"Missing some roads when importing","user":{"login":"nanolab","id":3150336,"avatar_url":"https://avatars.githubusercontent.com/u/3150336?v=3","gravatar_id":"","url":"https://api.github.com/users/nanolab","html_url":"https://github.com/nanolab","followers_url":"https://api.github.com/users/nanolab/followers","following_url":"https://api.github.com/users/nanolab/following{/other_user}","gists_url":"https://api.github.com/users/nanolab/gists{/gist_id}","starred_url":"https://api.github.com/users/nanolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanolab/subscriptions","organizations_url":"https://api.github.com/users/nanolab/orgs","repos_url":"https://api.github.com/users/nanolab/repos","events_url":"https://api.github.com/users/nanolab/events{/privacy}","received_events_url":"https://api.github.com/users/nanolab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-14T21:53:38Z","updated_at":"2015-01-14T21:53:38Z","closed_at":null,"body":"I'm importing this file http://download.geofabrik.de/europe/ukraine-latest.osm.pbf:\r\n\r\n    osm2pgsql -l -d gpx -U ra -W -H localhost -C 1024 --hstore --cache-strategy sparse --slim ukraine-latest.osm.pbf\r\n\r\nThis query\r\n\r\n    SELECT * FROM planet_osm_ways WHERE id = 23697167\r\n\r\nreturns 1 string:\r\n\r\n    23697167;\"{262266618,1762256438,256593967}\";\"{name:ru,\"Матросова улица\",name:en,\"Matrosova Street\",name,\"Матросова вулиця\",highway,residential}\"\r\n\r\nSo it's imported correctly. But\r\n\r\n    SELECT * FROM planet_osm_roads WHERE osm_id = 23697167\r\n    SELECT * FROM planet_osm_polygon WHERE osm_id = 23697167\r\n\r\nreturns nothing.\r\n\r\nThis way exists in .osm version too:\r\n```\r\n<way id=\"23697167\" version=\"13\" timestamp=\"2012-11-01T19:19:46Z\" changeset=\"13714624\" uid=\"495642\" user=\"agb2\">\r\n\t<nd ref=\"262266618\"/>\r\n\t<nd ref=\"1762256438\"/>\r\n\t<nd ref=\"256593967\"/>\r\n\t<tag k=\"highway\" v=\"residential\"/>\r\n\t<tag k=\"name\" v=\"Матросова вулиця\"/>\r\n\t<tag k=\"name:en\" v=\"Matrosova Street\"/>\r\n\t<tag k=\"name:ru\" v=\"Матросова улица\"/>\r\n</way>\r\n```"}}