{ "id": "velopark", "title": { "en": "Velopark to OpenStreetMap synchronisation tool", "nl": "Velopark naar OpenStreetMap sync tool" }, "mustHaveLanguage": [ "nl", "en" ], "description": { "en": "

Velopark.be is a website collecting data about bicycle parkings in a semi-crowdsourced way. However, only 'authorized' instances are allowed to make changes there, in practice the operator of the bicycle parking such as SNCB, de Lijn or the municipality. They have now decided to synchronize their dataset with OpenStreetMap, and this MapComplete-instance is set up to help link and import their data into OpenStreetMap.

How to use: That's it! Thanks for helping to import this!", "nl": "

Velopark.be is een website die data verzamelt over fietsenstallingen in een semi-crowdsource manier. Hierbij kunnen enkel geautorizeerde gebruikers data bijdragen, in de praktijk de uitbaters van de fietsenstallingen zoals de bevoegde gemeentebesturen, de NMBS of de Lijn. Velopark.be heeft nu beslist om hun data met OpenStreetMap te synchronizeren. Deze website is de tool om van Velopark.be naar OpenStreetMap te gaan en hun data te importeren.

Hoe te gebruiken? Dat is het! Bedankt om mee te helpen!" }, "shortDescription": { "en": "A tool to import data from velopark.be into OpenStreetMap", "nl": "Een hulpmiddel om data van velopark.be in OpenStreetMap in te laden" }, "descriptionTail": { "*": "

Maintainer tools

" }, "icon": "./assets/themes/velopark/velopark.svg", "startZoom": 18, "startLat": 51.03753, "startLon": 3.71025, "defaultBackgroundId": "photo", "hideFromOverview": true, "layers": [ { "id": "velopark_maproulette", "description": "Maproulette challenge containing velopark data", "source": { "osmTags": "mr_taskId~*", "geoJson": "https://maproulette.org/api/v2/challenge/view/43282" }, "title": { "render": "Velopark parking {mr_velopark_id}" }, "name": { "en": "Velopark data", "nl": "Velopark data" }, "titleIcons": [ { "id": "maproulette", "render": "" } ], "tagRenderings": [ { "id": "velopark-link", "render": { "special": { "type": "link", "href": "https://www.velopark.be/static/data/{mr_velopark_id}", "text": { "en": "See on velopark (webpage)", "nl": "Bekijk op Velopark (webpagina)" } }, "before": { "en": "This is data from Velopark. ", "nl": "Dit datapunt komt van Velopark" } } }, { "id": "login", "render": { "special": { "type": "login_button" } } }, { "id": "show-data-velopark", "render": { "special": { "type": "linked_data_from_website", "key": "ref:velopark", "useProxy": "no", "host": "https://data.velopark.be", "mode": "readonly" } } }, { "id": "closest_parkings", "render": { "en": "

Nearby parkings

There are {_nearby_bicycle_parkings:count} bicycle parkings within 25m known in OpenStreetMap.", "nl": "

Parkings in de buurt

Er zijn {_nearby_bicycle_parkings:count} fietsparkings gekend binnen 25m in OpenStreetMap." } }, { "id": "list_nearby_bike_parkings", "render": { "before": { "en": "Choose below which bicycle parking you want to link. This will not apply the attributes.", "nl": "Kies hieronder welke fietsenstalling je wilt linken. Dit zal de attributen niet kopieren." }, "special": { "type": "multi", "key": "_nearby_bicycle_parkings:props", "classes": "p-2 m-1 my-4 border-2 border-dashed border-black", "tagrendering": "{id} ({_distance}m, {_velopark:id}) {minimap(20,id,_mr_id)} {tag_apply(ref:velopark=$_ref,Link this object.,link,id,_mr_id)}" } } }, { "id": "title_create_new", "render": { "en": "

Add a parking to OpenStreetMap

Use this if the bicycle parking is missing in OpenStreetMap (there is no blue or green pin)", "nl": "

Parking toevoegen aan OpenStreetMap

Gebruik dit als er nog geen blauwe of groene parkeerplaats-pin staat op de juiste plaats." } }, { "id": "import_point", "render": { "special": { "type": "import_button", "targetLayer": "bike_parking_with_velopark_ref bike_parking", "tags": "amenity=bicycle_parking;ref:velopark=$ref:velopark", "text": { "en": "Create a new bicycle parking in OSM. This parking will have the link, but not all attributes", "nl": "Maak een nieuwe parking aan in OSM. Deze parking zal gelinkt zijn met Velopark, maar niet de attributen bevatten" }, "maproulette_id": "mr_taskId" } } }, { "id": "title_manually_copy", "render": { "en": "

Manually link

Does the bicycle parking exist in OpenStreetMap but is it further then 25m away? Then:
  1. Copy the following URL: {ref:velopark}
  2. Select the correct bicycle parking on the map
  3. Paste the URL into the question What is the URL of the data path in Velopark?
  4. Mark this item as handled with the button below:
  5. ", "nl": "

    Manueel linken

    " } }, { "id": "close_mr", "render": { "special": { "type": "maproulette_set_status", "message": { "en": "Mark this item as linked manually. Use this if you did apply the reference via copy-paste or via another editor", "nl": "Markeer als gelinkt. Gebruik deze optie indien je de ID plakte in een fietsenstalling of via een andere editor toevoegd" }, "status": 1 } } }, { "id": "title_error", "render": { "en": "

    Closing without importing or linking

    ", "nl": "

    Afsluiten zonder importeren of linken

    " } }, { "id": "close_mr_incorrect", "render": { "special": { "type": "maproulette_set_status", "message": { "en": "Mark this item as incorrect or too hard to solve (duplicate, does not exist anymore, contradictory data, not placeable from aerial imagery)", "nl": "Markeer dit object als incorrecte velopark data of te moeillijk (duplicaat, incorrect of tegenstrijdige data, niet eenduidig te plaatsen adhv luchtfoto's, ...)" }, "image": "invalid", "status": 6, "ask_feedback": { "en": "Is this point incorrect or is it difficult to solve? Please provide some feedback below", "nl": "Is dit punt foutief of te moeilijk? Gelieve wat feedback te geven" } } } }, { "id": "title_debug", "render": { "en": "

    Extra information

    ", "nl": "

    Extra informatie

    " } }, { "id": "velopark-data-link", "render": { "special": { "type": "link", "href": "{ref:velopark}", "text": "Inspect raw data on velopark.be" } } }, "{nearby_images(open,readonly)}" ], "lineRendering": [], "filter": [ { "id": "created-only", "options": [ { "question": { "en": "Only unfinished tasks", "nl": "Enkel onafgewerkte taken" }, "osmTags": "mr_taskStatus=Created", "default": true } ] }, { "id": "too-hard-only", "options": [ { "question": { "en": "Only too-hard tasks", "nl": "Enkel foutieve taken" }, "osmTags": "mr_taskStatus=Too_hard" } ] } ], "calculatedTags": [ "mr_velopark_id=feat.properties['ref:velopark']?.split('/')?.at(-1)", "_nearby_bicycle_parkings=closestn(feat)(['bike_parking','bike_parking_with_velopark_ref'], 100, undefined, 25)", "_nearby_bicycle_parkings:count=get(feat)('_nearby_bicycle_parkings').length", "_nearby_bicycle_parkings:props=get(feat)('_nearby_bicycle_parkings').map(f => ({_distance: Math.round(f.distance), _ref: feat.properties['ref:velopark'], _mr_id: feat.properties.id, '_velopark:id': (f.feat.properties['_velopark:id'] ?? 'unlinked') /*Explicit copy to trigger lazy loading*/, ...f.feat.properties}))" ], "pointRendering": [ { "location": [ "point", "centroid" ], "marker": [ { "icon": "square_rounded", "color": "#ffffff88" }, { "icon": "./assets/themes/velopark/velopark.svg" } ], "iconSize": "40,40", "anchor": "bottom", "iconBadges": [ { "if": "mr_taskStatus=Too_Hard", "then": "invalid" }, { "if": "mr_taskStatus=Fixed", "then": "confirm" } ] } ] }, { "builtin": [ "bike_parking" ], "hideTagRenderingsWithLabels": [ "images", "leftover-questions" ], "override": { "id": "bike_parking_with_velopark_ref", "=presets": [], "=name": { "en": "Bicycle parkings with velopark ID", "nl": "Fietsparking met Velopark-referentie" }, "source": { "osmTags": { "and+": [ "ref:velopark~*" ] } }, "calculatedTags": [ "_velopark:id=feat.properties['ref:velopark'].substr(feat.properties['ref:velopark'].lastIndexOf('/') + 1)" ], "pointRendering": [ { "marker": [ { "color": "#2cf200" } ] } ], "=titleIcons": [ { "condition": "_velopark:id~*", "render": "" }, "icons.defaults" ], "minzoom": 8, "filter+": [ { "id": "last_edited_before", "options": [ { "question": { "en": "Last edit was before {date}", "nl": "Laatste aanpassing voor {date}" }, "osmTags": "_last_edit:timestamp<{date}", "fields": [ { "name": "date", "type": "date" } ] } ] } ], "+tagRenderings": [ "questions" ], "tagRenderings+": [ "images" ] } }, { "builtin": [ "bike_parking" ], "hideTagRenderingsWithLabels": [ "images", "leftover-questions" ], "override": { "doCount": false, "minzoom": 14, "+tagRenderings": [ "questions" ], "tagRenderings+": [ "images" ] } }, { "builtin": [ "toilet", "bike_repair_station", "bicycle_rental" ], "hideTagRenderingsWithLabels": [ "leftover-questions" ], "override": { "+tagRenderings": [ "questions" ], "doCount": false, "minzoom": 18 } } ], "overrideAll": { "popupInFloatover": "title", "+tagRenderings": [ { "id": "velopark-ref", "condition": { "and": [ "amenity=bicycle_parking" ] }, "freeform": { "key": "ref:velopark", "inline": false, "type": "velopark" }, "question": { "en": "What is the URL of the data path within Velopark?", "nl": "Wat is de data-url van deze fietsenstalling in Velopark.be?" }, "icon": { "path": "./assets/themes/velopark/velopark.svg", "class": "medium" }, "classes": "flex w-full ", "render": { "special": { "type": "link", "href": "{ref:velopark}", "text": "{ref:velopark}" }, "before": { "en": "This bicycle parking is on OpenStreetMap and is linked to Velopark:", "nl": "Deze fietsenstalling staat op OpenStreetMap en is gelinkt naar Velopark:" } } }, { "id": "comparison_tool", "condition": { "and": [ "ref:velopark~https://data.velopark.be/data/.*", "id!~.*maproulette.org/.*" ] }, "render": { "special": { "type": "linked_data_from_website", "key": "ref:velopark", "useProxy": "no", "host": "https://data.velopark.be" } } } ] }, "lockLocation": [ [ 2.51357303225, 49.5294835476 ], [ 6.15665815596, 51.4750237087 ] ], "enableNoteImports": false }