Re: [OSM-dev] Processing dual carriageway highways into one linestring?`

2019-10-18 Thread Richard Fairhurst
Joseph Eisenberg wrote: > Is anyone aware of a way to import dual-carriageway roads as > a single linestring? I do something like this to boil route relations containing dual carriageways down into polylines: insert into routes_split(geom) ( select (st_dump( st_linemerge(

Re: [OSM-dev] Processing dual carriageway highways into one linestring?`

2019-10-18 Thread Martin Koppenhoefer
You would also have to know how many ways there are, just looking for 2 is not sufficient, because there could be 3, 4, 5, 6 or even more. Around here I've a situation with 6 parallel carriageways: https://www.openstreetmap.org/#map=19/41.86472/12.49702 some meters north of this spot, they are

Re: [OSM-dev] Processing dual carriageway highways into one linestring?`

2019-10-18 Thread Jochen Topf
Hi! On Fri, Oct 18, 2019 at 11:29:04AM +0900, Joseph Eisenberg wrote: > Is anyone aware of a way to import dual-carriageway roads as a single > linestring? > > There's a request at Openstreetmap-carto to render dual-carriageway > roads differently at mid-zoom levels: >

Re: [OSM-dev] Processing dual carriageway highways into one linestring?`

2019-10-18 Thread Michael Reichert
Hi Joseph, Am 18.10.19 um 04:29 schrieb Joseph Eisenberg: > Has anyone implemented a rendering that handles dual-carriageway > roads, or designed a way to import such ways into a (rendering) > database as a single linestring midway between the two OSM ways? We had a student at Geofabrik working

Re: [OSM-dev] Processing dual carriageway highways into one linestring?`

2019-10-18 Thread Mateusz Konieczny
18 Oct 2019, 04:29 by joseph.eisenb...@gmail.com: > Is anyone aware of a way to import dual-carriageway roads as a single > linestring? > I tried searching for way/tool that would do this some time ago and failed. > It doesn't appear that there are any tags in the database which hold > this

[OSM-dev] Processing dual carriageway highways into one linestring?`

2019-10-17 Thread Joseph Eisenberg
Is anyone aware of a way to import dual-carriageway roads as a single linestring? There's a request at Openstreetmap-carto to render dual-carriageway roads differently at mid-zoom levels: https://github.com/gravitystorm/openstreetmap-carto/issues/3934 It doesn't appear that there are any tags in