Overpass API query for `osrm-extract -p foot.lua`Overpass API: Get coordinates of postal boundaryCorrect...
Count the occurrence of each unique word in the file
Is this toilet slogan correct usage of the English language?
Can I sign legal documents with a smiley face?
How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?
Reverse int within the 32-bit signed integer range: [−2^31, 2^31 − 1]
Offered money to buy a house, seller is asking for more to cover gap between their listing and mortgage owed
Freedom of speech and where it applies
dpdt switch to spst switch
Which one is correct as adjective “protruding” or “protruded”?
Is there a name for this algorithm to calculate the concentration of a mixture of two solutions containing the same solute?
What does chmod -u do?
On a tidally locked planet, would time be quantized?
How could a planet have erratic days?
Not using 's' for he/she/it
Must Legal Documents Be Siged In Standard Pen Colors?
Added a new user on Ubuntu, set password not working?
Longest common substring in linear time
Why should universal income be universal?
How to bake one texture for one mesh with multiple textures blender 2.8
Why can Carol Danvers change her suit colours in the first place?
How to indicate a cut out for a product window
Is there any references on the tensor product of presentable (1-)categories?
Did arcade monitors have same pixel aspect ratio as TV sets?
Why Shazam when there is already Superman?
Overpass API query for `osrm-extract -p foot.lua`
Overpass API: Get coordinates of postal boundaryCorrect order of nodes in Overpass queryUsing custom data in OSRMUse preferred route from OSRM serverGet regions containing a coordinate in Overpass-APIOSRM - trucks and cars routes should differOverpass API: Select all building polygons (excluding POIs and lines) within certain areaQuery for WAY that connects two INTERSECTIONSOverpass API convert statementOverpass / Overpy: Getting Way IDs from Nodes
The OSRM demo server only support the car profile, and I need to create walking routes in various different places of the world. I don't have the hardware needed to process the whole Planet.osm, though. So the idea I came up with was downloading and processing OSM data for each area I'm going to work on, separately.
I've been reading the documentation for OSRM and the Overpass API, but I could not really understand what data I'm going to need. In OSRM, I'm using the Table and Route services.
Considering I need to create a route linking various places inside the area 50.7,7.1 50.7,7.105 50.7025,7.1025
, these are some of the queries I have gathered from the Overpass API documentation (I haven't compared yet the performance between bounding boxes and polygons):
All nodes, ways, and relations in the area (does OSRM need things like relations? / this also excludes, for example, a path that joins two places but goes through roads outside the area):
(
node(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
way(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
rel(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
);
out;
Perhaps if we add 1km of data outside the area (increases the area to include some joining roads):
(
node(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
way(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
rel(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
);
out;
Include ways which reference nodes up to 1km around the area (and exclude relations..?):
node(around:1000, 50.7,7.1, 50.7,7.102, 50.7015,7.101);
way(bn);
(._; >;);
out;
All ways and relations to nodes 1km around the area (returns a lot of data, and may return things like the whole country border, very extensive rivers and roads, etc.):
(
node(around:1000,50.7,7.1,50.7,7.102,50.7015,7.101);
<;
>;
);
out;
TL;DR: I need to create walking routes with OSRM inside many different areas, and I don't understand which QL query I need to include all relevant data, while keeping an acceptable data size.
openstreetmap overpass-api open-source-routing-machine
New contributor
add a comment |
The OSRM demo server only support the car profile, and I need to create walking routes in various different places of the world. I don't have the hardware needed to process the whole Planet.osm, though. So the idea I came up with was downloading and processing OSM data for each area I'm going to work on, separately.
I've been reading the documentation for OSRM and the Overpass API, but I could not really understand what data I'm going to need. In OSRM, I'm using the Table and Route services.
Considering I need to create a route linking various places inside the area 50.7,7.1 50.7,7.105 50.7025,7.1025
, these are some of the queries I have gathered from the Overpass API documentation (I haven't compared yet the performance between bounding boxes and polygons):
All nodes, ways, and relations in the area (does OSRM need things like relations? / this also excludes, for example, a path that joins two places but goes through roads outside the area):
(
node(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
way(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
rel(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
);
out;
Perhaps if we add 1km of data outside the area (increases the area to include some joining roads):
(
node(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
way(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
rel(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
);
out;
Include ways which reference nodes up to 1km around the area (and exclude relations..?):
node(around:1000, 50.7,7.1, 50.7,7.102, 50.7015,7.101);
way(bn);
(._; >;);
out;
All ways and relations to nodes 1km around the area (returns a lot of data, and may return things like the whole country border, very extensive rivers and roads, etc.):
(
node(around:1000,50.7,7.1,50.7,7.102,50.7015,7.101);
<;
>;
);
out;
TL;DR: I need to create walking routes with OSRM inside many different areas, and I don't understand which QL query I need to include all relevant data, while keeping an acceptable data size.
openstreetmap overpass-api open-source-routing-machine
New contributor
add a comment |
The OSRM demo server only support the car profile, and I need to create walking routes in various different places of the world. I don't have the hardware needed to process the whole Planet.osm, though. So the idea I came up with was downloading and processing OSM data for each area I'm going to work on, separately.
I've been reading the documentation for OSRM and the Overpass API, but I could not really understand what data I'm going to need. In OSRM, I'm using the Table and Route services.
Considering I need to create a route linking various places inside the area 50.7,7.1 50.7,7.105 50.7025,7.1025
, these are some of the queries I have gathered from the Overpass API documentation (I haven't compared yet the performance between bounding boxes and polygons):
All nodes, ways, and relations in the area (does OSRM need things like relations? / this also excludes, for example, a path that joins two places but goes through roads outside the area):
(
node(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
way(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
rel(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
);
out;
Perhaps if we add 1km of data outside the area (increases the area to include some joining roads):
(
node(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
way(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
rel(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
);
out;
Include ways which reference nodes up to 1km around the area (and exclude relations..?):
node(around:1000, 50.7,7.1, 50.7,7.102, 50.7015,7.101);
way(bn);
(._; >;);
out;
All ways and relations to nodes 1km around the area (returns a lot of data, and may return things like the whole country border, very extensive rivers and roads, etc.):
(
node(around:1000,50.7,7.1,50.7,7.102,50.7015,7.101);
<;
>;
);
out;
TL;DR: I need to create walking routes with OSRM inside many different areas, and I don't understand which QL query I need to include all relevant data, while keeping an acceptable data size.
openstreetmap overpass-api open-source-routing-machine
New contributor
The OSRM demo server only support the car profile, and I need to create walking routes in various different places of the world. I don't have the hardware needed to process the whole Planet.osm, though. So the idea I came up with was downloading and processing OSM data for each area I'm going to work on, separately.
I've been reading the documentation for OSRM and the Overpass API, but I could not really understand what data I'm going to need. In OSRM, I'm using the Table and Route services.
Considering I need to create a route linking various places inside the area 50.7,7.1 50.7,7.105 50.7025,7.1025
, these are some of the queries I have gathered from the Overpass API documentation (I haven't compared yet the performance between bounding boxes and polygons):
All nodes, ways, and relations in the area (does OSRM need things like relations? / this also excludes, for example, a path that joins two places but goes through roads outside the area):
(
node(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
way(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
rel(poly:"50.7 7.1 50.7 7.105 50.7025 7.1025");
);
out;
Perhaps if we add 1km of data outside the area (increases the area to include some joining roads):
(
node(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
way(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
rel(around:1000, 50.7,7.1, 50.7,7.105, 50.705,7.1025);
);
out;
Include ways which reference nodes up to 1km around the area (and exclude relations..?):
node(around:1000, 50.7,7.1, 50.7,7.102, 50.7015,7.101);
way(bn);
(._; >;);
out;
All ways and relations to nodes 1km around the area (returns a lot of data, and may return things like the whole country border, very extensive rivers and roads, etc.):
(
node(around:1000,50.7,7.1,50.7,7.102,50.7015,7.101);
<;
>;
);
out;
TL;DR: I need to create walking routes with OSRM inside many different areas, and I don't understand which QL query I need to include all relevant data, while keeping an acceptable data size.
openstreetmap overpass-api open-source-routing-machine
openstreetmap overpass-api open-source-routing-machine
New contributor
New contributor
New contributor
asked 12 mins ago
Teresa e JuniorTeresa e Junior
101
101
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Teresa e Junior is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f316469%2foverpass-api-query-for-osrm-extract-p-foot-lua%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Teresa e Junior is a new contributor. Be nice, and check out our Code of Conduct.
Teresa e Junior is a new contributor. Be nice, and check out our Code of Conduct.
Teresa e Junior is a new contributor. Be nice, and check out our Code of Conduct.
Teresa e Junior is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f316469%2foverpass-api-query-for-osrm-extract-p-foot-lua%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown