Skip to content

Add venue/city coordinate mapping for globe visualization #358

Description

@magent-cryptograss

Context

EPK globe needs lat/lng coordinates for each show location. Currently using a hardcoded mapping in a temp script.

Current Mapping (21 locations)

const coords = {
    "Amsterdam|Netherlands": [52.3676, 4.9041],
    "Barcelona|Catalonia": [41.3851, 2.1734],
    "Berlin|Germany": [52.52, 13.405],
    "Bogotá|Colombia": [4.711, -74.0721],
    "Boulder|Colorado": [40.015, -105.2705],
    "Breckenridge|Colorado": [39.4817, -106.0384],
    "Brussels|Belgium": [50.8503, 4.3517],
    "Denver|Colorado": [39.7392, -104.9903],
    "Jesenik|Czech Republic": [50.2294, 17.2044],
    "Krabčicích|Czech Republic": [50.4167, 14.25],
    "Lancaster|New Hampshire": [44.4903, -71.5692],
    "Nashville|Tennessee": [36.1627, -86.7816],
    "Olomouc|Czech Republic": [49.5938, 17.2509],
    "Paris|France": [48.8566, 2.3522],
    "Portland|Oregon": [45.5155, -122.6789],
    "Prague|Czech Republic": [50.0755, 14.4378],
    "Roudnice nad Labem|Czech Republic": [50.4253, 14.2619],
    "Vědomice-Roudnice|Czech Republic": [50.43, 14.265],
    "Brooklyn|New York": [40.6782, -73.9442],
    "Capetown|South Africa": [-33.9249, 18.4241],
    "Osaka|Japan": [34.6937, 135.5023],
};

Proposal

Add coordinates.yaml or similar to src/data/ that maps locality|region to lat/lng.

Could also consider:

  • Adding coords directly to show YAML files
  • Using a geocoding API during build
  • PickiPedia venue database with coordinates

Used By

  • EPK globe visualization
  • Potentially future tour maps on justinholmes.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions