forked from MapComplete/MapComplete
Fix #1594
This commit is contained in:
parent
d283231f85
commit
42c1cf5d93
2 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,8 @@
|
|||
"#": "We select all bicycle shops, sports shops (but we try to weed out non-bicycle related shops), and any shop with a bicycle related tag",
|
||||
"or": [
|
||||
"shop=bicycle",
|
||||
"service:bicycle:retail=yes",
|
||||
"service:bicycle:repair=yes",
|
||||
{
|
||||
"#": "if sport is defined and is not bicycle, it is not matched; if bicycle retail/repair is marked as 'no', it is not shown to too.",
|
||||
"##": "There will be a few false-positives with this. They will get filtered out by people marking both 'not selling bikes' and 'not repairing bikes'. Furthermore, the OSMers will add a sports-subcategory on it",
|
||||
|
|
|
@ -1990,6 +1990,9 @@ export class ValidateThemeEnsemble extends Conversion<
|
|||
>()
|
||||
|
||||
for (const theme of json) {
|
||||
if(theme.id === "personal"){
|
||||
continue
|
||||
}
|
||||
for (const layer of theme.layers) {
|
||||
if (typeof layer.source === "string") {
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue