Skip to content

Commit 87dc60a

Browse files
Add a message Location to represent geo co-ordinates (#48)
2 parents 3ed7e83 + e234a75 commit 87dc60a

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
## New Features
1212

13-
<!-- Here goes the main new features and examples or instructions on how to use them -->
13+
* Added a new message named `Location`, representing the co-ordinates of a
14+
geographical location.
1415

1516
## Bug Fixes
1617

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Geographical co-ordinates of a place.
2+
//
3+
// Copyright 2023 Frequenz Energy-as-a-Service GmbH
4+
//
5+
// Licensed under the MIT License (the "License");
6+
// you may not use this file except in compliance with the License.
7+
8+
syntax = "proto3";
9+
10+
package frequenz.api.common.location;
11+
12+
// A pair of geographical co-ordinates, representing the location of a place.
13+
message Location {
14+
// Latitude ranges from -90 (South) to 90 (North)
15+
float latitude = 1;
16+
17+
// Longitude ranges from -180 (West) to 180 (East)
18+
float longitude = 2;
19+
}

0 commit comments

Comments
 (0)