How do i transform a geometry to a new geometry with a crs like urn:ogc:def:crs:EPSG::25832
st_transform(geom,integer srid)
obviously doesn't work since my srid is a string
found a solution
ST_Transform(geom,
ST_SRID(
ST_GeomFromGeoJSON(
'{"type":"POINT",
"coordinates":[0,0],
"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::25832"}}}'
)
)
)
ST_Transform(geom,25832)
would be the same.