POST
|
Thanks for posting your solution. I've been banging my head on this problem all day, so a solution that works for an inexplicable reason is great.
... View more
03-12-2015
02:18 PM
|
0
|
0
|
356
|
POST
|
I'm working with a txt file with a bunch of N, W, E and W extents, and turning them into polygons. Two of them are in the Pacific, crossing 0 Longitude, and when I try to create the polygon, it makes a very long polygon going the opposite direction around the world, rather than cross 0. How can I get the polygon to cross 0, while letting the script still work properly on the rest of the world? Thanks, Karen
... View more
03-03-2015
11:41 AM
|
0
|
5
|
4242
|
POST
|
Thanks Matt. I was able to make a workaround by passing the argument as a file. Awkward, but it seems to work. Karen
... View more
05-08-2014
11:11 AM
|
0
|
0
|
561
|
POST
|
I'm trying to make a python add-in toolbar that displays a graph. I can create a graph with a function in command line without any difficulty, but when I try to create the same graph from within a class for the add-in, it crashes. The crash happens whether the class is made in the command line or the add-in button. What happens is the graph appears, then a few seconds later, arcmap unexpectedly shuts down, and asks if I want to send an error report. The class causing the crash is: class ButtonClass15(object): """Implementation for WizardTest_addin.button (Button)""" def __init__(self): self.enabled = True self.checked = False def onClick(self): allVals = ((1,1),(2,2),(3,3)) valArray = np.array (allVals) rasterArray = valArray [:,0] distanceArray = valArray [:,1] pyplot.plot(distanceArray, rasterArray, 'r' ) pyplot.xlabel('Distance from Start') pyplot.ylabel('Raster Val') pyplot.show() Does anyone have any workarounds that would let me display the graph while still creating it with an add-in button? Thanks!
... View more
05-06-2014
12:30 PM
|
0
|
4
|
1654
|
POST
|
Jeff, Could you give more explicit instructions to how to delete the columns? Thanks.
... View more
04-05-2013
08:22 AM
|
0
|
0
|
169
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|