-
Notifications
You must be signed in to change notification settings - Fork 34
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
Document geojson-format to create a challenge from #1951
Comments
Also see #1737 |
I agree this really needs attention... @ljdelight @jschwarz2030 do you know if it's possible to generate better swagger documentation with inline comments or should we go the route of adding a manually written page on learn.maproulette.org? |
I believe a new page on learn.maproulette.org would be better, since swagger has been difficult to scale to our documentation needs, especially when providing details on nested data objects and data types and sufficient context for our users with a range of engineering skills. Perhaps a good starting point would be a living document on hackmd. @pietervdvn since you're already creating a document, I can assist you if you're open to starting/managing this endeavor. to answer a few of your initial questions,
You can contact me on OSM slack as well |
There's a testChallenge object here https://github.com/osmlab/maproulette-java-client/blob/dev/src/test/resources/challenges/testChallenge.json but it isn't exhaustive |
Here is the list of challenge properties with their semantics if you are interested: Pls note that if may not work as expected if you try to add these properties via geojson, as they will get overridden by fields in create challenge form. |
Would it be possible to move it into some docs kept in repository? Not on some third party site where it may become deleted at any time? |
@matkoniecz Yeah, agreed. But as the list is relatively small, I'll copy-paste it below:
|
Is your feature request related to a problem? Please describe.
I'm documenting how to setup a guided import with MapRoulette and MapComplete. For this, the source data to import should be converted into a geojson that can be understood by MapRoulette and which is uploaded during the 'Create a new challenge flow'.
It is clear that, when supplying points, every point will be shown as task.
However, it is not clear to me which properties are allowed in the geojson. @rlin did a great job figuring out some of the allowed properties (e.g.
tags
andblurb
) but the precise semantixs are unclear.Some questions I have, for example, are:
tags
is a string of;
-separated values. Is this correct? What if a tag should have ; as value?tags
-property and I fill out thetags
-field in the form, will it ignore the properties in the file or rather work as fallback value if they are not set?Describe the solution you'd like
Ideally, learn.maproulette.org would have a page listing the possible properties and their precise semantics.
I didn't find a relevant page, despite searching around for a bit.
The text was updated successfully, but these errors were encountered: