query for custom epsg and maxRows