|
POST
|
Thanks Jonathan, I allowed uploads previously, but the trick was with input type. After changing the input type to a File it worked fine, thanks for the help.
... View more
09-19-2017
10:30 AM
|
0
|
0
|
1268
|
|
POST
|
Hi, I published a Geoprocessing tool that takes a csv file and pass it to XY line tool as shown below. The tool works fine when I add it to the Web App builder, but for the “Input Table” value there is no button to select and browse for the csv file, so what I do is to copy the csv file path and past it in the Input Table value and then the tool works with me. Is there any method to add a browse button to select the CSV file form my local machine ? Thanks, Ahmad
... View more
09-14-2017
01:22 PM
|
0
|
3
|
1607
|
|
POST
|
Thanks Asrujit, I have downloaded ArcGIS for Desktop patch but the issue still there! After the new patch installed the sde user is now able to view the data form the catalog but the windows authenticated user can't view the data. So I would presume that the patch didn't solve the whole issue!
... View more
08-30-2017
03:43 PM
|
0
|
0
|
870
|
|
POST
|
I have 2 enterprise databases which were working fine on 10.4.1, after upgrading to 10.5.1. All features inside one of the databases “d1” disappeared the version of this database is 10.4.1, the other database "d2" works fine after upgrade the version of this database is 10.2.2. Knowing that the two databases are working fine form another machine that runs 10.4.1 desktop with the same user name and password which eliminates any permissions or privileges issues! Have any one experienced this issue before? What might be the issue here?
... View more
08-30-2017
03:06 PM
|
0
|
2
|
1196
|
|
POST
|
Thanks again Jonathan, I tried to change it form [0] to [1] but I keep getting the following message: Failed to execute. Parameters are not valid. ERROR 00732: Output Location. Dataset .... dose not exist or not supported. I think that the tool considers the output path (os.path.join(gdbFile,tableitem.split("DBO.")[1])) as a dataset and tries to store the table inside it! TableList=arcpy.ListTables()
for tableitem in TableList :
arcpy.TableToTable_conversion(tableitem,os.path.join(gdbFile,tableitem.split("DBO.")[1]))
... View more
07-19-2017
01:14 PM
|
0
|
1
|
3190
|
|
POST
|
Thanks Jonathan, it worked fine with me now. another question I am trying do do the same method to use Table to table tool, it seems that the split ("SDE.") fails to truncate database.owner. for the Tables! arcpy.TableToTable_conversion(tableitem,os.path.join(gdbFile,tableitem.split("SDE.")[0])) what do you think ?
... View more
07-19-2017
12:17 PM
|
0
|
3
|
3190
|
|
POST
|
Hi I am trying to write a code that uses “arcpy.CopyFeatures_management” to copy all feature classes inside an Enterprise geodatabase to a Geodatabase. The issue here happens when using FOR loop to copy the whole list of F.C’s to the geodatabase, I am trying to assign the same name for the features. But it seems that there is something that I am missing. I tried different statements for “out_feature_class” with no luck, sometimes the code fails to run or it copies a single F.C only. import arcpy ,sys
adminconn=r'C:\1\b2.sde'
gdbFile=r'c:\1\x.gdb'
arcpy.env.workspace=adminconn
arcpy.env.overwriteOutput=True
SDEfcList=arcpy.ListFeatureClasses()
arcpy.env.workspace=gdbFile
for dataitem in SDEfcList:
fcdesc = arcpy.Describe(dataitem)
arcpy.CopyFeatures_management(dataitem,gdbFile+fcdesc.name) Thanks
... View more
07-19-2017
05:57 AM
|
0
|
6
|
5026
|
|
POST
|
Thanks Dan, this link http://desktop.arcgis.com/en/arcmap/latest/analyze/creating-tools/comparing-custom-and-python-toolboxes.htm what I was looking for.
... View more
07-17-2017
07:55 AM
|
0
|
0
|
3433
|
|
POST
|
I wonder what is the difference between the two tools, the one that created automatically when creating a new “Toolbox.pyt” and the other one that I can create manually inside “Toolbox (2).tbx” which will have the name Script. What I figured out till now is that in order to make Script tool work I should go through the wizard and load my python script and parameters, while the python tool box dosent have a wizard and the code will be written inside the pyt file using the IDE environment. I would like to know which one is better to use? And which one is more stable and more efficient? If there are any limitations on each on of them, and so on. Thanks
... View more
07-13-2017
01:52 PM
|
0
|
2
|
5216
|
|
POST
|
Hello, I wonder if there is a possibility to populate a field automatically, in my case I have 2 F.C’s (Line “Cable” and Point “Cut”) what I am trying to do is the following: A user draws a Point above the line “Cable” (touches the line), by default the Global ID of this cable is generated automatically Now I need the CableGID inside the Point F.C “Cut” to be populated automatically with the GlobalID of the Line F.C. In other words GlobalID “Cable”=CableGID”Cut” Thanks,
... View more
07-13-2017
07:57 AM
|
0
|
0
|
758
|
|
POST
|
Nicholas, I think this is the correct answer, I used to do the same as you deleting the F.C inside the geodatabase without stopping the services to avoid downtime for the services. it seems the the ArcMAP allows you to delete the F.Cs but they still alive in the background to feed the services.
... View more
07-11-2017
07:19 AM
|
0
|
0
|
2920
|
|
POST
|
Hi, I have a geometric network which is hosted inside an enterprise geodatabase, recently I have changed all of the F.C from WGS 1984 to NAD 1983, I have noticed a performance issue when I start editing the network, adding a new point or a new line takes forever! I have done several tests to find the bottleneck of this issue, but nothing I still couldn’t figure it out. I have another database hosted on the same server, there is NO performance issues with it, I think this will eliminate any network connection issues expectations. I have copied the data inside the enterprise database to a local database which is hosted on a test machine, and the performance was great, and I think this means that there is no issues with the geometric network or the F.C’s them self. All versions was deleted before the projection and then created again after projecting the data, this will remove the effects of the old versions. After these tests I would assume that the issue is within the database it self (mdf file) what should I also consider to fix this performance issue. I am running SQL server 2014, and ArcMAP 10.4.1 Thanks, Ahmad
... View more
07-11-2017
07:13 AM
|
1
|
1
|
804
|
|
POST
|
Thanks Mitch this worked fine with me, also I figure out where the error was in my code, it should be written as this: AreaList = ["1000 feet", "23908 feet", "1200000000 feet"] for area in list(AreaList): area=area.replace("feet", "meters") print area by the way I cannot see "mark as correct answer" button next to your name, this is the second time that happens with me!!!
... View more
06-30-2017
11:43 AM
|
1
|
3
|
3721
|
|
POST
|
Hi, I am trying to with a script that replaces the word "feet" to "meter" in a list: AreaList = ["1000 feet", "23908 feet", "1200000000 feet"] for area in list(AreaList): area.replace("feet", "meters") print AreaList but I still see the results as the following: the word feet still in the list! what might be my mistake ? Thanks
... View more
06-30-2017
11:07 AM
|
0
|
9
|
4336
|
|
POST
|
Thanks Jonathan, it worked now, this is helpful. By the way why I cannot see " Mark as correct answer" icon next to your answer!
... View more
06-28-2017
05:32 AM
|
0
|
0
|
1150
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-15-2019 10:54 AM | |
| 3 | 01-08-2019 10:42 AM | |
| 1 | 12-03-2018 12:18 PM | |
| 1 | 08-18-2020 06:32 AM | |
| 1 | 02-21-2018 07:20 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-27-2024
05:35 PM
|