We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, define a __add__() function to allow user merge 2 node/way/relation
__add__()
And have such logic:
if A.type == B.type: if A.type == "Node" and B.type == "Node": C = Node() if A.pos != B.pos: C.pos=avg_pos(A.pos, B.pos) #Need geography lib support for ki,vi in A,tags: for kj,vj in B.tags: if don't conflict: C.tags.append(ki,vi) if type == "Way": pass if type == "Relation": pass else: throw exception("Type for A with B don't match")
This also should offer a method called add(A:Node, B:Node), like a=Way\a=a.reverse() mentioned in #5
add(A:Node, B:Node)
a=Way\a=a.reverse()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For example, define a
__add__()
function to allow user merge 2 node/way/relationAnd have such logic:
This also should offer a method called
add(A:Node, B:Node)
, likea=Way\a=a.reverse()
mentioned in #5The text was updated successfully, but these errors were encountered: