PROBLEM

Invalid .prj causes FindGeodataSet to return Nothing

Last Published: April 25, 2020

Solution or Workaround

Summary

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

Solution

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.

Article ID:000001804

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic