Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Multiple lat lang in one state name #341

@ianrussel

Description

@ianrussel

Hi, I need to visualize my netwrok devices(located in one province which is Toronto with hundreds of lat lang in a json format.How do you plot those as dots using lat lang? When I tried, I always got one dot since its all in one state/name.

My json looks like this

  ` "id": 107,
    "url": "http://netbox.compnayx.net/api/dcim/sites/107/",
    "display": "Cologix TOR1",
    "slug": "cologix-tor1",
    "status": "up",
    "region": {
        "id": 46,
        "url": "http://netbox.companyx.net/api/dcim/regions/46/",
        "display": "Toronto",
        "name": "Toronto",
        "slug": "toronto",
        "_depth": 2
    },
    "group": null,
    "tenant": {
        "id": 4,
        "url": "http://netbox.companyx.net/api/tenancy/tenants/4/",
        "display": "BSO Smart (SDN)",
        "name": "BSO Smart (SDN)",
        "slug": "bso-network"
    },
    "facility": "CLX1.YTO",
    "asn": null,
    "time_zone": "America/Toronto",
    "description": "",
    "physical_address": "Cologix TOR1\r\n151 Front Street West\r\nOntario\r\nToronoto\r\nM5J 2N1\r\nCanada",
    "shipping_address": "Cologix TOR1\r\n151 Front Street West\r\nOntario\r\nToronoto\r\nM5J 2N1\r\nCanada",
    "latitude": "43.644940",
    "longitude": "-79.383770",
    "contact_name": "",
    "contact_phone": "",
    "contact_email": "",
    "comments": "",
    "tags": [],
    "custom_fields": {
        "Confluence Link": "https://x.atlassian.net/wiki/spaces/NOC/pages/818053125/CLX1.YTO+-+Cologix+TOR1+-+Suite+632",
        "Last Audit": null,
        "Odoo POP ID": "515"
    },
    "created": "2021-07-01",
    "last_updated": "2021-07-01T11:02:47.494883Z",
    "circuit_count": 1,
    "device_count": 0,
    "prefix_count": 0,
    "rack_count": 0,
    "virtualmachine_count": 0,
    "vlan_count": 0,
},
{
    "id": 81,
    "url": "http://netbox.companyx.net/api/dcim/sites/81/",
    "display": "Equinix TR2",
    "slug": "TOR2",
    "status": "up",
    "region": {`
        "id": 46,
        "url": "http://netbox.companyx.net/api/dcim/regions/46/",
        "display": "Toronto",
        "name": "Toronto",
        "slug": "toronto",
        "_depth": 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions