Commit c40b7b4d authored by Julien Cristau's avatar Julien Cristau
Browse files

expose ST_SRID function in rql

parent b56f6150e6e0
......@@ -260,6 +260,13 @@ class ST_MAKEPOINT(FunctionDescr):
rtype = 'Geometry'
class ST_SRID(FunctionDescr):
minargs = 1
maxargs = 1
supported_backends = ('postgres',)
rtype = 'Geometry'
class ST_SETSRID(FunctionDescr):
minargs = 2
maxargs = 2
......@@ -324,6 +331,7 @@ register_function(ST_CONVEXHULL)
register_function(ST_CONCAVEHULL)
register_function(ST_MAKEPOINT)
register_function(ST_SETSRID)
register_function(ST_SRID)
register_function(ST_DISTANCE_SPHERE)
register_function(ST_X)
register_function(ST_Y)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment