Skip to content

Instantly share code, notes, and snippets.

@aaronlidman
Last active December 22, 2015 18:49
Show Gist options
  • Select an option

  • Save aaronlidman/6515737 to your computer and use it in GitHub Desktop.

Select an option

Save aaronlidman/6515737 to your computer and use it in GitHub Desktop.
{
title: 'Outline the park',
instructions: '\
<ul>\
<li>Outline the nearby park.</li>\
<li>Pay blahblahblah to the tags, especially the \'name\' tag.</li>\
<li>It\'s possible the data is out of date or just wrong; report problems accordingly.</li>\
<li>Yellow features are other OSM features there to help you. You can\'t edit them here but clicking them provides more information. If you know they\'re wrong, go to osm.org and fix them.</li>\
</ul>',
db: 'http://127.0.0.1:5000/?db=dedupeLAparks',
origin: [34.0577, -118.2409],
zoom: 10,
usePropertyAsTag: ['name'],
appendTag: {'leisure': 'park'},
context: {
leisure: ['park', 'nature_reserve', 'stadium', 'golf_course', 'dog_park'],
landuse: ['cemetery', 'farm', 'farmland', 'recreation_ground'],
amenity: ['college', 'kindergarten', 'school', 'university', 'grave_yard', 'library', 'town_hall']
},
problems: ['no park here', 'already mapped', 'imagery too poor', 'too difficult'],
region: {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-119.080810546875,
33.669496972795535
],
[
-119.080810546875,
34.858890491257824
],
[
-117.630615234375,
34.858890491257824
],
[
-117.630615234375,
33.669496972795535
],
[
-119.080810546875,
33.669496972795535
]
]
]
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment