POST
|
Here is what I ran and was returned: import arcpy import datetime now = datetime.datetime.now() arcpy.env.workspace = "https://services.arcgis.com/T2graiaSQnlmwwmp/arcgis/rest/services/Target_Address_7_6_Backup/FeatureServer" arcpy.FeatureClassToFeatureClass_conversion("Target Address New", r"C:\Users\vmrenfor\Consumers Folders\VSR\BackupExports\VSR Back up\VSR Back up.gdb", "Target_Address_{}".format(now.strftime("%m_%d_%Y")) File "<string>", line 8 "Target_Address_{}".format(now.strftime("%m_%d_%Y")) ^ SyntaxError: unexpected EOF while parsing
... View more
12-18-2018
08:06 AM
|
0
|
12
|
622
|
POST
|
I apologize that was the old script. Here is what I am currently looking at: import arcpy
import datetime
now = datetime.datetime.now()
arcpy.env.workspace = "https://services.arcgis.com/T2graiaSQnlmwwmp/arcgis/rest/services/Target_Address_7_6_Backup/FeatureServer"
arcpy.FeatureClassToFeatureClass_conversion("Target Address New",
r"C:\\Users\vmrenfor\Consumers Folders\VSR\BackupExports\VSR Back up\VSR Back up.gdb",
"Target_Address_{}".format(now.strftime("%m_%d_%Y"))
... View more
12-18-2018
07:45 AM
|
0
|
14
|
1052
|
POST
|
So my entire script should look like this?: import arcpy
import datetime
now = datetime.datetime.now()
arcpy.env.workspace = "https://services.arcgis.com/T2graiaSQnlmwwmp/arcgis/rest/services/Target_Address_7_6_Backup/FeatureServer"
arcpy.FeatureClassToFeatureClass_conversion("Target Address New",
"C:\\Users\vmrenfor\Consumers Folders\VSR\BackupExports\VSR Back up\VSR Back up.gdb",
"Target_Address_{}".format(now.strftime("%m_%d_%Y"))
... View more
12-17-2018
05:37 AM
|
0
|
16
|
1052
|
POST
|
I took your suggestion and add "r" before the path and that worked. So now I have: import arcpy arcpy.env.workspace = "https://services.arcgis.com/T2graiaSQnlmwwmp/arcgis/rest/services/Target_Address_7_6_Backup/FeatureServer" arcpy.FeatureClassToFeatureClass_conversion("Target Address New", r"C:\Users\vmrenfor\Consumers Folders\VSR\BackupExports\VSR Back up\VSR Back up.gdb", "Target_Adrress_12_10_2018") BUT, is it possible to change this so that I don't have to specify the date for the out put feature name? So in this example I have 12_10_2018. Is there an option that would automatically change this to the current date? Further is it possible to make this run once a week with out me having to input it?
... View more
12-12-2018
05:23 AM
|
0
|
18
|
1052
|
POST
|
Yes I am trying to sign into AppStudio desktop using my enterprise log in
... View more
12-12-2018
05:17 AM
|
0
|
1
|
583
|
POST
|
Is it possible to lesson the Location Tracking interval between recordings? Currently the shortest period allowable on ArcGIS Online is 30 seconds. If I could change this to, say, every 5 seconds this capability would be much more useful.
... View more
12-11-2018
12:01 PM
|
0
|
0
|
271
|
POST
|
When I attempt to sign into the AppStudio for ArcGIS application I get a sign in box that says: Please copy this code, switch to your application and paste it there: with a random alphanumeric code. Why am I getting this, and where exactly am I supposed to be pasting this?
... View more
12-11-2018
11:29 AM
|
0
|
6
|
744
|
POST
|
I am trying to create a script that will automate a Feature Class to Feature Class OR Feature Class to File Geodatabase Conversion. I want to save this in a folder as a back up once a week in case I lose my current data for any reason or need to revert to that download date. So far I have the following code just for the FC to FC operation, and am recieving the error that follows.: import arcpy
arcpy.env.workspace = "https://services.arcgis.com/T2graiaSQnlmwwmp/arcgis/rest/services/Target_Address_7_6_Backup/FeatureServer"
arcpy.FeatureClassToFeatureClass_conversion("Target Address New",
"C:\\Users\vmrenfor\Consumers Folders\VSR\BackupExports\VSR Back up\VSR Back up.gdb",
"Target_Adrress_12_10_2018")
Traceback (most recent call last):
File "<string>", line 5, in <module>
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\conversion.py", line 860, in FeatureClassToFeatureClass
raise e
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\conversion.py", line 857, in FeatureClassToFeatureClass
retval = convertArcObjectToPythonObject(gp.FeatureClassToFeatureClass_conversion(*gp_fixargs((in_features, out_path, out_name, where_clause, field_mapping, config_keyword), True)))
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 496, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Output Location: Dataset C:\Users mrenfor\Consumers Folders\VSR\BackupExports\VSR Back up\VSR Back up.gdb does not exist or is not supported
Failed to execute (FeatureClassToFeatureClass).
Any thoughts on how I can fix this error would be appreciated. I would then like this to be run each subsequent week, naming the file "Target_Address_{Current Date}.
... View more
12-10-2018
10:43 AM
|
0
|
23
|
2452
|
POST
|
Awesome! That worked, though I had to make two separate links, one for the web app and another for the field app. And I had to use the long form of the survey URL. I could not use the shortened form that is given within "Collaboration" tab in the web app builder.
... View more
10-03-2018
09:03 AM
|
0
|
1
|
312
|
POST
|
I am trying to figure out how to migrate data from points in collector to auto populate in Survey123. I created a form in Survey123, then embedded a link to the form in the popup for a layer which is viewed in Collector, so when you click on a location point the link shows up along with other attributes/data. I want some of the attribute fields that are also present for the location to auto populate in the Survey123 form. For example; every location point has an address field, so when you click on the link within a point I want the address attributed to that location point to auto populate inthe address filed in the Survey123 location. I have built out the Survey123 form in Survey123 Connect for ArcGIS Version 3.0.142
... View more
10-02-2018
12:58 PM
|
0
|
3
|
801
|
POST
|
When I go through the above mentioned path and find python.exe, and set that location as the Conda executable file I receive the below failure message. But I do find this file when I follow the path in windows explorer...
... View more
10-01-2018
04:27 PM
|
0
|
1
|
3080
|
POST
|
Hi Josh, In following the steps in the Configuring Python Interpreter - Help | PyCharm, I get stuck at step 3, "Specify the location of the Conda executable file in the text field, or click and find location in the Conda installation directory." What is the "Conda executable file"? Was this installed with Conda? What format is it in? Where should I expect to find it?
... View more
09-28-2018
11:34 AM
|
0
|
6
|
3080
|
POST
|
I am trying to figure out how to migrate data from points in collector to auto populate in Survey123. I created a form in Survey123, then embedded a link to the form in the popup for a layer which is viewed in Collector, so when you click on a location point the link shows up along with other attributes/data. I want some of the attribute fields that are also present for the location to auto populate in the Survey123 form. For example; every location point has an address field, so when you click on the link within a point I want the address attributed to that location point to auto populate inthe address filed in the Survey123 location. I have built out the Survey123 form in Survey123 Connect for ArcGIS Version 3.0.142
... View more
09-28-2018
07:19 AM
|
1
|
1
|
495
|
Title | Kudos | Posted |
---|---|---|
1 | 07-29-2019 07:46 AM | |
1 | 04-18-2019 01:39 PM | |
1 | 09-28-2018 07:19 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|