{"action":"closed","issue":{"url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/151","labels_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/151/comments","events_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/151/events","html_url":"https://github.com/openstreetmap/osm2pgsql/issues/151","id":34693812,"number":151,"title":"Missing data with files not ID-ordered in non-slim mode","user":{"login":"pnorman","id":1190866,"avatar_url":"https://avatars.githubusercontent.com/u/1190866?v=3","gravatar_id":"","url":"https://api.github.com/users/pnorman","html_url":"https://github.com/pnorman","followers_url":"https://api.github.com/users/pnorman/followers","following_url":"https://api.github.com/users/pnorman/following{/other_user}","gists_url":"https://api.github.com/users/pnorman/gists{/gist_id}","starred_url":"https://api.github.com/users/pnorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnorman/subscriptions","organizations_url":"https://api.github.com/users/pnorman/orgs","repos_url":"https://api.github.com/users/pnorman/repos","events_url":"https://api.github.com/users/pnorman/events{/privacy}","received_events_url":"https://api.github.com/users/pnorman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openstreetmap/osm2pgsql/labels/error%20reporting","name":"error reporting","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-05-31T02:43:37Z","updated_at":"2015-07-05T09:03:08Z","closed_at":"2015-07-05T09:03:08Z","body":"Version 0.85.0, 901a9960015d4fa821ed9aea73aac1d96efe70b7\r\n\r\n``curl -o cp.osm -L 'http://api.osm.org/api/0.6/way/23165846/full'`` generates the XML\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<osm version=\"0.6\" generator=\"CGImap 0.3.3 (16030 thorn-01.openstreetmap.org)\" copyright=\"OpenStreetMap and contributors\" attribution=\"http://www.openstreetmap.org/copyright\" license=\"http://opendatacommons.org/licenses/odbl/1-0/\">\r\n <node id=\"250388320\" visible=\"true\" version=\"4\" changeset=\"859527\" timestamp=\"2009-03-26T01:02:10Z\" user=\"Tovok7\" uid=\"46823\" lat=\"49.2325933\" lon=\"-123.0128850\"/>\r\n <node id=\"250388322\" visible=\"true\" version=\"4\" changeset=\"859527\" timestamp=\"2009-03-26T01:02:11Z\" user=\"Tovok7\" uid=\"46823\" lat=\"49.2327053\" lon=\"-123.0155060\"/>\r\n <node id=\"277043026\" visible=\"true\" version=\"3\" changeset=\"859527\" timestamp=\"2009-03-26T01:02:13Z\" user=\"Tovok7\" uid=\"46823\" lat=\"49.2294285\" lon=\"-123.0128064\"/>\r\n <node id=\"277043039\" visible=\"true\" version=\"4\" changeset=\"2832320\" timestamp=\"2009-10-13T05:20:01Z\" user=\"Oplopanax\" uid=\"136914\" lat=\"49.2321810\" lon=\"-123.0233200\"/>\r\n <node id=\"431382049\" visible=\"true\" version=\"2\" changeset=\"13866629\" timestamp=\"2012-11-14T00:48:11Z\" user=\"z-dude\" uid=\"135851\" lat=\"49.2293547\" lon=\"-123.0128417\"/>\r\n <node id=\"529785403\" visible=\"true\" version=\"1\" changeset=\"2832320\" timestamp=\"2009-10-13T05:19:55Z\" user=\"Oplopanax\" uid=\"136914\" lat=\"49.2247766\" lon=\"-123.0127039\"/>\r\n <node id=\"250388318\" visible=\"true\" version=\"5\" changeset=\"2832320\" timestamp=\"2009-10-13T05:20:01Z\" user=\"Oplopanax\" uid=\"136914\" lat=\"49.2220466\" lon=\"-123.0233286\"/>\r\n <node id=\"250388319\" visible=\"true\" version=\"3\" changeset=\"2832320\" timestamp=\"2009-10-13T05:20:01Z\" user=\"Oplopanax\" uid=\"136914\" lat=\"49.2219962\" lon=\"-123.0126427\"/>\r\n <node id=\"1017431626\" visible=\"true\" version=\"1\" changeset=\"6522256\" timestamp=\"2010-12-03T03:27:32Z\" user=\"z-dude\" uid=\"135851\" lat=\"49.2326201\" lon=\"-123.0135124\"/>\r\n <node id=\"973392305\" visible=\"true\" version=\"1\" changeset=\"6251258\" timestamp=\"2010-11-01T03:30:54Z\" user=\"z-dude\" uid=\"135851\" lat=\"49.2303091\" lon=\"-123.0128283\"/>\r\n <way id=\"23165846\" visible=\"true\" version=\"10\" changeset=\"6522256\" timestamp=\"2010-12-03T03:27:36Z\" user=\"z-dude\" uid=\"135851\">\r\n  <nd ref=\"277043039\"/>\r\n  <nd ref=\"250388318\"/>\r\n  <nd ref=\"250388319\"/>\r\n  <nd ref=\"529785403\"/>\r\n  <nd ref=\"431382049\"/>\r\n  <nd ref=\"277043026\"/>\r\n  <nd ref=\"973392305\"/>\r\n  <nd ref=\"250388320\"/>\r\n  <nd ref=\"1017431626\"/>\r\n  <nd ref=\"250388322\"/>\r\n  <nd ref=\"277043039\"/>\r\n  <tag k=\"is_in\" v=\"Burnaby, BC\"/>\r\n  <tag k=\"leisure\" v=\"park\"/>\r\n  <tag k=\"name\" v=\"Central Park\"/>\r\n </way>\r\n</osm>\r\n```\r\nwhich I load with ``~/osm/osm2pgsql/osm2pgsql -d gis -G -S ~/osm/openstreetmap-carto/openstreetmap-carto.style cp.osm``\r\nThe results in qgis:\r\n![image](https://cloud.githubusercontent.com/assets/1190866/3138073/05f8f850-e86d-11e3-8420-8df7c744edc1.png)\r\n\r\nIt should look like\r\n![image](https://cloud.githubusercontent.com/assets/1190866/3138075/4e9ee4de-e86d-11e3-8076-144ec320419f.png)\r\n\r\n\r\nI reduced this from a larger file (map call) exhibiting problems"}}