Skip to content

Commit

Permalink
add service module for querying streetview suggestions (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoxm authored Dec 16, 2020
1 parent 803b904 commit bc9e88e
Show file tree
Hide file tree
Showing 6 changed files with 553 additions and 14 deletions.
5 changes: 4 additions & 1 deletion data/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,9 @@ en:
msBuildings:
label: Microsoft Buildings
license_markdown: "[license](https://github.com/microsoft/USBuildingFootprints/blob/master/LICENCE-DATA)"
fbSidewalks:
label: Facebook Sidewalk Suggestions
license_markdown: "[license](https://mapwith.ai/doc/license/MapWithAILicense.pdf)"
esri:
title: ArcGIS Datasets
about: "These datasets have been provided as open data by the ArcGIS user community for the purpose of improving OpenStreetMap.<br/>You can learn more by visiting [the RapiD Guide](https://github.com/facebookmicrosites/Open-Mapping-At-Facebook/wiki/Esri-ArcGIS-FAQ) or [Esri/ArcGIS dataset page on the OSM Wiki](https://wiki.openstreetmap.org/wiki/Esri/ArcGIS_Datasets)."
Expand Down Expand Up @@ -2361,4 +2364,4 @@ en:
wikidata:
identifier: "Identifier"
label: "Label"
description: "Description"
description: "Description"
13 changes: 5 additions & 8 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,10 @@
"label": "Microsoft Buildings",
"license_markdown": "[license](https://github.com/microsoft/USBuildingFootprints/blob/master/LICENCE-DATA)"
},
"fbSidewalks": {
"label": "Facebook Sidewalk Suggestions",
"license_markdown": "[license](https://mapwith.ai/doc/license/MapWithAILicense.pdf)"
},
"esri": {
"title": "ArcGIS Datasets",
"about": "These datasets have been provided as open data by the ArcGIS user community for the purpose of improving OpenStreetMap.<br/>You can learn more by visiting [the RapiD Guide](https://github.com/facebookmicrosites/Open-Mapping-At-Facebook/wiki/Esri-ArcGIS-FAQ) or [Esri/ArcGIS dataset page on the OSM Wiki](https://wiki.openstreetmap.org/wiki/Esri/ArcGIS_Datasets).",
Expand Down Expand Up @@ -10879,7 +10883,7 @@
"attribution": {
"text": "GSI KIBAN 2500"
},
"description": "GSI Kiban 2500 via aginfo.cgk.affrc.go.jp. Good for tracing, but a bit older.",
"description": "GSI Kiban 2500 via finds.jp. Good for tracing, but a bit older.",
"name": "Japan GSI KIBAN 2500"
},
"gothenburg-citymap": {
Expand Down Expand Up @@ -11072,13 +11076,6 @@
"description": "Orthophotos from the municipality of Stockholm 2016, CC0 license",
"name": "Stockholm Orthophoto"
},
"susono_shizuoka_jp_orthophoto": {
"attribution": {
"text": "Susono city orthophoto"
},
"description": "The aerial photos released by Susono City as open data.",
"name": "Susono city orthophoto"
},
"tf-cycle": {
"attribution": {
"text": "Maps © Thunderforest, Data © OpenStreetMap contributors"
Expand Down
15 changes: 13 additions & 2 deletions modules/core/rapid_context.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function coreRapidContext(context) {
id: 'fbRoads',
beta: false,
added: true, // whether it should appear in the list
enabled: true, // whether the user has checked it on
enabled: false, // whether the user has checked it on
conflated: true,
service: 'fbml',
color: RAPID_MAGENTA,
Expand All @@ -121,12 +121,23 @@ export function coreRapidContext(context) {
id: 'msBuildings',
beta: false,
added: true, // whether it should appear in the list
enabled: true, // whether the user has checked it on
enabled: false, // whether the user has checked it on
conflated: true,
service: 'fbml',
color: RAPID_MAGENTA,
label: t('rapid_feature_toggle.msBuildings.label'),
license_markdown: t('rapid_feature_toggle.msBuildings.license_markdown')
},
'fbSidewalks': {
id: 'fbSidewalks',
beta: true,
added: true, // whether it should appear in the list
enabled: true, // whether the user has checked it on
conflated: true,
service: 'fbml_streetview',
color: RAPID_MAGENTA,
label: t('rapid_feature_toggle.fbSidewalks.label'),
license_markdown: t('rapid_feature_toggle.fbSidewalks.license_markdown')
}
};
});
Expand Down
Loading

0 comments on commit bc9e88e

Please sign in to comment.