Space Time Cube not working

5305
14
Jump to solution
05-12-2015 06:11 PM
JohnWarden
New Contributor III

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?

0 Kudos
1 Solution

Accepted Solutions
JenoraD_Acosta
Occasional Contributor

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

View solution in original post

14 Replies
DanPatterson_Retired
MVP Emeritus

​no clue about the actual toolbox, but the error doesnt like MILES.  So where ever that parameter is...try changing it

0 Kudos
SepheFox
Frequent Contributor

Actually, I would hazard a guess that it doesn't like MILE and is looking for MILES.

0 Kudos
SepheFox
Frequent Contributor

In the code sample here it is written as "x miles": Create Space Time Cube—ArcGIS Help | ArcGIS for Desktop

0 Kudos
SepheFox
Frequent Contributor

What I really wanted to say here was: maybe you should try a tardis. I know... not helpful.

0 Kudos
JohnWarden
New Contributor III

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.

0 Kudos
JenoraD_Acosta
Occasional Contributor

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 ...

jdacosta@esri.com

Thanks,

Jenora

JohnWarden
New Contributor III

A screen capture of my inputs is attached, along with a zip file of my dataset.

FYI, I also reported this to tech support, case #01641566. I’ve tried to send them the attachments but the emails are getting kicked back.

John

0 Kudos
DanPatterson_Retired
MVP Emeritus

John...as are your attachments

0 Kudos
JenoraD_Acosta
Occasional Contributor

Thanks!  I was able to repro ... Investigating now ...