Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple lat lang in one state name #341

Open
ianrussel opened this issue May 11, 2022 · 0 comments
Open

Multiple lat lang in one state name #341

ianrussel opened this issue May 11, 2022 · 0 comments

Comments

@ianrussel
Copy link

ianrussel commented May 11, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant