Fix coordinate transformation SRID in variants save API
Deploy TrassenPlaner / deploy (push) Waiting to run
Details
Deploy TrassenPlaner / deploy (push) Waiting to run
Details
This commit is contained in:
parent
6e5ef89733
commit
805794756f
|
|
@ -233,7 +233,7 @@ app.post('/api/variants', async (req, res) => {
|
|||
const insertQuery = `
|
||||
INSERT INTO kabeltrasse (geom, name, "Variante")
|
||||
VALUES (
|
||||
ST_MakeValid(ST_Transform(ST_GeomFromGeoJSON($1), 25832)),
|
||||
ST_MakeValid(ST_Transform(ST_SetSRID(ST_GeomFromGeoJSON($1), 4326), 25832)),
|
||||
$2,
|
||||
$3
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue