Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use WKT in Quick query? #403

Closed
Smo-RBR opened this issue May 9, 2022 · 6 comments
Closed

How to use WKT in Quick query? #403

Smo-RBR opened this issue May 9, 2022 · 6 comments
Labels
feedbacks The bug is unclear and feedbacks are needed

Comments

@Smo-RBR
Copy link

Smo-RBR commented May 9, 2022

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? :)

@Gustry
Copy link
Member

Gustry commented May 9, 2022

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.

@Gustry Gustry added the feedbacks The bug is unclear and feedbacks are needed label May 9, 2022
@Smo-RBR
Copy link
Author

Smo-RBR commented May 9, 2022

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.

@Gustry
Copy link
Member

Gustry commented May 9, 2022

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

@Gustry Gustry closed this as completed May 9, 2022
@Smo-RBR
Copy link
Author

Smo-RBR commented May 9, 2022

Yes, but Quick OSM will make this much easier, and more accessible for much more people.

@bloigge
Copy link

bloigge commented May 12, 2022

@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)

image

@Gustry
Copy link
Member

Gustry commented May 12, 2022

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedbacks The bug is unclear and feedbacks are needed
Projects
None yet
Development

No branches or pull requests

3 participants