Adding proportional geometry function to postgis