|
POST
|
Yes, the issue was resolved in 10.4.0. It isn't identified as a candidate for service packs, so won't make it into 10.2.1. That said, there is a workaround -- write to a FGDB data source instead of a Shapefile.
... View more
04-13-2016
12:37 PM
|
0
|
0
|
1483
|
|
POST
|
Conda will ship with ArcGIS Pro 1.3 -- the mismatch in the talk description is my mistake that we didn't catch till after it went to press. If you'd like to learn more about Conda and how it relates to ArcGIS, I've published the presentation we gave on it at DevSummit here: https://4326.us/esri/conda In terms of the SciPy stack, some of its history of integration is discussed in last years' talk on SciPy, but I've revised and expanded the content to include current status as of 10.4 / Pro 1.2 in this years' talk on taking advantage of the SciPy stack with ArcGIS: https://4326.us/esri/scipy If you have any specific questions or issues, I'm happy to help and will work to address them. Cheers, Shaun
... View more
03-17-2016
12:00 PM
|
2
|
1
|
2059
|
|
POST
|
I'd start by trying a version of IronPython matched against CPython 2.6: IronPython - Download: 2.6.2
... View more
12-09-2015
12:45 AM
|
0
|
0
|
585
|
|
POST
|
Great! Glad to hear it. The 10.4 release will include the same packages currently included in Pro, so you should be able to write code that will work equally well in both ArcMap and Pro at that point. Let us know if you have any further issues, and look forward to hear more about your work with raster object detection. Cheers, Shaun
... View more
09-09-2015
07:21 AM
|
1
|
0
|
2867
|
|
POST
|
Scott and Ed: This issue will be resolved in the next release of ArcGIS.
... View more
09-08-2015
10:52 AM
|
0
|
3
|
1483
|
|
POST
|
Can you post a screenshot of what you're seeing when trying to modify the documentation of a tool?
... View more
09-08-2015
10:41 AM
|
0
|
0
|
2514
|
|
POST
|
You're probably best trying this question elsewhere, since this is a support forum for Python in the context of ArcGIS. That said, if you need the exact implemention that ArcGIS provides, you could set up a server instance that does the conversion. If you're not afraid of the command line, you can also try your luck with ogr2ogr, which has a somewhat limited DXF AutoCAD 2000 driver: ogr2ogr -f "DXF" destination.dxf source.kml Both formats are complicated and have non-overlapping featuresets, so expect this to be a lossy translation.
... View more
09-08-2015
10:18 AM
|
0
|
0
|
6102
|
|
POST
|
The reason that the pipe character is special, is on UNIX based operating systems, it's used to denote steps in a pipeline, and is handled specially. In your case this isn't what you want, I'd recommend using the subprocess module instead of os.system: import subprocess
subprocess.call([r'C:\Program Files (x86)\AquaInfo\AI-Viewer.exe',
r'SystemMDW=C:\Program Files (x86)\AquaInfo\Aqua.mdw|UserMDB=C:\Program Files (x86)\AquaInfo\System\AI_mbn.mdb|DataBaseName=C:\Users\ps\Desktop\atest\Test.mdb|UserId=99999998|ObjIdsList=7297|SelObjId=7297|ObjType= 0|']) I don't have the AquaInfo software to test against, but in an example script, that passed the arguments correctly. Cheers, Shaun
... View more
09-08-2015
10:02 AM
|
1
|
1
|
1428
|
|
POST
|
As of ArcGIS 10.3, this issue is fixed and you can directly use the latitudeOfOrigin property: >>> sr = arcpy.SpatialReference("NAD 1983 Contiguous USA Albers") >>> sr.latitudeOfOrigin 23.0 I'd use that over the solution I'd originally posted above for any newer release.
... View more
09-08-2015
09:16 AM
|
1
|
0
|
300
|
|
POST
|
Sure, just embed '\' separators between the toolsets. Here's an example where the two "Export" tools will be in separate toolsets, nested underneath the parent (also on GitHub😞 import arcpy
class Toolbox(object):
def __init__(self):
self.label = u'Example_Toolbox'
self.alias = ''
self.tools = [FirstTool, SecondTool, ThirdTool]
class FirstTool(object):
def __init__(self):
self.label = u'First Tool'
self.description = u''
self.canRunInBackground = False
self.category = "Import"
def getParameterInfo(self):
return
def execute(self, parameters, messages):
pass
class SecondTool(object):
def __init__(self):
self.label = u'Second Tool'
self.description = u''
self.canRunInBackground = False
self.category = "Export\\GeoJSON"
def getParameterInfo(self):
return
def execute(self, parameters, messages):
pass
class ThirdTool(object):
def __init__(self):
self.label = u'Third Tool'
self.description = u''
self.canRunInBackground = False
self.category = "Export\\TopoJSON"
def getParameterInfo(self):
return
def execute(self, parameters, messages):
pass
... View more
09-08-2015
08:57 AM
|
1
|
0
|
2819
|
|
POST
|
Note that this issue is now solved at ArcGIS 10.3 or later, and in ArcGIS Pro.
... View more
07-29-2015
03:24 PM
|
0
|
0
|
1079
|
|
POST
|
Yeah, that's what I'd expect out of the box with Conda -- the version of NumPy that is on your sys.path is 1.7.1, and the version in Conda is 1.9.1 -- NumPy is not ABI compatible between major releases. If you want to stick to ArcMap, you can try making a environment with NumPy 1.7.1 and a related SciPy release, e.g.: conda install numpy=1.7.1 conda install scipy=0.13.2 And see if it works linked against that conda environment. Good luck!
... View more
07-17-2015
12:14 AM
|
1
|
0
|
2867
|
|
POST
|
Hello Tobias Litherland (and thanks for the heads-up Xander Bakker): If you have Pro installed, that's the easiest route -- it ships with SciPy, and is usable today. Further improvements are coming soon to our other products, but that doesn't help you for solving your immediate needs. For that, you can try using Python path files (.pth) to bridge between the environments. WARNING: This approach is risky, and can potentially break your Python installation, so be careful, and this isn't a directly supported method. Because you're using different versions of packages like NumPy under the hood, strange things can happen, and sometimes introduce crashes. 1. Find the site packages path for your Anaconda install. On my machine, it was C:\Miniconda\envs\default\Lib\site-packages . Copy that path into a file called anaconda.pth . 2. Copy anaconda.pth into C:\Python27\ArcGIS10.3\Lib\site-packages (or the correct location if you used a different installation path). 3. Open Python, type: import sys
print(sys.path) If it worked correctly, you should see a new entry for the Anaconda environment from within the ArcGIS installed version of Python, and import scipy should work. Again, note that this may cause other problems, and if anything is breaking, delete the pth file to return your setup to a stock install. Cheers, Shaun
... View more
07-16-2015
11:32 AM
|
1
|
4
|
2867
|
|
POST
|
The example script I posted just looked for a single file in the current directory. Here's a more robust version as a Python toolbox (requires 10.1+): support/fixed-width-to-xyz.pyt at master · EsriOceans/support · GitHub Open that in Catalog view, and you should get a toolbox with a single tool. It takes an input text file from the project and generates an output text file with X, Y, Z values, which you can use directly in the software. Cheers, Shaun
... View more
05-07-2015
07:42 AM
|
0
|
0
|
3821
|
|
POST
|
If you can't get Rescale or GDAL to do what you need, the point conversion isn't particularly onerous, I've uploaded a script which converts your example file to an XYZ formatted CSV: support/parse.py at master · EsriOceans/support · GitHub WIth that, you should be able to import the text directly into ArcGIS, and then right click the layer > Display XY Data to get a vector representation of it, and continue your analysis from there with the cell centers being represented by the points. You can do a variety of things from that point, including creating your correct raster, and joining against the points to assign values. Cheers, Shaun
... View more
04-30-2015
01:52 PM
|
0
|
2
|
3821
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-24-2025 09:10 PM | |
| 1 | 08-12-2022 10:14 PM | |
| 1 | 05-05-2025 10:56 AM | |
| 1 | 04-04-2025 09:03 PM | |
| 1 | 02-09-2023 10:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-19-2025
01:14 PM
|