mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 18:34:02 +00:00
address review findings on voice outlines
- remove the unused Nominatim reserve(); spacing tests now measure the actual transport start across processes - start each queued building's 2 s ground-sampling budget when it reaches the head of the queue, and request a frame on promotion - accept Nominatim and grounds outlines that cross the antimeridian - let an unnamed school, university, hospital, cemetery, stadium or zoo area answer a grounds ask whose head noun names that kind, using only the part that holds the point; compare grounds names symmetrically - charge shared OpenFreeMap consumers their own slice and keep the charged budget at the previous 64 MiB - share one place-name fold, point-in-polygon, line stitching and nextTask helper instead of duplicates - exclude Who's On First sources licensed only as "CC BY (equivalent)" or "CC0 (equivalent)"; rebuild the pack from the pinned archives - whole-word neighbourhood alias guard; correct the outline size-limit comment - restore DATA_SOURCES.md table formatting, keeping only real edits - test behaviour instead of private engine fields
This commit is contained in:
1 parent
5a1cfa6800
commit
2e82425d62
37 files changed
+921
-481
No files matched your search
@@ -301,7 +301,8 @@ def licence_label(key, source):
|
||||
|
||||
def exclusion_note():
|
||||
groups = ', '.join(f'{rule["count"]} `{key}` records' for key, rule in RECORD_EXCLUSIONS['sources'].items())
|
||||
return f'This derived pack excludes {groups}. {RECORD_EXCLUSIONS["reason"]} Original upstream notices remain unchanged.'
|
||||
lead = f'This derived pack excludes {groups}. ' if groups else ''
|
||||
return f'{lead}{RECORD_EXCLUSIONS["reason"]} Original upstream notices remain unchanged.'
|
||||
|
||||
|
||||
def attribution(counts, lookup):
|
||||
@@ -330,6 +331,8 @@ def attribution(counts, lookup):
|
||||
context = f'{v["context"]}: ' if v.get('context') else ''
|
||||
lines.append(f'- {context}{v.get("source_name", "")}{note} {v.get("source_link", "")}'.rstrip())
|
||||
lines.append('')
|
||||
while lines[-1] == '':
|
||||
lines.pop()
|
||||
lines += ['', '## Source-specific exclusions', '', exclusion_note()]
|
||||
return '\n'.join(lines).rstrip() + '\n'
|
||||
|
||||
|
||||
@@ -334,7 +334,8 @@
|
||||
"server/providers/regional/nominatimCache.js",
|
||||
"server/providers/regional/outlineSelect.js",
|
||||
"src/localRequestGate.mjs",
|
||||
"src/data/adminBoundaries.js"
|
||||
"src/data/adminBoundaries.js",
|
||||
"src/data/placeNames.js"
|
||||
],
|
||||
"external": []
|
||||
},
|
||||
@@ -2822,6 +2823,7 @@
|
||||
"src/sources/openFreeMapOutlines.js",
|
||||
"src/sources/nominatimOutlines.js",
|
||||
"src/data/placeBoundaries.js",
|
||||
"src/data/placeNames.js",
|
||||
"src/data/local_data/us_census_places/files.js",
|
||||
"src/data/local_data/wof_neighborhoods/files.js"
|
||||
],
|
||||
@@ -3412,6 +3414,7 @@
|
||||
"src/sources/openFreeMapOutlines.js",
|
||||
"src/sources/nominatimOutlines.js",
|
||||
"src/data/placeBoundaries.js",
|
||||
"src/data/placeNames.js",
|
||||
"src/data/local_data/us_census_places/files.js",
|
||||
"src/data/local_data/wof_neighborhoods/files.js"
|
||||
],
|
||||
@@ -3494,6 +3497,7 @@
|
||||
"src/sources/openFreeMapOutlines.js",
|
||||
"src/sources/nominatimOutlines.js",
|
||||
"src/data/placeBoundaries.js",
|
||||
"src/data/placeNames.js",
|
||||
"src/data/local_data/us_census_places/files.js",
|
||||
"src/data/local_data/wof_neighborhoods/files.js"
|
||||
],
|
||||
|
||||
@@ -12,14 +12,12 @@
|
||||
"licenses": [
|
||||
"Attribution 3.0 Unported",
|
||||
"CC BY",
|
||||
"CC BY (equivalent)",
|
||||
"CC BY 2.0",
|
||||
"CC BY 3.0",
|
||||
"CC BY 3.0 US",
|
||||
"CC BY 4.0",
|
||||
"CC-BY",
|
||||
"CC0",
|
||||
"CC0 (equivalent)",
|
||||
"CC0 1.0 Universal",
|
||||
"ODC-By, v1.0",
|
||||
"ODC-By v1.0",
|
||||
@@ -41,42 +39,13 @@
|
||||
"Singapore Open Data Licence v1"
|
||||
],
|
||||
"recordExclusions": {
|
||||
"reason": "Original source-specific redistribution terms have not been established for these records in this derived pack.",
|
||||
"reason": "Sources whose pinned registry licence is only an \"equivalent\" designation (for example \"CC BY (equivalent)\" or \"CC0 (equivalent)\"), including can-ons, can-saskodp, can-gatsudd and esp-aytomad, are not admitted: their redistribution terms have not been established for this derived pack.",
|
||||
"archives": {
|
||||
"neighbourhood": "8e5e413aacf2244e4e4167fbd9be860bc407ae6de8b733e47f13abe6d3d10455",
|
||||
"macrohood": "f5fbfabcb8229b83242dbd38530c27e61867e8b3b097e3393d9c841962a99679",
|
||||
"microhood": "e8197fa576e8831be8f091ac7e219d29224d89404ab0c56d377339e42a8f29ac"
|
||||
},
|
||||
"registrySha256": "d8a5dd873d26eee11583de4438185c046dec33848d5bde27047ca4bff44d9c39",
|
||||
"sources": {
|
||||
"can-ons": {
|
||||
"count": 36,
|
||||
"ids": [
|
||||
85874435, 85874449, 85874467, 420782209, 420782213, 420782221,
|
||||
420782223, 420782233, 1108978003, 1108978007, 1108978009, 1108978013,
|
||||
1108978037, 1108978041, 1108978055, 1108978063, 1108978067,
|
||||
1108978075, 1108978077, 1108978091, 1108978097, 1108978105,
|
||||
1108978109, 1108978115, 1108978127, 1108978129, 1108978131,
|
||||
1108978133, 1108978135, 1108978139, 1108978141, 1108978143,
|
||||
1108978147, 1108978167, 1108978175, 1108978187
|
||||
]
|
||||
},
|
||||
"can-saskodp": {
|
||||
"count": 54,
|
||||
"ids": [
|
||||
1126113991, 1126113995, 1126113997, 1126113999, 1126114003,
|
||||
1126114007, 1126114009, 1126114013, 1126114015, 1126114017,
|
||||
1126114019, 1126114023, 1126114025, 1126114027, 1126114031,
|
||||
1126114033, 1126114035, 1126114037, 1126114039, 1126114043,
|
||||
1126114045, 1126114049, 1126114055, 1126114057, 1126114059,
|
||||
1126114061, 1126114063, 1126114067, 1126114069, 1126114071,
|
||||
1126114075, 1126114077, 1126114081, 1126114085, 1126114087,
|
||||
1126114089, 1126114093, 1126114095, 1126114097, 1126114105,
|
||||
1126114107, 1126114111, 1126114115, 1126114121, 1126114125,
|
||||
1126114127, 1126114129, 1126114131, 1126114135, 1126114141,
|
||||
1126114149, 1126114151, 1126114153, 1126114159
|
||||
]
|
||||
}
|
||||
}
|
||||
"sources": {}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user