kartoza / osm-reporter

osm-reporter
GNU General Public License v3.0
19 stars 17 forks source link

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

Open TylerRadford opened 8 years ago

TylerRadford commented 8 years ago

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 commented 8 years ago

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

timlinux commented 8 years ago

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 commented 8 years ago

Oh nice, it is a very cool tool.

timlinux commented 7 years ago

@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 commented 7 years ago

Thanks Tim. So I guess Tasking Manager project regions are out as well unless they align with an osm boundary. Osm boundary would be a helpful start.

On Mar 30, 2017 2:40 PM, "Tim Sutton" notifications@github.com wrote:

@TylerRadford https://github.com/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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kartoza/osm-reporter/issues/71#issuecomment-290398204, or mute the thread https://github.com/notifications/unsubscribe-auth/AJZbz6wobUhRm7ziq747eOWDEs23DoYQks5rq6KhgaJpZM4G8bFo .

bgirardot commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

@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 commented 7 years ago

Tim that will be great although for some large efforts like the one we have underway for Malaria elimination in Zimbabwe, Zambia etc. there are huge #s of projects created - somewhere between 300-500 projects. We ideally need to go "bigger" than an individual project. @bgirardot could provide more details

Tyler Radford Executive Director tyler.radford@hotosm.org @TylerSRadford

Humanitarian OpenStreetMap Team Using OpenStreetMap for Humanitarian Response & Economic Development web http://hotosm.org/ | twitter https://twitter.com/hotosm | facebook https://www.facebook.com/hotosm | donate http://donate.hotosm.org/

On Mon, Apr 10, 2017 at 5:02 AM, Tim Sutton notifications@github.com wrote:

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

[image: qgis] https://cloud.githubusercontent.com/assets/178003/24841265/dd180902-1d80-11e7-9b44-edbda40a7dcd.gif

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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kartoza/osm-reporter/issues/71#issuecomment-292816762, or mute the thread https://github.com/notifications/unsubscribe-auth/AJZbz8WPMjSWXstxh79UYEhWF7NpmtbQks5ruVVqgaJpZM4G8bFo .

timlinux commented 7 years ago

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

In time we could add more to suite other use cases

TylerRadford commented 7 years ago

Fantastic

Tyler Radford Executive Director tyler.radford@hotosm.org @TylerSRadford

Humanitarian OpenStreetMap Team Using OpenStreetMap for Humanitarian Response & Economic Development web http://hotosm.org/ | twitter https://twitter.com/hotosm | facebook https://www.facebook.com/hotosm | donate http://donate.hotosm.org/

On Tue, Apr 11, 2017 at 8:18 PM, Tim Sutton notifications@github.com wrote:

@TylerRadford https://github.com/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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kartoza/osm-reporter/issues/71#issuecomment-293259101, or mute the thread https://github.com/notifications/unsubscribe-auth/AJZbz4G5PlcLipH7eOka3L7MDok_Xxocks5ru327gaJpZM4G8bFo .