Added factory to get geojson