|
|
|
@@ -1121,7 +1121,29 @@ const attributionData = { |
|
|
|
prefix: "./media/buildings/road-markings/", |
|
|
|
files: [ |
|
|
|
{ name: "compact-parking-space.svg", source: null }, |
|
|
|
], |
|
|
|
authors: [ |
|
|
|
"chemicalcrux" |
|
|
|
], |
|
|
|
citations: [ |
|
|
|
"https://www.cityofalbany.net/images/stories/planning/development_code/09-Article%209-On-Site%20Development%20and%20Environmental%20Standards.pdf" |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
prefix: "./media/buildings/road-markings/", |
|
|
|
files: [ |
|
|
|
{ name: "crosswalk.svg", source: null }, |
|
|
|
], |
|
|
|
authors: [ |
|
|
|
"chemicalcrux" |
|
|
|
], |
|
|
|
citations: [ |
|
|
|
"https://gis.penndot.gov/BPR_PDF_FILES/Documents/LTAP/TechSheets/TS_193.pdf" |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
prefix: "./media/buildings/road-markings/", |
|
|
|
files: [ |
|
|
|
{ name: "line.svg", source: null }, |
|
|
|
{ name: "broken-line.svg", source: null }, |
|
|
|
{ name: "dotted-line.svg", source: null }, |
|
|
|
@@ -1129,6 +1151,9 @@ const attributionData = { |
|
|
|
authors: [ |
|
|
|
"chemicalcrux" |
|
|
|
], |
|
|
|
citations: [ |
|
|
|
"https://mutcd.fhwa.dot.gov/pdfs/2003/Ch3.pdf" |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
prefix: "./media/buildings/skyscrapers/", |
|
|
|
@@ -21246,6 +21271,7 @@ function prepareAttribution() { |
|
|
|
attribution.prefixes[citation.prefix] = { |
|
|
|
authors: citation.authors, |
|
|
|
owners: citation.owners, |
|
|
|
citations: citation.citations, |
|
|
|
source: citation.all |
|
|
|
} |
|
|
|
} else { |
|
|
|
@@ -21253,6 +21279,7 @@ function prepareAttribution() { |
|
|
|
attribution.files[citation.prefix + file.name] = { |
|
|
|
authors: citation.authors, |
|
|
|
owners: citation.owners, |
|
|
|
citations: citation.citations, |
|
|
|
source: file.source, |
|
|
|
nsfw: file.nsfw |
|
|
|
} |
|
|
|
@@ -21353,6 +21380,23 @@ function ownersOfFull(file) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
function citationsOf(file) { |
|
|
|
if (attribution.files[file]) |
|
|
|
return attribution.files[file].citations; |
|
|
|
else { |
|
|
|
const found = attribution.prefixes[Object.keys(attribution.prefixes).find(path => { |
|
|
|
return (file.indexOf(path) == 0); |
|
|
|
})]; |
|
|
|
|
|
|
|
|
|
|
|
if (found === undefined) { |
|
|
|
return undefined; |
|
|
|
} else { |
|
|
|
return found.citations; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
function sourceOf(file) { |
|
|
|
if (attribution.files[file]) |
|
|
|
return attribution.files[file].source; |
|
|
|
|