Feature Request: Support updating location geometry (latitude/longitude) in UpdateLocationRequest
I maintainer di solito rispondono entro 1 giorno
@devsjc ci sta già lavorando.
Dal 9/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Verification
- I have searched the existing issues to ensure this feature has not already been requested.
Provide a detailed description of the proposed feature.
In the quartz-api service, the PUT /sites/{site_uuid} endpoint allows users to update a site's properties, including its latitude and longitude coordinates.
However, the Data Platform (DP) gRPC service currently does not support updating coordinates for an existing location. The UpdateLocationRequest message only exposes fields to update capacity, name, and metadata, but has no geometry/WKT fields:
protobuf
// Current UpdateLocationRequest Schema
message UpdateLocationRequest {
string location_uuid = 1;
EnergySource energy_source = 2;
string new_location_name = 3;
int64 new_effective_capacity_watts = 4;
google.protobuf.Struct new_metadata = 5;
google.protobuf.Timestamp valid_from_utc = 6;
}
Because of this limitation:
quartz-api must ignore any coordinate updates passed during PUT requests for existing sites.
Coordinates are immutable after location creation.
Proposed Solution
Update the Data Platform gRPC API schema to support updating location geometry.
Specifically, we propose adding a new_geometry_wkt string field (or separate new_latitude/new_longitude fields) to UpdateLocationRequest:
protobuf
message UpdateLocationRequest {
string location_uuid = 1;
EnergySource energy_source = 2;
string new_location_name = 3;
int64 new_effective_capacity_watts = 4;
google.protobuf.Struct new_metadata = 5;
google.protobuf.Timestamp valid_from_utc = 6;
string new_geometry_wkt = 7; // <--- ADD THIS FIELD
}
This will allow the downstream database engines to execute geometry updates (e.g., UPDATE locations SET geometry = ST_GeomFromText(new_geometry_wkt) WHERE ...) and align the API client behavior.
What is the motivation for the feature?
Correcting Seeding Errors: Clients should be able to update the locations lat lon
Outline a potential approach or solution (optional).
- Lingua principale
- Go
- Stelle
- 3
- Fork
- 1
- Merge medio
- 1h 42m
- PR unite (30g)
- 11
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openclimatefix/data-platform
-
Copy 2026 PVLive data to DPForse già presa @devsjc l’ha presa 4 giorni fa. Aperta
openclimatefix/data-platform#216 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
openclimatefix/data-platform#210 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Battery dataAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
openclimatefix/data-platform#204 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[DP] META LISTForse già presa @devsjc l’ha presa 20 giorni fa. Aperta
openclimatefix/data-platform#203 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
openclimatefix/data-platform#197 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di openclimatefix/data-platform
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
cloudflare/terraform-provider-cloudflare#7423 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
router-for-me/CLIProxyAPI#6746 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
ViewData can pair the in-flight proposal with the prepared flag of another proposalForse già presa @HagarMeir l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
hyperledger/SmartBFT#710 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100