Add GPS coordinates of Site/Facility #1747

Closed
opened 2025-12-29 16:34:58 +01:00 by adam · 2 comments
Owner

Originally created by @zorun on GitHub (May 25, 2018).

Issue type

[X] Feature request
[ ] Bug report
[ ] Documentation

Description

It would be nice to add a field for the GPS coordinates of a site/facility.

Our use-case would be to pull all sites via the Netbox API, and display them on a map (along with circuits between sites).

Originally created by @zorun on GitHub (May 25, 2018). ### Issue type [X] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> <!-- BUG REPORTS must include: * A list of the steps needed for someone else to reproduce the bug * A description of the expected and observed behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description It would be nice to add a field for the GPS coordinates of a site/facility. Our use-case would be to pull all sites via the Netbox API, and display them on a map (along with circuits between sites).
adam added the status: acceptedtype: feature labels 2025-12-29 16:34:58 +01:00
adam closed this issue 2025-12-29 16:34:58 +01:00
Author
Owner

@funzoneq commented on GitHub (May 30, 2018):

I did this by adding two custom fields to the Sites model. Latitude and Longitude. They then show up on the API via the custom_fields option.

@funzoneq commented on GitHub (May 30, 2018): I did this by adding two custom fields to the Sites model. Latitude and Longitude. They then show up on the API via the custom_fields option.
Author
Owner

@jeremystretch commented on GitHub (Jun 21, 2018):

Implemented in 258373f on the develop-2.4 branch.

@jeremystretch commented on GitHub (Jun 21, 2018): Implemented in 258373f on the `develop-2.4` branch.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1747