[OSM-dev] re-creating turn restriction geometry from osmosis based postgis

Gerd Petermann gpetermann_muenchen at hotmail.com
Thu Nov 21 15:02:21 UTC 2019


Keep in mind that there are a few restrictions with one or more via ways.

Gerd

________________________________________
Von: maning sambale <emmanuel.sambale at gmail.com>
Gesendet: Donnerstag, 21. November 2019 15:57
An: Martin Koppenhoefer
Cc: dev at openstreetmap.org
Betreff: Re: [OSM-dev] re-creating turn restriction geometry from osmosis based postgis

Thanks Martin.

I'll give this a try.

On Wed, Nov 20, 2019 at 1:30 AM Martin Koppenhoefer
<dieterdreist at gmail.com> wrote:
>
>
>
> sent from a phone
>
> > On 19. Nov 2019, at 17:03, maning sambale <emmanuel.sambale at gmail.com> wrote:
> >
> > My db has the ways, nodes table with geometry and relations and
> > relation_members referencing the members.
>
>
> you could count all relations with type=restriction where the via member is in your polygon.
>
> Cheers Martin



--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
https://github.com/maning
http://twitter.com/maningsambale
------------------------------------------------------

_______________________________________________
dev mailing list
dev at openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev



More information about the dev mailing list