You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uniontiles.union should accept sequence of tuples or mercantile Tiles #39
@sgillies looking back into this, I was reminded of what Damon-from-5-years-ago-was thinking: union optionally takes a "parsenames" option that would parse "tiley" strings:
@dnomadb I'd prefer option 1. I've done 2 for shapely and regretted it after a while. I like the example of Python's trig functions. These could all be, for example, def acos(x, is_degrees=False) but one kind of input and another method to convert inputs is the simplest to support in the long haul.
Activity
dnomadb commentedon Oct 5, 2020
@sgillies I agree! This "better python api" is what I was alluding to here: #30 (comment)
dnomadb commentedon Oct 7, 2020
@sgillies looking back into this, I was reminded of what Damon-from-5-years-ago-was thinking: union optionally takes a "parsenames" option that would parse "tiley" strings:
supermercado/supermercado/uniontiles.py
Line 11 in 6ce4e22
xtor equivalent docsparse_namesis Truesgillies commentedon Oct 14, 2020
@dnomadb I'd prefer option 1. I've done 2 for shapely and regretted it after a while. I like the example of Python's trig functions. These could all be, for example,
def acos(x, is_degrees=False)but one kind of input and another method to convert inputs is the simplest to support in the long haul.