POST
|
I managed to solve my problem. I recently split my python toolbox into multiple files for better maintainability. Apparently the publishing process does not support python's "from X import Y" syntax, meaning most of my source files were not published.. See this discussion: http://gis.stackexchange.com/questions/43204/guidelines-for-organizing-python-toolboxes-pyt-in-arcgis
... View more
06-08-2014
02:41 AM
|
0
|
0
|
261
|
POST
|
I've got the exact same problem. All offered tests pass for me as well. Is there any way to troubleshoot this issue?
... View more
06-07-2014
11:41 PM
|
0
|
0
|
261
|
POST
|
Hi, I found another thread (with a screenshot) describing the problem. http://forums.arcgis.com/threads/77105-Recalculate-Extent?p=271206&viewfull=1#post271206 There you can see the feature extent property I'm referring to. While using arcpy.Describe indeed always returns the correct extent, the "other" extent values seen in the screenshot (http://forums.arcgis.com/attachment.php?attachmentid=21603&d=1360324936) are never recalculated. The reason I care about these numbers? In my workflow I'm trying to publish a feature class to an arcgis server, and the resulting feature service's extent is locked to these values, disregarding the actual FC extent. The attached threads only offer workarounds, I was hoping for a better solution.
... View more
02-15-2014
11:49 PM
|
0
|
0
|
338
|
POST
|
Thanks, I asked about recalculating a FC's extent like you can in ArcMap, your method only retrieves a read-only representation.
... View more
02-10-2014
09:47 PM
|
0
|
0
|
338
|
POST
|
Hi, Is there a way to simulate recalculating the extent of a feature class in arcpy? This is needed, for example, after adding or deleting features as the extent isn't automatically reboxed. I've searched the forums, and I know it can easily be done manually in ArcCatalog, and I found some examples using arcobjects. Nothing for arcpy so far. Thanks
... View more
02-08-2014
02:30 AM
|
0
|
5
|
1356
|
POST
|
Bumping this up.. I want to use the Editor class to create rectangle/circle polygons. I know the Editor supports different DrawModes, as you can set a feature template name in the Editor "Add" command, and then use Arcmap to set a drawing mode in that feature template. So is this at all possible? Without having to set up a feature template?
... View more
01-27-2014
04:20 AM
|
0
|
0
|
150
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|