Space Time Cube not working

4178
14
Jump to solution
05-12-2015 06:11 PM
Highlighted
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?

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
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
Highlighted
MVP Esteemed Contributor

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

Reply
0 Kudos
Highlighted
Frequent Contributor

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

Reply
0 Kudos
Highlighted
Frequent Contributor

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

Reply
0 Kudos
Highlighted
Frequent Contributor

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

Reply
0 Kudos
Highlighted
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.

Reply
0 Kudos
Highlighted
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

Highlighted
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

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

John...as are your attachments

Reply
0 Kudos
Highlighted
Occasional Contributor

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