{"action":"created","issue":{"url":"https://api.github.com/repos/omniscale/imposm3/issues/91","repository_url":"https://api.github.com/repos/omniscale/imposm3","labels_url":"https://api.github.com/repos/omniscale/imposm3/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/omniscale/imposm3/issues/91/comments","events_url":"https://api.github.com/repos/omniscale/imposm3/issues/91/events","html_url":"https://github.com/omniscale/imposm3/issues/91","id":135127161,"number":91,"title":"Invalid geometry in query","user":{"login":"Joxit","id":5153882,"avatar_url":"https://avatars.githubusercontent.com/u/5153882?v=3","gravatar_id":"","url":"https://api.github.com/users/Joxit","html_url":"https://github.com/Joxit","followers_url":"https://api.github.com/users/Joxit/followers","following_url":"https://api.github.com/users/Joxit/following{/other_user}","gists_url":"https://api.github.com/users/Joxit/gists{/gist_id}","starred_url":"https://api.github.com/users/Joxit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joxit/subscriptions","organizations_url":"https://api.github.com/users/Joxit/orgs","repos_url":"https://api.github.com/users/Joxit/repos","events_url":"https://api.github.com/users/Joxit/events{/privacy}","received_events_url":"https://api.github.com/users/Joxit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-20T22:07:46Z","updated_at":"2016-05-26T05:48:30Z","closed_at":null,"body":"Since imposm3 423390ea71fc40f659aac649b1fe0807473f7def I have one error with geometry tables.\r\n\r\nI'm importing [ile-de-france](http://download.geofabrik.de/europe/france/ile-de-france-latest.osm.pbf) data from geofabrik. \r\n\r\nThe yml mapping is :\r\n\r\n```yml\r\ntables:\r\n  platform:\r\n    fields:\r\n    - name: osm_id\r\n      type: id\r\n    - name: geometry\r\n      type: geometry\r\n    - key: name\r\n      name: name\r\n      type: string\r\n    - name: type\r\n      type: mapping_value\r\n    mapping:\r\n      railway:\r\n      - platform\r\n    type: geometry\r\n```\r\n\r\nHere is the error : \r\n`\r\n[PostGIS] SQL Error: pq: parse error - invalid geometry in query COPY \"import\".\"osm_platform\" (\"osm_id\", \"geometry\", \"name\", \"type\") FROM STDIN ([-5802618 0103000020110F00000400000023000000AF7EF71AD20F0E41F8BD3A5367DF5741E55FEF3698100E41C0753FAE68DF57418136320257110E41A746CB216ADF57416FA3D9740A120E41C4E987896BDF574146CAE11CBC120E41070A991F6DDF5741DC26327759130E41555221A76EDF5741C9685EF800140E416555735870DF57414B4319D6B5140E415C3B9D6472DF5741C414618854150E415A7D594D74DF5741D253BCA5F4150E41A685B25776DF5741D2BB4457C3160E4197EB2C2779DF57413C7D1D8173170E417BAF19857BDF574158CF405ACF180E41BE0E3A3E80DF5741C1DFA3AAD1180E41E78E121880DF5741B351BE66DF180E418D5FB0377FDF57412F4FE1CAEB180E419113336C7EDF57410A1A40C7EE180E4189503C3A7EDF574115BF3DCA2E180E41B82EA8757BDF5741951954D027170E41D1C713B977DF5741FCF3CE2EA0160E411345FDBF75DF57412E0BC34529160E4183FFD71674DF5741DC84093FC0150E41FD8B03B072DF5741A556117222150E4142A1D9A370DF5741666F47AE9C140E41FA14F9016FDF5741D72BCDCF17140E417B742A7D6DDF574136AE922CB1130E4177A5605B6CDF5741763612C131130E412CE7590A6BDF574144FCC92C8A120E418C52607369DF5741736C0EBCF4110E415461402D68DF57418D183DC559110E412EA2780167DF5741C7B261CFCD100E41AF1EEA1866DF5741288C7DCFE00F0E41BFED75A464DF574192B93AE6DD0F0E417D9F2E2865DF574100591EF1D40F0E415AE6B0CD66DF5741AF7EF71AD20F0E41F8BD3A5367DF574106000000806BCF9BA6140E41A68BFC5E71DF57417FAF91CAB4140E41681EC12D70DF5741D2D959D5E5140E416CCE31BE70DF57414EB014D1DE140E4178F7E65571DF5741FA9D7B93D7140E41CCCF55F071DF5741806BCF9BA6140E41A68BFC5E71DF57410500000073CAE5835B140E412FAAF68470DF5741643C004069140E411EBBFF5A6FDF57413F769C5C86140E411A2764B06FDF5741D8F4B9C678140E414B195BDA70DF574173CAE5835B140E412FAAF68470DF574105000000A2A60E0013130E419A12F32F6DDF57413295040122130E41DF8F7EBB6BDF5741BAEF4E4E6B130E4183EC89776CDF57412C01594D5C130E416B06E7EC6DDF5741A2A60E0013130E419A12F32F6DDF5741 Quai 1 SNCF platform])\r\n`\r\n"},"comment":{"url":"https://api.github.com/repos/omniscale/imposm3/issues/comments/221783446","html_url":"https://github.com/omniscale/imposm3/issues/91#issuecomment-221783446","issue_url":"https://api.github.com/repos/omniscale/imposm3/issues/91","id":221783446,"user":{"login":"JanJakes","id":141436,"avatar_url":"https://avatars.githubusercontent.com/u/141436?v=3","gravatar_id":"","url":"https://api.github.com/users/JanJakes","html_url":"https://github.com/JanJakes","followers_url":"https://api.github.com/users/JanJakes/followers","following_url":"https://api.github.com/users/JanJakes/following{/other_user}","gists_url":"https://api.github.com/users/JanJakes/gists{/gist_id}","starred_url":"https://api.github.com/users/JanJakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanJakes/subscriptions","organizations_url":"https://api.github.com/users/JanJakes/orgs","repos_url":"https://api.github.com/users/JanJakes/repos","events_url":"https://api.github.com/users/JanJakes/events{/privacy}","received_events_url":"https://api.github.com/users/JanJakes/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T05:48:30Z","updated_at":"2016-05-26T05:48:30Z","body":"Thanks! We'll try it out. Yes, we use `type: geometry` (with `use_single_id_space: true`).\r\n\r\nWith older version (0.1 at 901b40bfd7e9d0eace5c74903d64731fdae2fafa) it works fine."}}
{"actor":{"display_login":"JanJakes"}}