Closed pnorman closed 8 years ago
a ha - one is a polygon and the other is a linestring
id | osm_id | st_astext | tags
---------+-----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------
1870999 | 203962976 | LINESTRING(-13788974.7882237 6284961.78617961,-13788985.7051333 6284985.53745168,-13788988.5230022 6284991.64615295,-13788941.3470238 6285042.40977394,-13788927.6122453 6284982.67533442,-13788974.7882237 6284961.78617961) | "aeroway"=>"apron"
1871002 | 203962976 | POLYGON((-13788988.5230022 6284991.64615295,-13788941.3470238 6285042.40977394,-13788927.6122453 6284982.67533442,-13788974.7882237 6284961.78617961,-13788985.7051333 6284985.53745168,-13788988.5230022 6284991.64615295)) | "aeroway"=>"apron"
Is a column of id
type supposed to be usable as a primary key?
maybe related : https://github.com/omniscale/imposm3/issues/51
Ah, yes, duplicates #51
I ran
imposm3 import -mapping imposm3_mapping.json -cachedir ~/replicate/imposm3_cache/ -diff -connection='postgis://?prefix=NONE' -read british-columbia-160122.osm.pbf -write -deployproduction -overwritecache
with a geofabrik extract andimposm3_mapping.json
I get duplicate rows