All Questions
Tagged with python-add-in coordinates
3 questions
3
votes
1
answer
88
views
Trying to build lines by cursing through points
I am trying to create a tool that creates lines from selected point features. I am able to select the point features and create a search cursor to curse through them. I can message box attributes ...
0
votes
1
answer
131
views
Turning first vertex of a line into a point
import arcpy
import math
import pythonaddins
class Line(object):
"""Implementation for Projects_addin.Project1_2 (Tool)"""
def __init__(self):
self.enabled = True
self.cursor = 3
self....
1
vote
0
answers
196
views
set extent for jpeg programmatically [closed]
I feel like this should be easy, but how can I set coordinates for a jpeg image using Python? I have a python add-in that draws a polygon and then uses its geometry to post a query request to a REST ...