POST
|
My major issue was I was trying to zip the fgdb and it was causing it to break when using the shutil.make_archive. I coded around it in the following way by avoiding the lock files: # shutil.make_archive(fgdbPath, 'zip', ZipPath,fgdb) -- this breaks with this bug zf = zipfile.ZipFile(FGDBArchive, "w") for dirname, subdirs, files in os.walk(fgdbPath): for filename in files: zfilename, zfileext = os.path.splitext(filename) if (zfileext != ".lock"): zf.write(os.path.join(fgdbPath, filename), os.path.join(fgdb, filename), zipfile.ZIP_DEFLATED) zf.close()
... View more
10-05-2020
07:02 AM
|
4
|
0
|
2599
|
POST
|
I have file geodatabases with several feature classes. Some of these feature classes have domains defined. I am having problems with Arc Collector on Windows 10 presenting those feature classes that have an empty domain associated with a field. These are coded values defined as a Long type. On the Ipad and Android devices, it works correctly - it shows a dropdown list with no values. However on Windows 10, it just drops those feature classes out of the table of contents. I am running the latest version 20.0.1.0 Any ideas on why this may be? I would hate to have to drop those empty domains for those projects, but that is the only way I seem to work around things at this point.
... View more
08-17-2020
10:19 AM
|
0
|
0
|
349
|
POST
|
I recently upgraded to Arcpro 2.6 and am having issues with an ArcPy script that exported data to a file geodatabase and then zipped that fgdb. res=arcpy.FeatureClassToFeatureClass_conversion(in_features=inFeature, out_path=I10_fgdb, out_name=FC) del res shutil.make_archive(fgdbPath, 'zip', ZipPath,fgdb) This worked just fine in 2.5.X, however, after the upgrade, the lock file in the FGDB directory is not going away and that causes the zip to fail. How can I get ArcPy to clear the lockfile in a FGDB? Thanks
... View more
08-03-2020
12:53 PM
|
1
|
11
|
4959
|
POST
|
I am writing a Windows 10 WPF .Net Core data collection application that incorporates a map. What I would like to be able to do is to collect the GPS point for the current location and use that to store the Lat/Long in a data record. All the examples I have seen thus far have used Windows Location service to display the location on the map via the LocationDataSource. I haven't seen a way to get the current location directly. I have a couple of questions: 1. How can I get the Lat/Long of the current location along with horizontal error and such on a button click? 2. Does an attached external GPS receiver automatically work with Windows Location Services 3. Does anyone have any recommendations for Bluetooth or USB GPS receivers for use with ARCgis Runtime for WPF .Net Core? Thanks, Ken
... View more
06-03-2020
10:25 AM
|
0
|
2
|
1435
|
Title | Kudos | Posted |
---|---|---|
4 | 10-05-2020 07:02 AM | |
1 | 08-03-2020 12:53 PM |
Online Status |
Offline
|
Date Last Visited |
04-19-2024
10:25 PM
|