Hi John,

This sounds like a fun problem. Thinking as I type, you could...


   1. Generate a list of all place names in the area you are interested in,
   plus a lat/lon location
   2. Use the GraphHopper API to route from a known good location to each
   location in step 1
   3. For every location that can be routed to, remove that entry from list
   generated in step 1
   4. Review remaining locations, keep mapping
   5. Return to the start

This should be reasonable to achieve in your favourite scripting language.
Although this is not likely to be the most efficient method, I'm doing
something similar for a different problem with reasonable success. I can
see this being an enjoyable exercise at least.

You may also find KeepRight's "floating islands" check useful:
https://wiki.openstreetmap.org/wiki/Keep_Right/130_floating_islands

Cheers, Joseph



On Wed, 4 Jul 2018 at 19:03, john whelan <jwhelan0...@gmail.com> wrote:

> I connect them as I come across them I just wondered if anyone had a magic
> spell to find them?
>
> Thanks John
>
> On 4 July 2018 at 13:33, Jean-Marc Liotier <j...@liotier.org> wrote:
>
>> On Wed, July 4, 2018 6:12 pm, john whelan wrote:
>> > I'm using JOSM and find unconnected highways is useful but in Africa I'm
>> > seeing a number of settlements that have highways entering on both sides
>> > but nothing connecting them which poses problems for routing software.
>> >
>> > Any suggestions ?
>>
>> Connect them !
>>
>> Seriously, even if you don't feel like detailing their path across the
>> settlement, road network connectivity is worth the urban imprecision... In
>> the beginning of Openstreetmap, major ways coming into major cities would
>> just meet in the middle !
>>
>> Playing with routers such as OSRM is a way I have sometimes stumbled upon
>> such cases of disconnection.
>>
>>
> _______________________________________________
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
_______________________________________________
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk

Reply via email to