|
POST
|
Alexander, I have been trying to find out how to create a drop down in a value table control, I had posted what I had achieved so far on GIS SE here then discovered this thread on this forum. You say this is not functionality available yet. I guess 10.3 does not have it too?
... View more
01-30-2015
04:10 AM
|
0
|
1
|
3217
|
|
POST
|
I'm not aware of any enumerate that maps to 'Target layer(s) has their centroid in the source layer feature'. If you think about it that is a two-stage process. The input feature class could be a point, line or polygon so the first stage would be extract the centroid then do the spatial relationship test. To get the centroid of a geometry use the interface IArea then you would need to test every point against the input layer using an IspatialFilter. There are many examples on the esri forum for this. An alternative to using low level Arcobjects is to use the IGeoProcessor and call the the Select Layer by Location tool?
... View more
01-15-2015
07:57 AM
|
0
|
0
|
1278
|
|
POST
|
OK worked out what the problem was. I was upgrading from 10.2.2 and the upgrade process did not report any errors when I attempted to install the SDK. I decided to uninstall it and try again. This time it immediately stopped warning me that my version of Visual Studio was not compatible, a message that had not previously appeared. So I downloaded VS 2012, installed that then attempted to install the SDK and this time it all worked... Panic over!
... View more
01-12-2015
12:34 PM
|
2
|
0
|
1168
|
|
POST
|
Help! I have just upgraded my 10.2.2 to 10.3 and installed the ArcObjectsSDKNet. I have Windows 7 Enterprise edition (SP1) and am a local administrator. The ArcGIS templates have all disappeared from Visual Studio and the help files do not seem to exist! I have been using the excellent H3Viewer to access ArcObjects help. It's as if nothing has been installed even when the installation ran without error. Shouldn't there be a Help folder in the Developerkit folder?
... View more
01-12-2015
09:50 AM
|
0
|
1
|
7763
|
|
POST
|
I can't spot anything immediately obvious about the output path. If you search desktop help the error code states: Description The output cannot be created. Potential reasons include data locking, an incorrect path, and limited access rights. Solution Confirm that the data is not locked by another user or application and that you have full rights to the workspace being used. Check to make sure that the path to the data is correct (check for typos in the folder path). Try creating the output in a new location. I would start with say writing to a local c:\temp to confirm that its not a write permissions issues, if that works it would suggest the data has an issue. Try running the clip tool by itself with those datasets to see if the error occurs then?
... View more
01-07-2015
03:14 AM
|
0
|
0
|
851
|
|
POST
|
So you've managed to narrow it down to a single feature? This is good. You could copy that out into its own feature class and manually chop it up into smaller geometries then run that through the buffer and dissolve tools then merge that back into all your other merged data.
... View more
12-26-2014
09:20 AM
|
0
|
1
|
3600
|
|
POST
|
As I understand it the underlying building blocks of desktop is 32bit. So it does not matter if you have the memory, huge storage capacity and the latest cpu it will never be able to utilises them. Your buffering maybe creating some monster geometry that it cannot handle. So if you batch it up into smaller batches with the extra over heading of running the dissolve tool, yes it will be slower but it should run to completion with you doing some final merge. As the risk of sounding flippant the time and effort you have spent researching on this forum you could have done it all by now with a fairly simple model or python script?
... View more
12-25-2014
09:24 AM
|
0
|
4
|
6776
|
|
POST
|
Are you buffering features that are creating some insanely large multi-part buffer? May be you could upload an image of what you are trying to buffer? You may find that if you batch up your buffering (as I suggested) you may overcome this problem?
... View more
12-24-2014
09:04 AM
|
0
|
6
|
6776
|
|
IDEA
|
-->
I often import metadata via the Item Description window from another dataset especially if I am doing similar or repetitive processing. I have got to the Item Description window from the Catalog window. When the import process has completed the Item Description window always hangs for a few seconds and resets itself as the focus has changed in the Catalog window to the parent workspace/feature dataset. This is a really irritating behaviour as I want to be looking at the metadata of the dataset I have just updated not its workspace. The Item Description can be slow to update when I click back on the dataset I have just updated with the import tool. It would be really good if this behaviour is changed so that focus remains on the dataset you are looking at and not its parent workspace. This behaviour also occurs in ArcCatalog.
... View more
12-24-2014
04:11 AM
|
3
|
1
|
524
|
|
BLOG
|
Simon, Thanks for this informative blog. I found it as I was thinking I would like to see a practical example of what happens when you set the vertical coordinate system in ArcGIS. I was creating a mosaic dataset from SRTM and decided to set its vertical coordinates to the EGM96 (something I have never done) to see what happens. Not a lot, I thought something magical would happen say in ArcScene but discovered ArcScene does not support Mosaic datasets! I had worked out that turning on Z allowed me to set a vertical coordinate system of a FeatureClass but so what? Now I know I am showing my ignorance here but what does setting a vertical coordinate system allow you to do/ change in ArcMap? Could you write another short and snappy blog page showing the benefits of setting a vertical coordinate system in a FeatureClass?
... View more
12-23-2014
09:44 AM
|
0
|
0
|
5186
|
|
POST
|
First of all you have set your workspace to nothing! env.workspace = " " This will make your ListRaster() function fail. You then have incorrect syntax in the CopyRaster lines. For example you have: arcpy.CopyRaster_management(name, CopyResults.gdb/name1","DEFAULTS","0","9","","","8_BIT_UNSIGNED") It should be: outname = "CopyResults.gdb/" + name1
arcpy.CopyRaster_management(name, outname ,"DEFAULTS","0","9","","","8_BIT_UNSIGNED")
... View more
12-23-2014
03:38 AM
|
1
|
1
|
3344
|
|
POST
|
David, It is not clear which iterator you are using. So I've assumed you are stepping through a Layer looking at a field with you "names". The model below can easily be adapted if say you are stepping through a folder of datasets (thus a different iterator). You can see in the pop up on the Calculate Value tool how I get to the name part you want. It is a simple text "slice" using python.
... View more
12-22-2014
09:38 AM
|
0
|
0
|
1480
|
|
POST
|
Sounds like you've hit some "internal" problem with the Buffer tool rather than anything to do with your high spec machine. As a solution could you write a simple model and iterate over say batches of 5,000 features, buffer those and do some final merge? I had to do this recently as I was trying to buffer 400,000 points, it was bombing out as you described. When I batched the process it ran slower but it did complete.
... View more
12-22-2014
09:13 AM
|
0
|
4
|
6776
|
|
POST
|
Your code looks OK to me. Don't know if this will help but maybe you can pass in siteGeometry and SearchLayer as "ByRef" rather than "ByVal"?
... View more
12-06-2014
04:52 PM
|
0
|
0
|
1162
|