|
POST
|
You will want to use the Feature Class to Shapefile function.
... View more
04-11-2013
07:06 AM
|
0
|
0
|
694
|
|
POST
|
Try the following for your where clauses: whereClause = '"' + crimeField + '" <=' + "'" + crimefieldindex + "'"
whereClause2 = '"' + universityField + '" =' + "'" + universityfieldindex + "'" And for your select by attribute, try the following: arcpy.SelectLayerByAttribute_management(citiesL, "NEW_SELECTION", whereClause + "AND" + whereClause2)
... View more
04-11-2013
05:31 AM
|
0
|
0
|
3802
|
|
POST
|
Hi Stephen, Syntax for the Calculate Field tool can be tricky. Change your two variables to the following: Columnname= "Cellname1" Unitname = '"' + str(applist[3]) + '"' The expression needs to have quotes at the start and end, even if the variable is a string.
... View more
04-10-2013
11:40 AM
|
0
|
0
|
1391
|
|
POST
|
Hi Manlee, You can use the Feature Compare tool to compare feature classes. There is an option to compare only the schemas. You could script it so that you iterate through each feature class in each geodatabase.
... View more
04-03-2013
04:03 AM
|
0
|
0
|
1337
|
|
POST
|
What's the error you receive when you try to execute the code on the second field? You can see a more detailed explanation in the 'Results' window. I could not reproduce this (see screen shots below). [ATTACH=CONFIG]23155[/ATTACH][ATTACH=CONFIG]23156[/ATTACH][ATTACH=CONFIG]23157[/ATTACH]
... View more
04-03-2013
03:04 AM
|
0
|
0
|
9083
|
|
POST
|
Are you looking to merge these two shapefiles together? You can do this using the Merge tool.
... View more
04-02-2013
11:33 AM
|
0
|
0
|
2361
|
|
POST
|
Hi Artie, For your FeatureLayer, do you have the 'outFields' property set to "*"? Ex: var pointsOfInterest = new esri.layers.FeatureLayer(featLayer,{ mode: esri.layers.FeatureLayer.MODE_ONDEMAND, outFields: ["*"] });
... View more
04-01-2013
08:46 AM
|
1
|
0
|
1126
|
|
POST
|
Hi Eric, This can be accomplished through python. You can easily export your model out to python in model builder by clicking Model > Export > To Python. Then you would just need to update the python script. For example: import arcpy
string = arcpy.GetParameterAsText(0)
if string == "Ammonia":
<code>
if string == "pH":
<code>
if string == "VSS":
<code>
if string == "COD":
<code>
You would want to replace <code> with the exported python code from model builder that you would like executed when the user selects the string value. After you are finished updating the python file, you can add the script back to your toolbox (right-click on your toolbox > Add > Script). Once the script is added, right-click on the script > Properties > Parameters tab. Set up a parameter with a data type of 'String' and set the 'Filter' property to 'Value List'. You can then add the required string values: [ATTACH=CONFIG]23114[/ATTACH] Once this is set up, when user's execute the script they will be presented with a drop down of values: [ATTACH=CONFIG]23115[/ATTACH]
... View more
04-01-2013
07:44 AM
|
0
|
0
|
7233
|
|
POST
|
Hi Joshua, Looks like you are working with a shapefile. Convert this to a feature class by performing the following steps: 1. Right-click on a folder > New > File Geodatabase 2. Right-click on the File Geodatabse > Import > Feature Class (single) 3. Browse to the shapefile as the input and specify a name Add the feature class to ArcMap and see if you can create a point within a couple centimeters from another.
... View more
04-01-2013
06:35 AM
|
2
|
0
|
2076
|
|
POST
|
Yes, I would assume you can accomplish this with ArcObjects. I would post this question in the ArcObjects forum.
... View more
04-01-2013
06:05 AM
|
0
|
0
|
1360
|
|
POST
|
You could do something like below: lstDatasets = arcpy.ListDatasets("*") for dataset in lstDatasets: lstFCs = arcpy.ListFeatureClasses("road_*", "", dataset) for fc in lstFCs: if "NS" in fc: oldName = str(fc) newName = oldName.replace("road", "RD") newName = newName.replace("NS", "_NS12_13") arcpy.Rename_management(fc, newName)
... View more
04-01-2013
06:01 AM
|
1
|
0
|
7751
|
|
POST
|
All, I am trying to use some of the functionality of the PSCOP which allows download of dynamic weather data, this works really well, and updates every 15 mins via a python script, I am then trying to use this data to build a raster surface (Temperature) in an SDE database, which also works (Model Maker which I will convert to a python script later), the issue is, it will not overwrite the raster, but appends a sequential number and creates further raster�??s. I need it to overwrite as I want to serve the raster in ArcGIS Server, just can�??t seem to find the solution, and don�??t want to over complicate this by then creating a vector, but may have to do that, Any ideas and assistance would be greatly appreciated. What is the workflow you are using to create the raster surface in your SDE geodatabase?
... View more
04-01-2013
04:58 AM
|
0
|
0
|
1112
|
|
POST
|
What is your XY tolerance for the feature class you are editing? You can check by right-clicking on the feature class in the catalog window > Properties > Tolerance. You will want to make sure that you are not entering a distance smaller than what the tolerance is set to. The XY tolerance is the minimum distance between coordinates before they are considered equal. See the following link: http://resources.arcgis.com/en/help/main/10.1/index.html#//003n00000005000000
... View more
04-01-2013
04:17 AM
|
0
|
0
|
2076
|
|
POST
|
Hi Claire, The organization may have implemented security on this folder so that you need a username/password in order to access it.
... View more
04-01-2013
03:29 AM
|
0
|
0
|
633
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 4 | 05-07-2020 05:14 PM | |
| 1 | 03-25-2026 04:16 AM | |
| 1 | 03-16-2026 01:00 PM | |
| 1 | 12-22-2025 10:39 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|