NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello,

I created a lot of nodes, e.g. 9955159975. However they are not in the graph resulted by calling: ox.graph_from_bbox(-23.46, -23.75, -46.5, -46.77, network_type='drive', simplify=False).

I noticed that when changed to the network type all they are appearing. How can I change the nodes to show in the drive result?

asked 16 Aug '22, 14:54

vwraposo's gravatar image

vwraposo
11112
accept rate: 0%

edited 17 Aug '22, 09:49

scai's gravatar image

scai ♦
33.3k21309459

Could you explain in a bit more detail what your goal is here?

(16 Aug '22, 15:06) SomeoneElse ♦

We were adding points for restricted zones for trucks. And we want to take them into account when computing paths. It seems that now the API returned the correct points, there must be a long time for it to return or a long cache somewhere

(16 Aug '22, 16:05) vwraposo

Ah - so you're using some other piece of software (which you haven't told us about) which gets information from OSM and determines whether a particular route is suitable for a particular type of vehicle.

Because they have to create their own routing graph, routers tend to update slower than some other OSM consumers.

(16 Aug '22, 16:26) SomeoneElse ♦
1

This question seems to be about OSMnx. I've added the corresponding tag.

(17 Aug '22, 09:49) scai ♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710
×205
×5
×4

question asked: 16 Aug '22, 14:54

question was seen: 638 times

last updated: 17 Aug '22, 09:49

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum