AnsweredAssumed Answered

Shapefile layer won't load in MapView without .prj file

Question asked by AbrahamFisher on Jun 2, 2020
Latest reply on Jun 2, 2020 by AbrahamFisher

I am trying to add layers to a MapView Map in .NET.  I have several dozen layers created some years ago that load and display just fine via ArcGIS Pro (Desktop), plus 3 or 4 layers that were created just recently.  In .NET, using the SDK I can load the recently created layers but not the older ones. 

 

Both old and new layers have .shp, .shx and .dbf files.  The newer layers, in addition to these three required files also have .prj and .cpg files.  After some trial and error, it appears that it is the .prj file that is needed to get the layers to load and display in the Map object.  I am at a loss however as to how to generate these .prj files for the older layers that do not have them.

 

Thank you.

Outcomes