Open ebrelsford opened 9 years ago
Let me know if / how I can help with the MapRoulette integration!
On Wed Nov 19 2014 at 9:30:56 PM Eric Brelsford notifications@github.com wrote:
This seems like the easiest MapRoulette challenge to start with. Each task would be a line segment that is in the city's data but not OSM. Mappers will have to decide whether to include the line and how it should be tagged.
- GeoJSON file of the individual "tasks".
- Detailed guideline translating city bike lane data into OSM data.
- Language describing the challenge https://gist.github.com/mvexel/b5ad1cb0c91ac245ea3f#step-2---preparing-your-challenge .
- Attempt to upload the challenge https://gist.github.com/mvexel/b5ad1cb0c91ac245ea3f#step-4---testing-your-challenge .
— Reply to this email directly or view it on GitHub https://github.com/osmlab/nycbikelanes/issues/1.
I can help out if needed! & happy to do so.
Martijn van Exel
On Sat, Feb 21, 2015 at 11:26 AM -0800, "Eric Brelsford" notifications@github.com wrote:
There are some handy slides and scripts that should help with this.
— Reply to this email directly or view it on GitHub.
Thanks Martijn!
@mvexel We're getting very close to posting our first challenge using maproulette-loader! One question that has come up (and apologies if this is already documented somewhere) is the location
field on tasks. Is this automatically set using the populate_task_location
command on the server, or is there something that should be done via the API to make this happen?
As of 9e2fe7757 we are pretty set for getting the data into MapRoulette!
@clhenrick We should work together on making "instruction" strings for each feature that are really descriptive. Instructions can be specified for each feature and go here in MapRoulette:
We just have to expand this function a bit and probably use some of Colin's advice in #2.
Also, @mvexel, we're trying to upload tasks using maproulette-loader
to dev.maproulette.org. This works fine locally, but when we try on dev we always get 502s (Bad Gateway). We can POST individual tasks fine to dev, but bulk task uploads always give a 502. We've tried with relatively small files, so we're pretty sure it's not a filesize thing. Do we need to tunnel into dev, or is there something else going on?
Any thoughts on the above comments, @mvexel @emacsen ?
@ebrelsford Thanks for reminding me.
Your approach is correct, so I need to see what's going on. Can you send me a test file so I can mess around with it a little bit?
Excited that you're doing a MapRoulette challenge!
Thanks @mvexel we're excited too! Here's a quick two-liner with an example request that gets a 502 when "bulk" POSTing a single task. I can send you the whole file if you're interested.
REQUEST='[{"instruction": "Add this class III bike lane", "geometries": {"type": "FeatureCollection", "features": [{"geometry": {"type": "LineString", "coordinates": [[-73.89539380373947, 40.70313021420821], [-73.89520165688896, 40.70259268566495]]}, "type": "Feature", "id": 49019, "properties": {"segmentid": 49019, "facilitycl": "III", "allclasses": "III"}}]},"identifier": "nycbikelanes-49019-test2"}]'
curl -X POST -H "Content-Type: application/json" -d "$REQUEST" http://dev.maproulette.org/api/admin/challenge/nycbikelanes/tasks
Thanks so much for looking into it! Can't wait to get it on dev so we can get a better idea of what to put in the instructions for each task.
@mvexel any thoughts? If you're not going to have a chance to look at this I might shift gears to posting the tasks one-by-one since it looks like that works.
This seems like the easiest MapRoulette challenge to start with. Each task would be a line segment that is in the city's data but not OSM. Mappers will have to decide whether to include the line and how it should be tagged.