[GraphHopper] Does Graphhopper merge ways with equal flags and name?

John Zhao johnthu at gmail.com
Tue Jun 2 20:35:01 UTC 2015


Hi,

AFAIK, there is no this kind of merging logic here.
Wait the answer from Peter.
Probably you need to implement it by your own.
And it's not easy.
Maybe can be done before import?
What you want, is actually convert a tower node to a pillar node.


*Best Regards,*
*ZhiQiang ZHAO*

On Tue, Jun 2, 2015 at 1:27 PM, Jan Torben Heuer <jan at komoot.de> wrote:

> Hi ZhiQiang ZHAO,
>
> Thanks for your quick answer.
> I have a custom FlagEncoder that imports only very few ways and I don’t
> need the names. I guess, I have mostly nodes with a degree of two.
>
> Jan
>
> Am 02.06.2015 um 21:53 schrieb John Zhao <johnthu at gmail.com>:
>
> Hi,
>
> Have you made a experiment to count the number of 2 degree nodes with the
> equal flags and name in OSM?
> And then we can know how many edges we can save.
>
> I doubt this should be not too much for OSM.
>
> *Best Regards,*
> *ZhiQiang ZHAO*
>
> On Tue, Jun 2, 2015 at 11:59 AM, Jan Torben Heuer <jan at komoot.de> wrote:
>
>> Hi,
>>
>> Can Graphhopper merge two ways with equal flags and name if there is no
>> intersection between them (no third way connected)?
>>
>> I would like to create a very reduces graph with only few edges. What
>> would be the easiest way to achieve it? I think I would have to disable the
>> nameIndex for instance.
>>
>> Thanks,
>>
>> Jan
>>
>>
>>
>> _______________________________________________
>> GraphHopper mailing list
>> GraphHopper at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/graphhopper
>>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150602/ce6a1129/attachment.html>


More information about the GraphHopper mailing list