I have an array of nodes and am using https://api.openstreetmap.org/api/0.6/node/{node} to get the lng and lat of each node. Is their an easier way to fetch multiple nodes at the same time? asked 14 Apr '21, 14:52 zgivod |
You can ask for multiple nodes by ID like this: https://api.openstreetmap.org/api/0.6/nodes/?nodes=123456700,123456701,123456702 The same command works for just a single node ID as well: https://api.openstreetmap.org/api/0.6/nodes/?nodes=123456700 See the API documentation: answered 14 Apr '21, 23:45 jmapb |