|
IDEA
|
Not sure if it's possible or hard it would be to implement, but it would be greatly beneficial to have an ArcPy utility function to release all locks on file geodatabases.
... View more
04-13-2018
12:03 PM
|
18
|
2
|
3863
|
|
POST
|
A simple question for the knowledgeable. We have a department that edits a feature class stored in our enterprise SDE geodatabase using the Collector App. We replicate our standard datasets to a file geodatabase on their server (parent to child 1-way). I recently enabled archiving on the dataset they edit in the field. This is a dataset that is changing throughout the week, with features being added and then deleted (currently placed mosquito traps for west nile virus testing program). Here is my question: For them to be able to see historical views of the dataset, do they need a connect to our SDE database? Or can we replicate this dataset to the file geodatabase and they will be able to view historical versions of it? I am presuming they need the SDE connection, but wanted to ask the experience. Thanks, Patrick
... View more
03-29-2018
06:50 AM
|
0
|
1
|
1719
|
|
POST
|
Thanks for all the helpful resources. It looks like I need to get a new IDE to work with Python 3. Trying to get familiar with what's new in Python 3, and simply prefer an IDE to the command prompt.
... View more
03-16-2018
04:41 AM
|
0
|
1
|
3025
|
|
POST
|
I'm still using ArcGIS Desktop and Python 2.7. But I know ArcGIS Pro is the future, so I installed it. So I thought I would start using Python 3. However, it looks like the Python installation with ArcGIS Pro is a "masked" install. Whereas Desktop gives you a more "real" Python install. This is becoming an issue because I can't figure out how to set-up my code editors (PyScripter or Visual Code) to use Python 3.x I also don't have admin privileges to my computer, and have to submit an IT work order to get temp admin privileges. Is there an easy way to use the Python 3 install with ArcGIS Pro like I currently use Python 2? Or do I need to just install Python natively?
... View more
03-14-2018
11:25 AM
|
0
|
6
|
3648
|
|
POST
|
I'm updating my fleet of web map apps to provide a message to the users (general public, non-GIS) if any of the map/feature services fails to load. It will be a simple modal window. Here's my hang-up: What do I tell the user? Simply state there was an error loading some layers and the map is not displaying all intended layers? Or also provide the user with the bad URL and/or the server error code (400,404, 500, etc.)? I guess it's really a question of what is the most appropriate error message to provide the user. I'm using Esri Leaflet, but this is a concept that is valid for any type of web map app development, at least in my opinion.
... View more
03-07-2018
08:03 AM
|
0
|
0
|
868
|
|
POST
|
The Esri Calcite Maps project demo's have some demos of doing this as well. It places the search control in the navivgation above the desktop breakpoint, and then in the hamburger menu below the breakpoint. It also makes the switch on the resize event. Did you contribute to that solution JGravois-esristaff
... View more
02-27-2018
05:12 AM
|
0
|
1
|
4566
|
|
POST
|
I've been working on a solution to deal with map/feature services not loading on a map. Sometimes ArcGIS for Server has hiccups. I also wanted to have a loading screen disappear after the layers load. I have a CodePen demo with my solution. I'm looking for feedback (positive and negative).
I added a property, isLoaded, that stores a boolean for whether they layer has been loaded or not. It is initially false, and during the "load" event, is changed to true. It is set to false during the "requesterror" event.
I then have an interval timer that checks whether the isLoaded property for all layers is true. If it is, then the loading screen is removed.
During the "requesterror" event, I add some html to a hidden element (modal) that stores an error message. This element is then displayed. Upon closing the modal, the loading screen is removed.
... View more
01-29-2018
05:36 AM
|
1
|
0
|
1242
|
|
POST
|
I've been messing around with the requesterror event. I have a CodePen where I'm testing stuff. If you change the URL for either service to the "bad" URL, there are multiple error messages.
Is there a way to use a conditional statement or other method to only display the message once? For example, just using the straight service URL, as opposed to "/query" or "/exportto"?
I know I could add a generic message, but I would like to add the service URL in the message.
... View more
12-13-2017
12:11 PM
|
0
|
1
|
1075
|
|
DOC
|
I see there a SSL: CERTIFICATE_VERIFY_FAILED error appears a few times. Not sure if this is the culprit, but it could be. What happens if you try to download it using HTTP instead of HTTPS?
... View more
12-08-2017
04:37 AM
|
0
|
0
|
18919
|
|
DOC
|
jskinner-esristaff, can explain or provide a link that describes the logic in the PrintException(error) function? It appears it gets the name of the python script being run. I'm updating a custom tool that is powered by 4 scripts (modules), and want to include which script the error is originating from. I also typically include an EnvironmentError and Exception error except statements. Does this function handle both situations, or would I need to refactor it to be able to handle both exception types? Thanks, Patrick
... View more
11-03-2017
12:10 PM
|
0
|
0
|
18919
|
|
POST
|
Thanks! But that is not the issue I'm having. I want there to be a checkbox that essentially says "Input Farm is from Parcels". If that box is selected, then the user enters in parcel ID numbers. The input dataset for the analysis is then the parcels (which is hard-coded in the script). If that box is not checked, then they input the location of a feature class representing the farm, which is completely different feature class. I essentially want input parameters to be conditional based upon a boolean box.
... View more
10-09-2017
04:18 AM
|
0
|
2
|
3251
|
|
POST
|
I'm developing a custom ArcGIS Desktop tool for my Planning department. I want to provide users with an option for which dataset will be used as an input. I want them to be able to select between 1) a layer (shapefile or featureclass) or 2) one ore more tax parcel ids that will be used to construct a feature layer using select by attribute. Essentially, they will be choosing the layer from which to clip soils. They will either be clipping soils against our tax parcels layer or a special feature class representing a farm. I'd like the tool to only allow for one of these inputs based upon a true/false box parameter. What is the best way to wire this up when creating the custom tool? Thanks, Patrick
... View more
10-06-2017
11:51 AM
|
0
|
4
|
3927
|
|
IDEA
|
When saving an existing map document as a new file, the dialog window defaults to the last place you saved the map. However, it would be better for the default location to be in the same directory as the existing map document you're working with. There have been countless times when I perform save as for a map and it is saved in the wrong project folder.
... View more
09-21-2017
07:19 AM
|
5
|
0
|
1403
|
|
DOC
|
Some of my users reported a small glitch where when they try to type latitude/longitude coordinates into the tool, nothing is entered. I also noticed the map moving behind the widget box when it was open and they were typing. I was not able to reproduce this issue using the same browser and operating system. Just wanted to see if anyone else has had this issue?
... View more
09-18-2017
12:00 PM
|
0
|
0
|
15017
|
|
DOC
|
Apparently the issue was trying to rename the Widget using a "/" character. I tried to name it "Lat/Long Search". But when I tried "Lat-Long Search" it worked.
... View more
08-28-2017
01:08 PM
|
0
|
0
|
15017
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-19-2020 10:49 AM | |
| 1 | 01-24-2020 06:34 AM | |
| 1 | 05-28-2020 10:49 AM | |
| 1 | 05-19-2020 07:30 AM | |
| 1 | 05-27-2020 10:32 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-13-2021
01:35 PM
|