In example of the page ST_Project the select is

SELECT ST_AsText(ST_Project('POINT(0 0)'::geography, 100000, 45));
     POINT(0.63523102912532 0.63947233472882)
    (1 row)

But, in my enviroment this code give me an error like "Azimuth must be between -2PI and 2PI".

After a few tryings I solve with :

SELECT ST_AsText(ST_Project('POINT(0 0)'::geography, 100000, radians(45) ))

The sample in page tells the data type expected is in degrees, and the function expects radians.

Am I using the wrong PostGIS version?

My PostGIS version : 2.0

2 Answers 2


I have updated the documentation and just a heads up the new doc location is at


For this specific:



Please consult how to report documentation issues. I have the same behavior.

POSTGIS="2.0.1 r9979" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8" TOPOLOGY RASTER


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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