8000 Add Location Search Functionality via OpenStreetMap API · Issue #2483 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content
Add Location Search Functionality via OpenStreetMap API #2483
Closed
@kadheer

Description

@kadheer

Enhance location lookup with city/country search instead of only coordinates.

It is additional feature which could be helpful to visit the location via input of name of the city and country.

We can use OpenStreetMap Api for this.

1. Feature Request
Currently, PVLib requires manual latitude/longitude inputs for location creation. This enhancement adds city/country search functionality using OpenStreetMap's Nominatim API.

2. Proposed Solution

from pvlib import Location
loc = Location.from_query("Berlin, Germany")  # Returns Location object

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0