@kahwee/sf-map-svg 0.3.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -3
- package/LICENSE +23 -4
- package/README.md +267 -74
- package/SOURCES.md +4 -0
- package/{data → dist/data}/README.md +2 -1
- package/dist/data/bart-stations.json +134 -0
- package/dist/data/catalog.json +4718 -0
- package/dist/data/coast.json +36 -0
- package/dist/data/districts-2002.json +325 -0
- package/dist/data/districts-2012.json +325 -0
- package/dist/data/districts-2022.json +325 -0
- package/dist/data/highways.json +4138 -0
- package/dist/data/index.d.ts +26 -0
- package/{data → dist/data}/index.js +37 -39
- package/dist/data/key-roads.json +12662 -0
- package/dist/data/landmarks.json +167 -0
- package/dist/data/neighborhoods-analysis.json +817 -0
- package/dist/data/neighborhoods-realtor.json +1978 -0
- package/dist/data/neighborhoods.json +2267 -0
- package/dist/data/types.d.ts +117 -0
- package/dist/data/types.js +1 -0
- package/dist/src/data.d.ts +25 -0
- package/{src → dist/src}/data.js +17 -20
- package/dist/src/explorer-layout.d.ts +23 -0
- package/dist/src/explorer-layout.js +72 -0
- package/dist/src/explorer.d.ts +4 -0
- package/dist/src/explorer.js +961 -0
- package/dist/src/geometry.d.ts +5 -0
- package/dist/src/geometry.js +53 -0
- package/dist/src/immutable.d.ts +2 -0
- package/dist/src/immutable.js +9 -0
- package/dist/src/index.d.ts +13 -0
- package/dist/src/index.js +125 -0
- package/dist/src/interactive.d.ts +4 -0
- package/dist/src/interactive.js +5 -0
- package/dist/src/layers.d.ts +36 -0
- package/dist/src/layers.js +64 -0
- package/dist/src/navigation.d.ts +6 -0
- package/dist/src/navigation.js +145 -0
- package/dist/src/overlays.d.ts +25 -0
- package/dist/src/overlays.js +15 -0
- package/dist/src/svg.d.ts +4 -0
- package/dist/src/svg.js +7 -0
- package/dist/src/transit.d.ts +3 -0
- package/dist/src/transit.js +105 -0
- package/dist/src/types.d.ts +112 -0
- package/dist/src/types.js +1 -0
- package/dist/src/viewport.d.ts +5 -0
- package/dist/src/viewport.js +27 -0
- package/package.json +40 -25
- package/data/bart-stations.json +0 -134
- package/data/catalog.json +0 -4699
- package/data/coast.json +0 -36
- package/data/districts-2002.json +0 -325
- package/data/districts-2012.json +0 -325
- package/data/districts-2022.json +0 -325
- package/data/highways.json +0 -4138
- package/data/index.d.ts +0 -117
- package/data/landmarks.json +0 -167
- package/data/neighborhoods-analysis.json +0 -817
- package/data/neighborhoods-realtor.json +0 -1978
- package/data/neighborhoods.json +0 -2267
- package/src/geometry.d.ts +0 -8
- package/src/geometry.js +0 -51
- package/src/immutable.js +0 -8
- package/src/index.d.ts +0 -51
- package/src/index.js +0 -122
- package/src/layers.js +0 -54
- package/src/overlays.js +0 -18
- package/src/svg.js +0 -12
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "FeatureCollection",
|
|
3
|
+
"schemaVersion": 1,
|
|
4
|
+
"id": "bart-stations",
|
|
5
|
+
"title": "San Francisco BART stations",
|
|
6
|
+
"coordinateSystem": "WGS84 longitude, latitude (EPSG:4326)",
|
|
7
|
+
"definition": {
|
|
8
|
+
"kind": "station-centroids",
|
|
9
|
+
"description": "Eight station centroids within San Francisco. Entrances, tracks, and other cities are excluded."
|
|
10
|
+
},
|
|
11
|
+
"sources": [
|
|
12
|
+
{
|
|
13
|
+
"id": "bart-stations",
|
|
14
|
+
"title": "BART official geospatial data",
|
|
15
|
+
"url": "https://www.bart.gov/sites/default/files/2025-12/BART-Stations-tracks-entrances-121025.kmz_.zip",
|
|
16
|
+
"retrievedAt": "2026-09-25",
|
|
17
|
+
"licenseUrl": "https://www.bart.gov/schedules/developers/geo"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"features": [
|
|
21
|
+
{
|
|
22
|
+
"type": "Feature",
|
|
23
|
+
"id": "embarcadero",
|
|
24
|
+
"bbox": [
|
|
25
|
+
-122.3969009943399,
|
|
26
|
+
37.79285391372556,
|
|
27
|
+
-122.3969009943399,
|
|
28
|
+
37.79285391372556
|
|
29
|
+
],
|
|
30
|
+
"properties": {
|
|
31
|
+
"name": "Embarcadero"
|
|
32
|
+
},
|
|
33
|
+
"geometry": { "type": "Point", "coordinates": [-122.3969009943399, 37.79285391372556] }
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "Feature",
|
|
37
|
+
"id": "montgomery-st",
|
|
38
|
+
"bbox": [
|
|
39
|
+
-122.4011747105981,
|
|
40
|
+
37.78944952039284,
|
|
41
|
+
-122.4011747105981,
|
|
42
|
+
37.78944952039284
|
|
43
|
+
],
|
|
44
|
+
"properties": {
|
|
45
|
+
"name": "Montgomery St"
|
|
46
|
+
},
|
|
47
|
+
"geometry": { "type": "Point", "coordinates": [-122.4011747105981, 37.78944952039284] }
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "Feature",
|
|
51
|
+
"id": "powell-st",
|
|
52
|
+
"bbox": [
|
|
53
|
+
-122.4070176588271,
|
|
54
|
+
37.78487089662774,
|
|
55
|
+
-122.4070176588271,
|
|
56
|
+
37.78487089662774
|
|
57
|
+
],
|
|
58
|
+
"properties": {
|
|
59
|
+
"name": "Powell St"
|
|
60
|
+
},
|
|
61
|
+
"geometry": { "type": "Point", "coordinates": [-122.4070176588271, 37.78487089662774] }
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "Feature",
|
|
65
|
+
"id": "civic-center-un-plaza",
|
|
66
|
+
"bbox": [
|
|
67
|
+
-122.4139364152156,
|
|
68
|
+
37.77939386076284,
|
|
69
|
+
-122.4139364152156,
|
|
70
|
+
37.77939386076284
|
|
71
|
+
],
|
|
72
|
+
"properties": {
|
|
73
|
+
"name": "Civic Center/UN Plaza"
|
|
74
|
+
},
|
|
75
|
+
"geometry": { "type": "Point", "coordinates": [-122.4139364152156, 37.77939386076284] }
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "Feature",
|
|
79
|
+
"id": "16th-st-mission",
|
|
80
|
+
"bbox": [
|
|
81
|
+
-122.4197081435103,
|
|
82
|
+
37.76505423932072,
|
|
83
|
+
-122.4197081435103,
|
|
84
|
+
37.76505423932072
|
|
85
|
+
],
|
|
86
|
+
"properties": {
|
|
87
|
+
"name": "16th St/Mission"
|
|
88
|
+
},
|
|
89
|
+
"geometry": { "type": "Point", "coordinates": [-122.4197081435103, 37.76505423932072] }
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"type": "Feature",
|
|
93
|
+
"id": "24th-st-mission",
|
|
94
|
+
"bbox": [
|
|
95
|
+
-122.4184678760468,
|
|
96
|
+
37.75223145165559,
|
|
97
|
+
-122.4184678760468,
|
|
98
|
+
37.75223145165559
|
|
99
|
+
],
|
|
100
|
+
"properties": {
|
|
101
|
+
"name": "24th St/Mission"
|
|
102
|
+
},
|
|
103
|
+
"geometry": { "type": "Point", "coordinates": [-122.4184678760468, 37.75223145165559] }
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "Feature",
|
|
107
|
+
"id": "glen-park",
|
|
108
|
+
"bbox": [
|
|
109
|
+
-122.4337900883829,
|
|
110
|
+
37.73311239451952,
|
|
111
|
+
-122.4337900883829,
|
|
112
|
+
37.73311239451952
|
|
113
|
+
],
|
|
114
|
+
"properties": {
|
|
115
|
+
"name": "Glen Park"
|
|
116
|
+
},
|
|
117
|
+
"geometry": { "type": "Point", "coordinates": [-122.4337900883829, 37.73311239451952] }
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": "Feature",
|
|
121
|
+
"id": "balboa-park",
|
|
122
|
+
"bbox": [
|
|
123
|
+
-122.4475873574919,
|
|
124
|
+
37.72135058802738,
|
|
125
|
+
-122.4475873574919,
|
|
126
|
+
37.72135058802738
|
|
127
|
+
],
|
|
128
|
+
"properties": {
|
|
129
|
+
"name": "Balboa Park"
|
|
130
|
+
},
|
|
131
|
+
"geometry": { "type": "Point", "coordinates": [-122.4475873574919, 37.72135058802738] }
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|