POST
|
Hello, Anyone know how to retrieve Web services properties from the ArcGIS Server administration console ? My goal is to republish a service by keeping the previously defined properties. I'm looking to automate this part because I administer about 80 web service. Thanks for your help
... View more
11-17-2015
03:44 PM
|
0
|
1
|
1544
|
POST
|
Hello, I have a problem with the Charts widget. I try to represent rainfall following the month of the year by stations. To display the widget mixture Charts month. There is a problem with the order of the bars of the charts. There is no logic, following stations. Examples: station 1 August / February / December / etc ... station 2 November / January / May / October / etc ... Anyone know how to fix this problem ? Thanks
... View more
11-02-2015
08:23 PM
|
0
|
0
|
2540
|
POST
|
Hello Joshua and Dan, These data are not versioned. These are data from one of our partners. They take care to versioning. Our organization recovers data via their FTP. The data that we update, have a comparable table structure of an update to another. There may be new entities or additional information in the fields. I use the functions: arcpy.DeleteFeatures_management () To clear the table for these records arcpy.CopyFeatures_management () To fill the table with records last days Because the data can be used by other users when I wish performed the update. These same users are warned in advance that an update will take place. They are not surprised. A document is even sent them for their explained what those updates. Thank you both
... View more
04-24-2015
10:23 PM
|
0
|
1
|
802
|
POST
|
I can not use the tool "Feature Class To Feature Class (Conversion)" That's why I use the tool arcpy.DeleteFeatures_management (). I work in an organization with many users who use data during updates. This tool allows the updates even when users are connected to the base. Process: arcpy.DeleteFeatures_management () To clear the table for these records arcpy.CopyFeatures_management () To fill the table with records last days Thank you
... View more
04-23-2015
07:47 PM
|
0
|
0
|
802
|
POST
|
Thank you very much for the quick reply. Here is my script: import arcpy, os from arcpy import env env.workspace ="M:\UTILISATEURS\Pierre\connexion SDE\srv-arcsde.recif.nc@sde_ore_adm.sde\SDE_ORE_ADM.TEST" lst_destination = arcpy.ListFeatureClasses() for fc in lst_destination: arcpy.DeleteFeatures_management(fc) print fc + " is delete" So far, so good. This is the next step that I have a problem. I can not seem to communicate this list with another list, to come to copy the new entities in the feature classes that have been deleted.
... View more
04-23-2015
04:43 PM
|
0
|
5
|
802
|
POST
|
Hello, I'm having trouble with lists. I work on two different workspaces The first is a file geodatabase (a) The second is an SDE geodatabase (b) The aim is to remove the contents of feature classes contained in a list (b) So far so good Then copy the new records (a) in the entity classes of (b) To delete the records I use arcpy.DeleteFeatures_management () function To complete the feature classes with the new content I use the function arcpy.CopyFeatures_management () Thank you for your help
... View more
04-23-2015
04:03 PM
|
0
|
7
|
3845
|
POST
|
Hello, I am a beginner in python. I would like to develop a toolbox from a python script that allows the user to choose a keyword to be used in the tool below. lst_user = [word1, word2, etc. ...] for user in lst_user: user = arcpy.GetParameterasText (0) ChangePrivileges_management (donnee_SDE, user, {View} {Edit}) I have a second question !!! How can I capture the data entered by the user. The goal is then to increment a file with that data. data_source = arcpy.GetParameterasText (1) Thank you for your help
... View more
03-20-2015
04:57 PM
|
0
|
0
|
3475
|
POST
|
Hello, I try to get the source of each "map layer". Does anyone have an idea? I need a syntax like this: map layer: ... , source: ... map layer: ... , source ... This is the beginning of code import arcpy, os path = "....." for fileName in os.listdir (path): fullPath = os.path.join (path, fileName) if os.path.isfile (fullPath): basename, extension = os.path.splitext (fullPath) lyrname = arcpy.mapping.Layer (fullPath) lyrlist = arcpy.mapping.ListLayers(lyrname) print "Nom du Fichier: " print fileName print"" print "Nom de la couche : " print lyrname print"" print "Couches contenu: " print lyrlist print"" RESULT: Nom du Fichier: DTSI_aires_protegees_provinciales.lyr Nom de la couche : aires_protegees_provinciales Couches contenu: [<map group layer u'aires_protegees_provinciales'>, <map layer u'Aires prot\xe9g\xe9es provinciales marines'>, <map layer u'Aires prot\xe9g\xe9es provinciales terrestres'>] Thank you
... View more
09-15-2014
05:01 PM
|
0
|
2
|
1227
|
POST
|
Hello, I work in a folder containing about 250 .lyr I wish i could list the layers contained in each of .lyr I don't know if it's possible ? Has anybody any idea Thank you for your help
... View more
09-09-2014
10:39 PM
|
0
|
4
|
1615
|
POST
|
Hello, I work with ModelBuilder, on feature class present inside dataset in SDE. See attachment please. The model runs in this order: 1) COPY 2) COPY OF ENTITIES 3) DELETE ENTITIES 4) APPEND 5) CHANGE PRIVILEGES 6) ADD SPATIAL INDEX The tool operates correctly to step 6). At this stage, it returns me an error message. This indicates that someone is using the data and therefore step 6) can not be executed. How can I solve this problem?
... View more
06-03-2014
08:46 PM
|
0
|
0
|
535
|
POST
|
Hello, I work on SDE data bases. I would list all the entities classes ending in "_OLD". However in my database SDE I've feature classes and datasets entities. I would like the script gives a complete list of feature classes ending in "_OLD". Thank you for your help.
... View more
06-03-2014
08:34 PM
|
0
|
1
|
664
|
POST
|
"Hello, I am looking for an automatic vectorization method to obtain the contours in 1/3000 of my objects. I ArcGIS 10.0 with extension ArcInfo. My raster file (TIFF) is a forest base map where I want Polygonize objects classified as follows: forest, without forest and trail. The objective is to get a file .shp polygon contours of each object classification. I tried several methods: by Spatial Analyst Raster to vector 'that gave nothing, partly because the file is too heavy. Another, using ArcScan but the contours of polygons are imprecise. And finally supervised classification using spectral signatures, which gives a more accurate result but after processing raster to vector via ArcScan the result is not terrible ... Thank you for your help.
... View more
05-04-2014
04:41 PM
|
0
|
1
|
926
|
POST
|
Hello Andrew, I tried the code, it returns me error message >>> import arcpy >>> from arcpy import mapping >>> mxd=mapping.MapDocument("CURRENT") >>> layers=mapping.ListLayers(mxd) >>> for lyr in layers: ... outMin = arcpy.CreateUniqueName("enveloppe",arcpy.env.scratchGDB) ... arcpy.MinimumBoundingGeometry_management(lyr,outMin,"CONVEX_HULL","NONE") ... Runtime error Traceback (most recent call last): File "<string>", line 3, in <module> File "e:\program files\arcgis\desktop10.2\arcpy\arcpy\management.py", line 2576, in MinimumBoundingGeometry raise e ExecuteError: ERROR 000622: L�??exécution a échoué (Emprise géométrique minimale). Paramètres incorrects. ERROR 000623: Type de valeur non valide pour le paramètre in_features.
... View more
01-05-2014
12:23 PM
|
0
|
0
|
251
|
POST
|
Hello and Happy New Year to all, I work with a document .mxd. All my data from SDE. I would like to put these data into a list and then iterate with each tool "arcpy.MinimumBoundingGeometry_management". Thank you for your help
... View more
01-01-2014
04:40 PM
|
0
|
3
|
594
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|