|
POST
|
I realized I had sent my title to the back via "Order" and had to bring it forward. Then it showed up. It looked like it was on top because the map's data frame was transparent.
... View more
10-28-2019
06:37 AM
|
0
|
0
|
1059
|
|
POST
|
I have a MXD where I first exported the map to a JPEG and clipped the output to the graphics extent. I then tried to export it as a PDF, and now it clips the image in the PDF to the just show the graphics like the JPEG and not show the title or anything I've recently added to the map. When exporting to PDF, I did not check the box to clip output to graphics extent so I'm not sure if it's just clipped for eternity after you do it once? I also tried it with checking the box to see if anything would change, it didn't.
... View more
10-28-2019
06:33 AM
|
0
|
1
|
1121
|
|
POST
|
I have blank cells in an attribute table I'd like to catch using python. These cells are not filled with <Null> but are simply blank. Will this statement catch all possibilities in a blank cell? The blank cells could only occur in string fields and would be produced using Collector Classic on an iPhone since, for some reason, it doesn't enforce required fields like an Android phone does and instead just fills required text fields with an empty value. if x == [None, '', ' ']:
#do something I think None actually catches <Null> but can't hurt to have it there I guess.
... View more
10-18-2019
08:01 AM
|
0
|
2
|
1920
|
|
POST
|
I figured out that you need to make a query layer in order to access this information from arcpy. Script looks like this: import arcpy, os
collector_db_con = r"Database Connections\CollectorSpatialData_CollectorWriter.sde"
output = arcpy.MakeQueryLayer_management(collector_db_con, "Out", "select * from COVEYCOUNT where GDB_TO_DATE = '2019-09-30 13:56:44.4300000'")
... View more
10-17-2019
07:34 AM
|
2
|
0
|
2681
|
|
POST
|
What is the way to do this? I want to be able to read the gdb_from_date and gdb_to_date fields of the archive table using arcpy. How do you instantiate the archived table?
... View more
10-08-2019
05:52 AM
|
0
|
1
|
2776
|
|
POST
|
Thanks. Kind of sucks if you will never care about archived records. Maybe I can make a view in SQL Mgmt studio that only shows active records that updates everyday...
... View more
09-30-2019
08:15 AM
|
0
|
0
|
2098
|
|
POST
|
I'm having problems... I have enabled archiving on an SDE feature class so it could be used in Collector. Now when I got to MSSQL management studio and open up the table, it's showing all the archived data that was deleted. It was my understanding that data that exists should be in one table and data that did exist but was deleted should be in a separate archive table. What's going on? How do I fix this? Just to give you an idea... This is the table with collected, existing data. It has 13 records: This is what the same feature class looks like on the backend, in SQL management studio. Note, it returns 277 rows. I had a bunch of people testing the application in the field, so they created a bunch of dummy data and then deleted it via the Collector application. Yet is still shows in the backend table?:
... View more
09-30-2019
08:04 AM
|
0
|
2
|
2233
|
|
POST
|
Has anybody tested if one is faster than the other? Say you have 300,000 records to go through and you want to find all the records that have nulls in a field, would selecting with a "IS NULL" where clause be faster than a search cursor running through? Or would the difference be negligible?
... View more
09-23-2019
06:18 AM
|
0
|
2
|
1802
|
|
POST
|
Alright, I actually did get it working by installing it separately. If anyone stumbles across this in the future, you have to download the APK file for Collector from this link: Esri Downloads. Then open Android Studio, create your "hello world" default app and your emulation device(s), then follow these steps to install the APK: How to install an apk on the emulator in Android Studio? - Stack Overflow. Collector will then show up on your emulated device.
... View more
09-16-2019
12:14 PM
|
0
|
0
|
970
|
|
POST
|
I know this was a problem from a while ago looking at all the posts on it, but was the problem with android devices being misidentified as incompatible with Collector ever fixed? I am emulating a device with Android Studio so that might be the problem, but the emulated device meets all the requirements I think; however, I still get the incompatible message. I'm pretty sure it meets all the requirements because I can download other ArcGIS apps like Workforce, Indoors, Navigator, etc. with no issue. I can't really install it separately on my machine and then deploy it because of the emulation factor.
... View more
09-16-2019
11:28 AM
|
0
|
1
|
1041
|
|
POST
|
I just fixed it. I don't know if it's broken anything else but I'm tentatively saying that changing the python paths for HKEY_CURRENT_USER (last two screenshots in the original post) to the Python27 paths fixed it. You are correct though, expat still does not show up in the modules for me even though everything seems to be working now. Very curious indeed. Edit: It has not broken anything else. I checked my scripts in PyCharm, Visual Studio, and Jupyter Notebooks and everything is working.
... View more
09-05-2019
12:25 PM
|
1
|
1
|
6191
|
|
POST
|
So, I changed the path variables in the HKEY_CURRENT_USER (as seen in the original post, in the last two screenshots) to these: InstallPath: C:\Python27\ArcGIS10.7\ PythonPath: C:\Python27\ArcGIS10.7\Lib;C:\Python27\ArcGIS10.7\DLLs\ It fixed the problem of being unable to use that tool so I'm going to tentatively say my answer is correct. However, I need to test with a few other things to see if I broke anything elsewhere...
... View more
09-05-2019
12:23 PM
|
1
|
0
|
6191
|
|
POST
|
Correct. It's been a while since I installed these things, but I think my order was Visual Studio, ArcGIS, Anaconda (Jupyter). I didn't install anything through command prompts, just through installing various software via GUI. I have never needed to mess with any of my python path variables until now, even though I'm not 100% that it's the problem. ArcMap does seem to use Python27 otherwise no geoprocessing tools would work considering they all run on arcpy. It's just this one tool. I wonder if I did 'pip install expat' in a windows cmd prompt if it would work. Edit: I fixed it. See my answer below.
... View more
09-05-2019
11:51 AM
|
0
|
0
|
6191
|
|
POST
|
It does not appear that it is. I do see it in C:\Python27\ArcGIS10.7\Lib\xml\parsers, so I at least have it on my computer. Is there some piece of code I need to install it?
... View more
09-05-2019
11:40 AM
|
0
|
2
|
6191
|
|
POST
|
Interesting, that does work. Why is it thought that it can take unicode and go directly to integer? Guess I need to do more reading about unicode...
... View more
09-05-2019
11:18 AM
|
0
|
1
|
13807
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-18-2020 10:31 AM | |
| 2 | 09-16-2025 02:17 PM | |
| 3 | 09-12-2025 09:26 AM | |
| 1 | 08-16-2023 05:11 PM | |
| 1 | 02-27-2024 06:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-16-2025
02:16 PM
|