[GIS] Postgis: WGS84 Lat Lon Point to Gauss-Kruger 3

coordinate systempostgis

How do I convert a WGS84 lat lon point in PostGIS to Guass Kruger 3 (31467)?

Somehow, I do not seem to get it right. I tried the usual way for converting projections:

st_transform(st_setsrid(st_makepoint(50, 8), 2346), 31467)

However, this gives an out of bounds error. I assume PostGIS expects the values to be Cartesian coordinates.

Best Answer

Maybe just a typo? WGS84 is 4326.