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

Hi, i really want to get the Data that is inside a BBox but the least count possible that is NOT inside. ATM I'am using something like:

(relation(south,west,north,east);way(south,west,north,east);node(south,west,north,east););( ._; >; );out meta;

It returns everything that is inside but way too much that i don't need. Is there a fast way to reduce this select to those entries that are (mostly) only inside the Bbox?

asked 30 Jan '18, 17:22

xep84's gravatar image

xep84
11112
accept rate: 0%

yes and thanks.

(21 Feb '18, 12:37) xep84

are you referring to objects that are only partially in your BBox, but are still returned completely ? AFAIK, OverPass cannot split objects and will return e.g. complete ways when they have at least 1 node in the BBox, even when all the others are not.

Thus you will have to do that yourself

permanent link

answered 31 Jan '18, 04:17

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

Your answer
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:

×65

question asked: 30 Jan '18, 17:22

question was seen: 1,348 times

last updated: 21 Feb '18, 12:47

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