|
POST
|
Oh, I misunderstood. I thought you meant ArcGIS for Server, which has been 64-bit only for several versions now. In your case, I am not sure what to suggest.
... View more
08-21-2015
12:00 PM
|
0
|
1
|
3133
|
|
POST
|
If a machine with ArcGIS for Server can connect, but machines with only ArcGIS for Desktop (minus 64-bit Background Geoprocessing) cannot connect, it makes me think there is a 32-/64-bit issue involved somewhere. What would be an interesting experiment is to install 64-bit Background Geoprocessing on one of the ArcGIS for Desktop machines and then force the script to run using the 64-bit Python interpreter instead of the 32-bit one.
... View more
08-21-2015
11:40 AM
|
0
|
3
|
3133
|
|
POST
|
Although a bit kludgy, you can run a Get Count before the selection and store that number. Then, after the selection, you can compare the new Get Count with the old one. If they are the same, nothing was selected.
... View more
08-21-2015
11:35 AM
|
0
|
0
|
1347
|
|
POST
|
Thanks. Unfortuantely, my problem isn't Esri Raster > GeoPackage but GeoPackage > Esri Raster. I can't seem to get Make Raster Layer to work with raster tiles in a GeoPackage. I even tried the ERDC Whitehorse Geopackage Download that is posted on the GeoPackage Encoding Standard web page. If I run the Make Raster Layer tool, it completes without errors but nothing happens. If I call the tool from Python, it generates an error: Runtime error Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\management.py", line 7012, in MakeRasterLayer raise e ExecuteError: ERROR 000582: Error occurred during execution.
... View more
08-21-2015
11:30 AM
|
0
|
8
|
3892
|
|
POST
|
Now that 10.3.1 is out, is the patch you reference already incorporated? I have ArcGIS 10.3.1 and am running into problems getting raster data from geopackages into ArcMap.
... View more
08-20-2015
02:54 PM
|
0
|
10
|
3892
|
|
POST
|
My guess, line #39 is deleting all of the features, so line #46 is copying an empty feature class to make a new, empty feature class. When using the Select Layer By Attribute tool, be careful because all records are returned if no records meet the criteria.
... View more
08-20-2015
02:12 PM
|
1
|
2
|
1347
|
|
POST
|
What's your backend DBMS? Oracle, SQL Server, Postgresql, etc.... What are the SDE connection file parameters? Where is the SDE connection file stored, under 'Database Connections?'
... View more
08-20-2015
02:07 PM
|
0
|
1
|
3133
|
|
POST
|
The code in the following script should get you most of the way there: Permanently sort features/records in a table or featureclass. It is written for ArcGIS 9.3
... View more
08-20-2015
12:53 PM
|
0
|
1
|
1474
|
|
POST
|
Do you have 64-bit Background Geoprocessing installed? Do you have other ArcGIS products installed, like ArcGIS Engine, on the machine that generates the error from the CLI? What type of data store is it? File geodatabase, Personal geodatabase, shapefile, SDE? I not-to-uncommonly run into users that have ArcPy code break after they install 64-bit Background Geoprocesisng or ArcGIS Engine because the default Python interpreter gets changed from 32-bit to 64-bit versions. Changing the default file type association or having the user call the script using a specific Python interpreter usually solves the problem.
... View more
08-20-2015
12:45 PM
|
0
|
5
|
3133
|
|
POST
|
As you already found out, the statistics you are looking for are not available in the way you are looking for them, i.e., there isn't a "statistics" context menu option with tables. That said, the Summary Statistics tool can generate the statistics you are looking for. You can launch the Summary Statistics tool via the 'Summarize' option in the context menu.
... View more
08-19-2015
08:33 AM
|
3
|
0
|
6020
|
|
POST
|
You are mixing the syntax of the two different types of cursors. Review the documentation for the ArcPy Data Access cursors, paying particular attention to the examples.
... View more
08-19-2015
08:11 AM
|
0
|
0
|
3616
|
|
POST
|
Sometimes the most important notes in documentation aren't where you expect them. If you look at the Edit versioned data in SQL Server using SQL, specifically the Edit a named version section, the Purpose description for the create_version stored procedure states: If you are editing named versions (versions other than Default), always edit your own, separate version; multiple editors cannot edit the same named version using versioned views. It is for this reason the workflow described in the documentation shows creating a new version first. Apparently, this isn't the case for the Default version, but I haven't tested it directly.
... View more
08-16-2015
09:26 AM
|
1
|
0
|
1993
|
|
POST
|
From the looks of it, you are running this as a standalone script, which eliminates some of the usual questions I would ask. Looking over the code, it is pretty straightforward. You have enough timed print statements that I assume you mean arcpy.na.Solve(outNALayer) is slow when you say "solving the OD cost matrix" is slow, i.e., it isn't one of the other statements in the loop that is slowing the loop down. If it is the Solve tool that is slowing down after so many tens of iterations, it makes me wonder about whether the CLEAR option of the append parameter in arcpy.na.AddLocations has something going on, maybe not a memory leak but some other bug in memory management. Given the paths of your datasets, it appears you are taking some summer courses. I am not sure if you have access to Esri Support as a student where you are attending class; if so, it might be worth opening an Esri Support case to troubleshoot this problem. The only other thing I can think of at the moment is finding that tipping point where rebuilding the OD cost matrix is faster than iterating over it any more.
... View more
08-14-2015
07:19 PM
|
0
|
1
|
1325
|
|
POST
|
Not saying this is any better than Blake T's approach, but there is an arcpy.Describe only approach: gdb = #path to geodatabase
for child in arcpy.Describe(gdb).children:
if child.name == 'someName' and child.datasetType == 'Table':
desc = child
break
... View more
08-14-2015
04:25 PM
|
1
|
0
|
3770
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Friday | |
| 2 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 2 | 06-05-2026 10:30 AM | |
| 1 | 05-29-2026 08:22 AM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|