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

Documentation

Page Description
Plot Finding parcels by TERYT ID or coordinates
PlotAnalyzer Analyzing surroundings (education, shops, transport, etc.)
Climate Temperature, precipitation, wind, frost/hot days (Open-Meteo)
Air Quality Air pollution data (OpenWeatherMap API)
Sunlight Sunrise, sunset, daylight hours
Place Result model with travel times
Report Full structured report (PlotReporter)
Visualizer Interactive HTML maps & static PNG images
AI AI-powered plot analysis (OpenAI)
API Reference Full API reference
Errors Exception handling and hierarchy

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.2.0.tar.gz (15.2 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.2.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plot_finder-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2f2e7a4b5561391407f133e79a9793b3af32022feab413284ae7d44d03d93fb2
MD5 3af2dc45bd66b84c56e9fa80978e2377
BLAKE2b-256 6d612eb4e94593aad625e297edae5c3a6b4c6be4ff25d53bf11a2aefbeaa75a4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for plot_finder-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a1bf7627902fb1670ca2a5832162ef0455a8c5f9f2f48bc39f09f678bb13d81
MD5 98d30bcb56256384b57cec4ce3129882
BLAKE2b-256 fd9201c1d25a4f08914769931082f9dd0b27ae6dd9ab9c9165a5a5570f14279c

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