Created
November 10, 2025 18:38
-
-
Save jenca-adam/4ea97b2d795bfafe855967b6a6dc2741 to your computer and use it in GitHub Desktop.
protobuf protocol for parsing the vali drop pool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| syntax = "proto3"; | |
| package vali.core; | |
| import "google/protobuf/timestamp.proto"; | |
| import "google/protobuf/wrappers.proto"; | |
| message Location { | |
| int64 node_id = 1; | |
| double lat = 2; | |
| double lng = 3; | |
| GoogleData google = 4; | |
| OsmData osm = 5; | |
| NominatimData nominatim = 6; | |
| string tag = 7; | |
| } | |
| message GoogleData { | |
| string pano_id = 1; | |
| double lat = 2; | |
| double lng = 3; | |
| double default_heading = 4; | |
| string country_code = 5; | |
| google.protobuf.Timestamp checked_at = 6; | |
| int32 year = 7; | |
| int32 month = 8; | |
| int32 driving_direction_angle = 9; | |
| int32 arrow_count = 10; | |
| int32 elevation = 11; | |
| int32 description_length = 12; | |
| bool is_scout = 13; | |
| int32 resolution_height = 14; | |
| } | |
| message OsmData { | |
| int32 buildings10 = 1; | |
| int32 buildings25 = 2; | |
| int32 buildings100 = 3; | |
| int32 buildings200 = 4; | |
| int32 roads10 = 5; | |
| int32 roads25 = 6; | |
| int32 roads50 = 7; | |
| int32 roads100 = 8; | |
| int32 roads200 = 9; | |
| int32 tunnels10 = 10; | |
| int32 tunnels200 = 11; | |
| bool is_residential = 12; | |
| string surface = 13; | |
| int32 roads0 = 14; | |
| int32 closest_coast = 15; | |
| int32 road_type = 16; | |
| int32 closest_lake = 17; | |
| int32 closest_river = 18; | |
| int32 closest_railway = 19; | |
| repeated int64 way_ids = 20; | |
| } | |
| message NominatimData { | |
| string country_code = 1; | |
| string subdivision_code = 2; | |
| string county = 3; | |
| } | |
| message LocationList { | |
| repeated Location locations = 1; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment