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

Support reporting on user-defined areas of interest (non-rectangular) #71

Open
TylerRadford opened this issue Dec 29, 2015 · 12 comments
Open

Comments

@TylerRadford
Copy link

Would be great if we could report entirely within a single administrative boundary (or two or three). The ability to hand-draw an area of interest would also be a nice to have.

@bgirardot
Copy link

I came here to say the same thing :) Support for a .geojson to define the area would be great.

@timlinux
Copy link
Contributor

timlinux commented Mar 8, 2016

Thanks @bgirardot yes we will certainly do that - I can't give you an exact timeline as mostly we are working on this in our 20% 'hack for fun time'.

@bgirardot
Copy link

Oh nice, it is a very cool tool.

@timlinux
Copy link
Contributor

@TylerRadford We have been investigating this a bit here. I think the hand drawn boundary option might be tricky since overpass does not let you pass artibitrary geometries to ringfence queries - only bounding boxes or a reference to an existing admin area. We can dig in this some more to see if we have made any mis-interpretations of the data, but for now we propose to approach it by letting the user create named areas which can consist of 1 or more admin areas.

@TylerRadford
Copy link
Author

TylerRadford commented Mar 30, 2017 via email

@bgirardot
Copy link

Bounding box would be more useful than an OSM boundary. Support for both would be great, but we rarely are running projects based on admin boundaries.

@Gustry
Copy link
Contributor

Gustry commented Mar 30, 2017

Hum, it seems overpass has now an irregular option: http://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#Select_region_by_polygon

A triangle over Swellendam : http://overpass-turbo.eu/s/nUC

I don't know how big can be the polygon.

@timlinux
Copy link
Contributor

@bgirardot and @TylerRadford ok seems like @Gustry might have found a way to do it...lets see if it works for more complex queries...

@timlinux
Copy link
Contributor

timlinux commented Apr 9, 2017

@bgirardot and @TylerRadford sorry it is taking me a bit longer than expected - what do you think about basing the query on HOT projects like this:

qgis

I still need to wire up the logic for doing that. I will update the select widget for projects so that you can filter as you type to find the one you want.

@TylerRadford
Copy link
Author

TylerRadford commented Apr 10, 2017 via email

@timlinux
Copy link
Contributor

@TylerRadford Yeah I was planning to support three ways of selecting an area:

  • HOT Project area
  • User digitized area
  • User uploaded GeoJSON area

In time we could add more to suite other use cases

@TylerRadford
Copy link
Author

TylerRadford commented Apr 11, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants