Feature Request: Support updating location geometry (latitude/longitude) in UpdateLocationRequest
Los mantenedores suelen responder en 1 día
@devsjc ya está trabajando en esto.
Desde el 9/7/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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).
- Lenguaje dominante
- Go
- Estrellas
- 3
- Forks
- 1
- Merge medio
- 1 h 42 min
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openclimatefix/data-platform
-
Copy 2026 PVLive data to DPPosiblemente ocupada @devsjc la tomó hace 4 días. Abierto
openclimatefix/data-platform#216 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Save forecasts made in the pastAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
openclimatefix/data-platform#210 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Battery dataAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
openclimatefix/data-platform#204 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[DP] META LISTPosiblemente ocupada @devsjc la tomó hace 20 días. Abierto
openclimatefix/data-platform#203 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
openclimatefix/data-platform#197 ·
Los mantenedores suelen responder en 1 día
Todos los issues de openclimatefix/data-platform
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
ViewData can pair the in-flight proposal with the prepared flag of another proposalPosiblemente ocupada @HagarMeir la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
hyperledger/SmartBFT#710 ·
Los mantenedores suelen responder en 1 día
-
agent-butler-finding chore
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
jordansmall/spindrift#5575 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
open-telemetry/opentelemetry-go-compile-instrumentation#1512 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
OpenPrinting/go-mfp#124 ·
Los mantenedores suelen responder en 1 día