fix: transform coordinates to EPSG:25832 for database insertion
Deploy Bürgerwind / deploy (push) Successful in 16s
Details
Deploy Bürgerwind / deploy (push) Successful in 16s
Details
This commit is contained in:
parent
4c03cfdd5e
commit
bb9c90e4d0
|
|
@ -49,7 +49,7 @@ app.post('/api/wea', async (req, res) => {
|
|||
await client.query(
|
||||
`INSERT INTO geodaten.wea_standorte (
|
||||
wea_nummer, hersteller, anlagentyp, nabenhoehe, rotordurchmesser, ksf_drehung, projekt_id, geom
|
||||
) VALUES ($1, $2, $3, $4, $5, $6, $7, ST_SetSRID(ST_MakePoint($8, $9), 4326))`,
|
||||
) VALUES ($1, $2, $3, $4, $5, $6, $7, ST_Transform(ST_SetSRID(ST_MakePoint($8, $9), 4326), 25832))`,
|
||||
[
|
||||
t.nr,
|
||||
t.hersteller || '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue