Select to view content in your preferred language

ArcGIS Pro maximum path length limitation for File-Geodatabase

557
3
11-08-2024 04:51 AM
Status: Needs Clarification
Labels (1)
HagenProbsthain2
Occasional Contributor

Please allow long paths if this is activated under Windows operating systems. The current limit of 260 characters (248 for the directory path) is often much too short. When working with filegeodatabases, strange behavior occurs when the limit is reached

3 Comments
HagenProbsthain2

Yes, I had already found that and checked the LongPathsEnabled setting in Windows (it was already set to 1). The third link you posted says: "Starting in Windows 10, version 1607, MAX_PATH limitations have been removed from many common Win32 file and directory functions. However, your app must opt-in to the new behavior." I suspect that ArcGIS Pro has not implemented this yet, otherwise it would not cause such strange behavior with a file geodatabase when the (short) maximum path length is reached.

An example of this is that feature classes can be imported into the fGDB but then can no longer be renamed. In this case, the error message states that the feature class is locked by another application. Or you try to create an fGDB in a path that already consists of the maximum of 248 characters. The fGDB is created in the catalog, but after renaming it suddenly disappears without a message.

A workaround is to map drive letters, but this can be a problem if projects are passed on to other employees or customers.

SSWoodward
Status changed to: Needs Clarification

Thanks for this Idea @HagenProbsthain2,

Can you share what version of ArcGIS Pro you are using?