Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

Thank you for your help.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Maybe just a typo? WGS84 is 4326.

share|improve this answer
    
Thanks. Sometimes the answer is so simple yet hard to find out... That is probably a very old typo going througout quite a lot of my queries... –  Thilo Aug 1 '11 at 8:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.