|
POST
|
Have you looked to see what's available at http://www.esri.com/training/main
... View more
09-10-2015
10:35 AM
|
0
|
4
|
2783
|
|
POST
|
If you're getting the names of the feature classes via arcpy.ListFeatureClasses is there a reason why you'd need to check if they exist? The ListFeatureClasses method would only list the feature classes if they existed.
... View more
09-09-2015
09:54 AM
|
1
|
2
|
2623
|
|
POST
|
If it helps any, I'm running 10.3.1 on my Windows 10 Pro machine and I haven't run into any problems as of yet. My laptop has both an NVIDIA GeForce GT 750M and Intel HD 4600 graphics cards. I'm also running a i7 processor with 16GB of RAM.
... View more
09-08-2015
04:33 PM
|
1
|
0
|
1724
|
|
POST
|
ArcGIS Desktop doesn't support Windows 10 as of yet. Other than that as long as your graphics cards meets minimum the specs on the page you listed everything should be fine (i.e 64 or more MB RAM, OpenGL version 2 and Shader Model 3 or higher, etc.). Also, having an i5 or i7 processor shouldn't make much of a different. You'll just want to make sure whatever you have meets the 2.2 GHz minimum. If you have any doubts about checking the specs of your machine you can run the "CanYouRunIt" utility and a program will analyst your specs and inform you if you'd be able to run the software.
... View more
09-08-2015
04:27 PM
|
1
|
0
|
1724
|
|
POST
|
Where is the data stored (Shapefile, personal gdb, file gdb, enterprise geodatabase)? Where is this data stored relative to your machine (local to the machine, on a remote server, etc.) What are you updating within the data? How are you updating the data in ModelBuilder vs Python?
... View more
09-08-2015
04:21 PM
|
0
|
2
|
1274
|
|
POST
|
ListTools and ListToolboxes are designed to display the toolboxes that have been loaded into the arcpy site package (i.e. tools that are setup to load by default, such as the out-of-the-box ArcGIS tools and tools loaded via a call to the arcpy.ImportToolbox function). This workflow works for me using the arcpy.da.Walk method, but it appears that if you specify the datatype as Toolbox it will not locate the toolboxes stored within a geodatabase. I've listed the logic I used below for you to review. You should see that the first two options return all toolboxes within a directory except for those that exist within a geodatabase structure. I believe this is what you're seeing. My third example shows how I get around this and list all of the toolboxes regardless if they're a file on disk or stored within the geodatabase structure. import arcpy
import os
import uuid
# First Option
def LocateToolboxes1(workspace):
walk = arcpy.da.Walk(workspace, datatype="Toolbox")
for dirpath, dirnames, filenames in walk:
for filename in filenames:
print(os.path.join(dirpath, filename))
# Second Option
def LocateToolboxes2(workspace):
walk = arcpy.da.Walk(workspace, datatype="Toolbox")
for dirpath, dirnames, filenames in walk:
if (dirpath.endswith(".tbx")):
print("TBX: {0}".format(dirpath))
alias = arcpy.ValidateFieldName(str(uuid.uuid4()).split("-")[-1])
arcpy.ImportToolbox(dirpath, alias)
for tool in arcpy.ListTools("*_{0}".format(alias)):
print("...TOOL: {0}".format(tool))
# Third Option
def LocateToolboxes3(workspace):
walk = arcpy.da.Walk(workspace)
for dirpath, dirnames, filenames in walk:
tbxPaths = []
if (dirpath.endswith(".tbx")):
tbxPaths.append(dirpath)
elif (dirpath.endswith(".gdb")):
for dirname in dirnames:
tbxPath = os.path.join(dirpath, dirname)
if (arcpy.Describe(tbxPath).dataType == "Toolbox"):
tbxPaths.append(tbxPath)
if (tbxPaths == []):
continue
for tbxPath in tbxPaths:
print("TBX: {0}".format(tbxPath))
alias = arcpy.ValidateFieldName(str(uuid.uuid4()).split("-")[-1])
arcpy.ImportToolbox(tbxPath, alias)
for tool in arcpy.ListTools("*_{0}".format(alias)):
print("...TOOL: {0}".format(tool))
if __name__ == '__main__':
tbxFolder = r"C:\Users\Freddie\Desktop\Toolboxes"
print("### OPTION 1 ###")
LocateToolboxes1(tbxFolder)
print("\n### OPTION 2 ###")
LocateToolboxes2(tbxFolder)
print("\n### OPTION 3 ###")
LocateToolboxes3(tbxFolder)
... View more
09-08-2015
03:33 PM
|
1
|
3
|
3150
|
|
POST
|
It looks like everything is installed just fine on your machine. You should be able to use one of the options shown in your screenshot to build an ArcObjects COM component. Are you not able to use one of these templates to build your custom component? For example, the following page would walk you through how to create a button. Create a command by inheriting from BaseCommand http://resources.esri.com/help/9.3/ArcGISDesktop/dotnet/concepts_start.htm
... View more
09-08-2015
12:19 AM
|
1
|
1
|
2026
|
|
POST
|
Can you look over the screenshots shown below and send me the equivalents of them on your machine. The top reflects my New Project window in Visual Studio (VS) 2013. My machine has 10.3.1 installed, which supports VS 2012 and 2013. The bottom window reflects the installer for the ArcObjects SDK. It will show you which version of VS it has integrated with on your machine. You'll note that although I have VS 2013 and 2015 on my machine, the installer doesn't pick up my VS 2015 install because it isn't supported by the software.
... View more
09-07-2015
08:20 PM
|
0
|
1
|
2026
|
|
POST
|
Do you have a copy of the ArcObjects SDK for 9.3.X? If not, you would probably need to contact Esri to purchase an EDN Subscription so that you can get access to the ArcObjects SDK. Once you have access to the SDK you'd install it on your machine and it should install the templates needed to create projects into Visual Studio. As for tips on learning how to write ArcObjects code, I would suggest reviewing the following book. http://www.amazon.com/Beginning-ArcGIS-Desktop-Development-using/dp/1118442547/ref=sr_1_1?ie=UTF8&qid=1441604164&sr=8-1&keywords=arcobjects.net&pebp=1441604163704&perid=12D3QVE7YE4XD3C9DAR2
... View more
09-06-2015
10:37 PM
|
0
|
0
|
1090
|
|
POST
|
I believe 9.3.1 supports VS 2008. When you installed the ArcObjects SDK on your machine, which should have already had Visual Studio installed, did it show a version that it would integrate with? The templates you should be seeing are shown on the following page: http://resources.esri.com/help/9.3/ArcGISDesktop/dotnet/concepts_start.htm As a side question, is there a reason why you're starting your development with 9.3.1 instead of 10.X?
... View more
09-06-2015
10:33 PM
|
0
|
3
|
2026
|
|
POST
|
ArcGIS Add-Ins were introduced at 10.0. As such, they're only available in the 10.0 and higher versions of the software. With ArcGIS 9.3 you'll be limited to using COM components.
... View more
09-05-2015
10:14 PM
|
1
|
0
|
2026
|
|
POST
|
For the most part runtime treats shapefiles as a readonly source. It would allow you to read existing ones, but there isn't currently anything within the API to allow you to create new ones or edit existing ones. That being said, it isn't entirely impossible to create shapefiles with the current runtime API if you leverage ArcGIS Server or Local Server. If you have access to ArcGIS Server and your users are in a connected environment you could create any data structure (i.e. shapefiles, file geodatabases, etc.) that you can create in ArcGIS Server. You'd just need to return this data as a zip file from the server and unpack it on the client. On the other hand, I've been able to accomplish this using LocalServer for disconnected workflows in Runtime for .NET. I would assume that because LocalServer is essentially the same between between Java and .NET that these workflows would work there as well. To create the tool you could do something as simple as running the copy features tool in ArcGIS Desktop. The output of this tool would need to be a shapefile. You could then publish this tool to ArcGIS Server or a Geoprocessing package (gpk) and you could leverage this from runtime to create your shapefiles. Let me know if this makes sense.
... View more
09-02-2015
04:17 PM
|
1
|
0
|
1284
|
|
POST
|
I'm more familiar with the Runtime products to access services, so I'll start off by answering how I'd handle this there. I would expect that my validation logic that creates my lists would be removed once I publish the tool to the server. In runtime I'd handle my lists within my runtime application. Let's say I was using Runtime for .NET. Within the .NET client I'd build a control that contains two ComboBoxes. I would use the C# code in my client to control the values shown in these ComboBoxes in the same manner I handled it in my script tool validation logic. The user would interact with the client, which would handle getting the appropriate values to send off in a REST call to my gp server. I've never really used WebAppBuilder, but I've used the JavaScript API and I'd just take the same approach there. If the values needed can be hard-coded, then I can use any language to present those choices to the user prior to making the REST call. If the values require that I parse the data, then I'd probably have to figure out if my client would allow me to access the data or I'd have to make a service that could kick me back the values I'd need from the data on the server. Does that make sense?
... View more
09-02-2015
04:10 PM
|
1
|
1
|
1853
|
|
POST
|
Shapefiles are currently a readonly source in the current version of the Java Runtime API. I'd hate for this to be the reason why you don't adopt this runtime, could you explain what you're needing to do with these shapefiles?
... View more
09-02-2015
10:35 AM
|
0
|
2
|
1284
|
|
POST
|
You'll need to compile your application to 64 bit to see the server license. The server architecture at 10.3.1 is 64 bit.
... View more
09-02-2015
10:31 AM
|
0
|
0
|
643
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-19-2016 04:45 AM | |
| 1 | 09-24-2015 06:45 AM | |
| 1 | 09-15-2015 10:49 AM | |
| 1 | 10-12-2015 03:07 PM | |
| 1 | 11-25-2015 09:10 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|