add an endpoint for geojson