POST
|
Hi, I'm trying to list the properties of all the services from GIS Server using python. Is there any sample script with validating the user and password credentials?
... View more
12-05-2018
06:59 AM
|
0
|
5
|
3215
|
POST
|
Hi. I would like to fetch the list of the Webmap published in Arcgis Portal. I came through documentation that it is possible using Portal PY module. The question is that whether it is possible to run a portal py script on a client machine(end user) ,since Portal for ARCGIS is installed on Server and not on my machine. If it has to be ran on client machine, what are the prerequisites needed. Also, whether is it possible to fetch the list of Webmaps published, using Arcpy scripts !!!
... View more
11-02-2018
05:46 AM
|
0
|
1
|
582
|
POST
|
The scenario is that i've to convert a .rft file to .lyr file or i've to read the color codes from .rft file. Please suggest whether it is possible!
... View more
07-24-2018
03:12 AM
|
0
|
1
|
564
|
POST
|
Yes Dan. I've a feature class of a continent. I need to publish as a web map so that it should render fast.
... View more
03-22-2018
02:42 AM
|
0
|
4
|
862
|
POST
|
Is it possible to create a vector tile cache using ArcGIS Desktop 10.5!!
... View more
03-21-2018
12:55 AM
|
0
|
6
|
1812
|
POST
|
How to fetch the List of Layers and Services in ArcGIS SERVER using ARCPY?
... View more
02-02-2018
11:48 PM
|
0
|
3
|
910
|
POST
|
What is the purpose of creating Random Raster and Normal Raster and in which application side it might be used...Pls explain
... View more
12-25-2017
11:41 PM
|
0
|
1
|
481
|
POST
|
I've created a Mosaic dataset..After Defining No Data value as "0" to the all Bands i have the output attached in .Png Format...Still i've to fill the gaps between the images and eliminate the artifacts... How can i do it.... i tried with the Function for Raster Calculator posted in previous threads Con(IsNull("raster"), FocalStatistics("raster", NbrRectangle(5,5, "CELL"), "MEAN"), "raster").. But Still i've the problem.... Pls provide valuable suggestions....
... View more
12-07-2017
11:37 PM
|
0
|
1
|
524
|
POST
|
i'm selecting a row and based on that row value i'm trying to update using update cursor for the "LAB field". May be if condition is not working fine... Its not updated... I dont know what is the error..Kindly suggest arcpy.MakeFeatureLayer_management("PT_10K","Ten_FL") arcpy.MakeFeatureLayer_management("PT_50k","Fifty_FL") with arcpy.da.SearchCursor("PT_50k", ["ORIG_FID"]) as cursor: i = 1 for row in cursor: #print("Feature has x and y as of {1}{2}".format(row[1],row[2])) arcpy.MakeFeatureLayer_management ("PT_50k","Layer") arcpy.SelectLayerByAttribute_management("Layer","NEW_SELECTION",'"ORIG_FID" = {0}'.format(i)) arcpy.CopyFeatures_management("Layer","Fifty_FLY") print i i = i + 1 #arcpy.SelectLayerByLocation_management("Line_FL","WITHIN_A_DISTANCE","Trans_FL", "0.02 meters", "NEW_SELECTION") arcpy.SelectLayerByLocation_management("Ten_FL","HAVE_THEIR_CENTER_IN","Fifty_FLY","14 meters","NEW_SELECTION") arcpy.CopyFeatures_management("Ten_FL","Ten_temp1") fields = ['LAB','X','Y'] with arcpy.da.UpdateCursor('Ten_temp1',fields) as cursor1: print "Cursor Assigned" j = 1 for row in cursor1: x = row[1] y = row[2] if ((x == float(72.025000000129992)) and (y == float(35.77500392976323))): row[0] = 'A' print "row updated" cursor1.updateRow(row) elif x == 72.036 and y == 35.775: row[0] = 'B' print "row updated as B" else: print "not updated" print j j = j + 1 arcpy.Append_management("Ten_temp1","Ten_temp2","NO_TEST") arcpy.SelectLayerByAttribute_management ("Layer","CLEAR_SELECTION") arcpy.SelectLayerByAttribute_management("Ten_FL","CLEAR_SELECTION") print "Selected Rows Cleared" arcpy.DeleteFeatures_management("Ten_temp1") arcpy.Delete_management("Layer") arcpy.Delete_management("Fifty_FLY")
... View more
10-24-2016
11:11 PM
|
0
|
1
|
897
|
POST
|
My feature class consists of several fields with name as Objectid,Objectid_1,objectid_2,objectid_12 due to spatialjoin and exporting.. I require only the recent object Id and delete all other fields..How to find and execute in arcpy!!!!
... View more
10-17-2016
11:46 PM
|
0
|
1
|
861
|
POST
|
I'm trying to export the features from one Feature class to another in python... the syntax is arcpy.FeatureClassToFeatureClass_conversion("Line1", "D:\Arcsde\Transects_Test\Naliya2\Test\Merge.gdb", "Line_Temp1") But it throws error File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\conversion.py", line 1675, in FeatureClassToFeatureClass raise e ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Input Features: Dataset Line1 does not exist or is not supported Failed to execute (FeatureClassToFeatureClass).
... View more
10-14-2016
01:44 AM
|
0
|
1
|
1251
|
POST
|
I'm selecting a set of rows using using "Iteration Row Selection"and "select based on location tool" using FC1 & FC2 in a model and copying to another layer . Next step i've to clear the selection of FC2 and make new selection based on the iteration of FC1. How do i clear the selection in model Builder?
... View more
10-04-2016
06:02 AM
|
0
|
1
|
818
|
POST
|
i ve group of 2500 points which are ordered in few rows and columns in equal intervals and i ve to name the attribute in 3 x 3 matrix format with a notation (eg.. 1aa,1ab,1ac,1ba,1bb,1bc,1ca,1cb,1cc) For the next set i ve to go and name it (eg.. 2aa,2ab,2ac,2ba,2bb,2bc,2ca,2cb,2cc) How can i go with it using python...
... View more
08-04-2016
05:13 AM
|
0
|
1
|
1039
|
Title | Kudos | Posted |
---|---|---|
1 | 11-04-2023 09:38 AM | |
1 | 04-25-2022 01:30 AM | |
1 | 12-03-2021 01:21 AM | |
1 | 01-21-2021 02:42 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|