Skip to main content

Query Polish ULDK (GUGiK) API to find land parcels by TERYT ID or coordinates

Project description

plot-finder

Python License Pydantic OpenStreetMap OSRM OpenWeather Open-Meteo

Python library to find Polish land parcels and analyze their surroundings.

Query the ULDK (GUGiK) API to get parcel data by TERYT ID or coordinates, then analyze nearby infrastructure using OpenStreetMap.

Plot with geometry, radius and nearby places

Installation

pip install plot-finder           # base
pip install plot-finder[viz]      # + interactive maps & PNG export
pip install plot-finder[ai]       # + AI-powered analysis (OpenAI)

Requirements: Python 3.10+ | pydantic httpx shapely pyproj

Quick Start

from plot_finder import Plot, PlotAnalyzer, PlotReporter

# Find a parcel
plot = Plot(plot_id="141201_1.0001.6509")
print(plot.voivodeship)  # mazowieckie
print(plot.centroid)     # (x, y)

# Analyze surroundings
analyzer = PlotAnalyzer(plot, radius=3000)

for place in analyzer.education():
    print(f"{place.name}{place.distance_m}m, walk {place.walk_min}min")

# Full report
report = PlotReporter(analyzer).report()
report.model_dump_json()

# Visualization (pip install plot-finder[viz])
from plot_finder.visualizer import PlotVisualizer
viz = PlotVisualizer(report)
viz.save("map.html")  # interactive map
viz.save("map.png")   # static image

CLI

plot-finder analyze 141201_1.0001.6509 --radius 2000
plot-finder analyze 141201_1.0001.6509 --json
plot-finder search --address "Warszawa, Marszalkowska 1"
plot-finder elevation 141201_1.0001.6509
plot-finder climate 141201_1.0001.6509
plot-finder sunlight 141201_1.0001.6509
plot-finder noise 141201_1.0001.6509
plot-finder risks 141201_1.0001.6509
plot-finder places 141201_1.0001.6509 --category education

Documentation

Full documentation: ernestilchenko.github.io/plot-finder

License

MIT — use it however you want.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plot_finder-0.5.0.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plot_finder-0.5.0-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file plot_finder-0.5.0.tar.gz.

File metadata

  • Download URL: plot_finder-0.5.0.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for plot_finder-0.5.0.tar.gz
Algorithm Hash digest
SHA256 485e99e708780cdd11b7c3ffd5b7d539460bacd9bec34b35df993eaa455c22b7
MD5 dbdcb8b718f0d589da40959c67625f1f
BLAKE2b-256 815b117583c156ddbccbdec25cfe45678ad08515e8bf32d9177afeb6a86ec309

See more details on using hashes here.

File details

Details for the file plot_finder-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: plot_finder-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for plot_finder-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb22e53869eaf04b02ef534b3b59146ce455712c8f0f61c7482631ecd07c2242
MD5 bac3ce85a22bc9b0d70c8683dc56ac94
BLAKE2b-256 afa92f01f1f7d051fb75b21b319b9703bb452c4051d89e756918d0bd38aa6741

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page