AnsweredAssumed Answered

How do I check, with python, if a Terrain Model has pyramids or data sources?

Question asked by jplay on May 26, 2015
Latest reply on May 29, 2015 by JSwain-esristaff

Hello all,

 

This question has gotten wildly off topic, so I edited the heading to reflect more clearly what I'm trying to ask.

 

I'm hoping someone can point me in the right direction.

 

I've written a script (still in development) that creates terrains from LiDAR. They are HUGE terrains, so the process from going from LAS to Multipoint can take up to 30 hours. I've hit a hick-up that I'm trying to pinpoint that occurs sometime after the multipoint creation, but before the building of the terrain.

 

The code I've written works fine process by process, so I'm not sure what the issue is--it may have been a network thing. I'm trying to troubleshoot it. The problem is the time it takes to run from the beginning until it breaks.

 

I've added if not arcpy.Exists statements for the elements that I can, but I'm stuck on how to find the properties for the terrain so that I can skip those steps if they've alread been done. For instance, if the terrain already has pyramids defined how do I check for that? Or if / what layers have already been added to the terrain?

 

I've spent the last 1.5 hours doing a Google search and I've got nothing except for arcpy.mapping: "There are a few specialized layers and datasets that don't fall into one of these three categories: annotation subclasses, dimension features, network datasets, terrain datasets, topology datasets, and so on." but no way to handle these specialized layers.

 

Suggestions?

 

Thanks for any help you may provide,

John

 

Message was edited by: John Lay

Outcomes