|
POST
|
Hi Charles, Is this occurring for any raster dataset you try to rectify, or is it just one in particular? Do you have Service Pack 1 installed?
... View more
07-22-2013
03:40 AM
|
0
|
0
|
6615
|
|
POST
|
Hi Teresa, How are you uploading the new data on each feature class (i.e. Append tool)?
... View more
07-22-2013
03:35 AM
|
0
|
0
|
961
|
|
POST
|
Hi Cory, If you have ArcGIS for Server, I would recommend creating a feature service and have the users edit this through a web map. With a feature service, you can configure which editing operations are allowed. For example, you can disable the delete operation: http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000393000000
... View more
07-22-2013
03:24 AM
|
0
|
0
|
2067
|
|
POST
|
Try the following query: select objectid from P10TN_SIG.DBO.BCBATIMS where Shape.STArea() > 200
... View more
07-19-2013
04:31 AM
|
0
|
0
|
1589
|
|
POST
|
Hi Ben, In your SQL statement, you have [objectid). Change this to [objectid].
... View more
07-19-2013
03:35 AM
|
0
|
0
|
1589
|
|
POST
|
Hi Shane, You can use the IDW tool to interpolate a raster surface from points. The resulting raster can then be used in ArcScene.
... View more
07-17-2013
08:43 AM
|
0
|
0
|
1063
|
|
POST
|
Hi Gyeyoung, Try setting the height of your div to limit the number of rows returned. Ex: <div class ="toggle" id="menu_subA" style="height:55px;">Enter building number, name and abbreviation<br>
<input type="text" id="searchField" size="30" value="" /><button data-dojo-type="dijit.form.Button" onClick="doFind();" value="Search">Search</button>
<table data-dojo-type="dojox.grid.DataGrid" data-dojo-id="grid" id="grid" data-dojo-props="rowsPerPage:'1', rowSelector:'10px'">
<thead>
<tr>
<th field="Number" width="50">Num</th>
<th field="Abbrev" width="50">Abbr</th>
<th field="CampusCode" width="50">Camp</th>
</tr>
</thead>
</table>
</div>
... View more
07-17-2013
04:41 AM
|
0
|
0
|
2127
|
|
POST
|
Hi Jose, Can you post the script's code? This will help in troubleshooting this issue.
... View more
07-15-2013
03:42 AM
|
0
|
0
|
1069
|
|
POST
|
Hi Chris, When querying NULL values, you will want to use the syntax "Field IS NULL". You will also want to iterate through your fields list and set the query up for each field name. Here is an example: import arcpy
from arcpy import env
env.workspace = r"C:\temp\python\test.gdb"
fields = ["OBJECTID", "Name", "Address"]
for dirpath, dirnames, filenames in arcpy.da.Walk(env.workspace):
for filename in filenames:
for field in fields:
where = field + " IS NULL"
try:
with arcpy.da.SearchCursor(filename, fields, where) as cursor:
for row in cursor:
print("OBJECTID {0}").format(row[0]) + " in " + filename + " has a NULL value in field " + field
except RuntimeError:
pass
del row, cursor
... View more
06-21-2013
09:07 AM
|
2
|
0
|
4174
|
|
POST
|
Hi Jan, I believe the problem is with the arcpy.mapping.MapDocument function. After performing some tests, it doesn't seem like you can use a UNC path with this function. For example, if I run the following code the MXDs will not be updated: import arcpy, os, sys folderpath = r"\\server\temp\python" arcpy.env.workspace = r"\\server\temp\python" for file in arcpy.ListFiles("*.mxd"): mxd = arcpy.mapping.MapDocument(os.path.join(folderpath,file)) oldpath = r"C:\Temp\Python\Test.gdb" newpath = r"\\server\Temp\Python\Test.gdb" mxd.findAndReplaceWorkspacePaths(oldpath, newpath) mxd.save() del mxd However, if I replace the 'folderpath' variable with an absolute path, the code will update the MXDs successfully: import arcpy, os, sys folderpath = r"C:\temp\python" arcpy.env.workspace = r"\\server\temp\python" for file in arcpy.ListFiles("*.mxd"): mxd = arcpy.mapping.MapDocument(os.path.join(folderpath,file)) oldpath = r"C:\Temp\Python\Test.gdb" newpath = r"\\server\Temp\Python\Test.gdb" mxd.findAndReplaceWorkspacePaths(oldpath, newpath) mxd.save() del mxd I'm not sure if this is by design, or if this is a bug. May be worth logging an incident with tech support. Are you able to use an absolute path rather than a UNC path for the folderpath variable?
... View more
06-18-2013
11:18 AM
|
0
|
1
|
2000
|
|
POST
|
Thanks, Kelly! I previously tried creating/destroying the editor: function startEditing(){
disableFeatureLayerPopups();
dojo.connect(map, "onLayersAddResult", initEditing);
map.addLayers([featureLayer]);
}
function initEditing(results) {
var layers = dojo.map(results, function(result) {
return {
"featureLayer": result.layer
};
});
var settings = {map: map, layerInfos: layers};
var params = {settings: settings};
editorWidget = new esri.dijit.editing.Editor(params, 'editorDiv');
editorWidget.startup();
} This worked with the 3.3 API, but not with 3.4/3.5. I also ran into issues with the infoTemplate. Your example did the trick though. One thing to note is I found out from another thread that the container div the editorWidget resides in is deleted after the widget is destroyed. After stopping an edit session, I was unable to start another. Adding the following line to the stopEditing function resolved this: dojo.create("div", {id: "editorDiv"}, "leftPane"); Thanks for the help!
... View more
06-18-2013
03:54 AM
|
0
|
0
|
1000
|
|
POST
|
Hi everybody, Hope you are fine. I need to know how to convert from a coordinate system of a layer to another coordinate using ArcObjects .net SDK. Thanks in Advance 🙂
... View more
06-18-2013
03:20 AM
|
0
|
1
|
1177
|
|
POST
|
Hi Patrick, If the field is of type Text, you will want to wrap the text in quotes, i.e. "data".
... View more
06-17-2013
11:56 AM
|
0
|
0
|
694
|
|
POST
|
Try running the Make Table View and Copy Rows tool outside of your script. Are you able to reproduce the same issue? Is the issue reproducible if these tools are executed on a different table?
... View more
06-17-2013
11:48 AM
|
0
|
0
|
1719
|
|
POST
|
Hi Anthony, Have you tested this outside of your script? Can you post your script? If copying/pasting the code, don't forget to wrap it in CODE tags using the "#" symbol.
... View more
06-17-2013
10:15 AM
|
0
|
0
|
1719
|
| 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 |
Online
|
| Date Last Visited |
6 hours ago
|