Problem: Invalid .prj causes FindGeodataSet to return Nothing

Solution or Workaround


FindGeodataSet returns nothing when it encounters an invalid .prj file.


If a shapefile has a .prj file that is not parseable by MapObjects, the FindGeoDataset method will return nothing. No other errors occur, and the only way to trap an invalid .prj is to use the FindCoordinateSystem method and see if it returns nothing.