Closed Smo-RBR closed 2 years ago
You have a linestring in your WKT, what do you want to do with it ? To query all objects along this line ? Is this line an OSM object you want to download ? Do you want to download all objects crossing this line ? Similar to https://gis.stackexchange.com/questions/430706/osm-overpass-query-along-track-from-qgis ?
but get no results.
What do you mean by "no results" ? Where did you write this WKT ? What was the query ?
For now, only point WKT is accepted in the "Around" query, that's it.
I wanted to download features on and on a given distance to this line. Wrote this WKT in the „Around“ field of quick search. Got this WKT from Get WKT plugin in Qgis.
But if this only works for points, Iam will do a feature request instead.
You can provide a line to the Overpass API, check the answer on stackexchange about the OQL : https://gis.stackexchange.com/questions/430706/osm-overpass-query-along-track-from-qgis
Yes, but Quick OSM will make this much easier, and more accessible for much more people.
@Gustry - I think what @Kettenknecht means is that it would be a cool feature if Linestrings would be accepted as input in the Quick Query, not only Points. Can you give me a hint where to start in the code? Maybe I can provide a Pull Request. (I am one of the guys answering here)
A feature request has been opened about bounding box along a linestring : #404
Maybe you should answer in the ticket what you would like to implement ? Do you want to use a WKT as input or a line selection ?
I use the following WKT string which i got from Get WKT plugin:
LineString Z (334319.02859345066826791 6014556.82625378202646971 -2.25, 340101.78728329291334376 6010823.67886879481375217 -0.75, 341164.81540330639109015 6006728.83843348454684019 0, 347616.77078071306459606 5998202.71906793117523193 -0.25, 346240.36355550971347839 5995850.37170865200459957 2, 339212.78719834098592401 5993342.13583562988787889 2.75, 327740.97193577291909605 5983108.162149703130126 10.25, 324654.46150872344151139 5978220.56847832445055246 10, 325348.9655216340906918 5974204.96725072897970676 17.5)
but get no results.What i'am doing wrong? :)