get centroids from geoserver (postgis query)