Skip to content

Add overpassify as a recommended libarary #87

@LivInTheLookingGlass

Description

@LivInTheLookingGlass

If you did, then you could have an example like:

import overpass
from overpassify import overpassify

api = overpass.API()


@api.Get
@overpassify
def response():
    search = Area(3600134503)
    ways = Way(search, highway=...)
    nodes = Node(search)
    out(ways, geom=True, count=True)
    out(nodes, geom=True, count=True)
    noop()


print(response)

Everything is written in Python, yet you still get to make an OverpassQL query.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions