I'm trying to run the Create Space Time Cube script but it fails. The error message in the geoprocessing results message is:
Traceback (most recent call last):
File "<string>", line 372, in execute
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolBoc\Scripts\SSCube.py, line 1262, in_init_
cubeStr,cubeFactor=UTILS.distanceUnitInfo[self.x.units.upper()]
KeyError: u'MILE'
Failed to execute (CreateSpaceTimeCube)
I have a point dataset of 10,500 records that are projected, with a date field. I extracted about 800 of these and tried running on a smaller dataset but that produced the same error message. I downloaded and installed the required patch for this tool before I tried to run it the first time.
I input required parameters and also let the program define all the optional parameters, but I always get the same result.
Any suggestions?
Solved! Go to Solution.
I'm glad they got it figured out for you!
We found a typo in the code that handles projection conversion. The majority use meters and feet and it turns out we didn't have a test for miles and we missed it. Good catch and apologies for the inconvenience... we have fixed this for future releases.
-Jenora
no clue about the actual toolbox, but the error doesnt like MILES. So where ever that parameter is...try changing it
Actually, I would hazard a guess that it doesn't like MILE and is looking for MILES.
In the code sample here it is written as "x miles": Create Space Time Cube—ArcGIS Help | ArcGIS for Desktop
What I really wanted to say here was: maybe you should try a tardis. I know... not helpful.
The unit of measure is in a drop down pick list. I don't type that in, so "Miles" vs. "Mile" is not within my control.
Hey John,
Can you send me a screenshot of the tool parameters you were using or provide a repro with data so that I can have a look? Tracebacks are no good, we'll figure this out ...
Thanks,
Jenora
John...as are your attachments
Thanks! I was able to repro ... Investigating now ...