landfeedAPI · MCP · 2.1.0Agent Markdown

NearbyPlacesValue

not specified in the source contract

Layer keys: nearby_places.

Cost and inputs

x-request-cost: 1 request per call via GET /v1/layer/{layer}.

Dokładnie jeden z parametrów q, id, point (lat i lng razem liczą się jako point). Wszystkie punkty odczytu API i wszystkie narzędzia obsługują te trzy warianty.

Value schema

FieldRequiredSchema / constraintsDescription
cemetery_geometry_kindyes{"const": "stored_point"}not specified in the source contract
count_methodyes{"const": "site_categories_two_pass_name_only"}not specified in the source contract
count_radius_myes{"const": 1000}not specified in the source contract
grocery_count_methodyes{"const": "raw_source_rows"}not specified in the source contract
grocery_count_within_1kmyes{"minimum": 0, "type": "integer", "x-unit": "count"}not specified in the source contract
groupsyes{"items": {"additionalProperties": false, "properties": {"category": {"enum": ["kindergartens", "schools", "medical", "shops", "banks", "post", "pools", "sports", "recreation", "entertainment", "services", "worship", "transport"]}, "count_within_1km": {"minimum": 0, "type": "integer", "x-unit": "count"}, "coverage": {"enum": ["covered", "not_covered"]}, "observed_count_within_search": {"minimum": 0, "type": "integer", "x-unit": "count"}, "raw_count_within_1km": {"minimum": 0, "type": "integer", "x-unit": "count"}, "raw_count_within_search": {"minimum": 0, "type": "integer", "x-unit": "count"}, "records": {"items": {"$ref": "#/$defs/NearbyPlaceRecord"}, "maxItems": 100, "type": "array"}, "truncated": {"type": "boolean"}}, "required": ["category", "count_within_1km", "observed_count_within_search", "raw_count_within_1km", "raw_count_within_search", "truncated", "records", "coverage"], "type": "object"}, "maxItems": 13, "minItems": 13, "type": "array"}not specified in the source contract
inventory_count_within_1kmyes{"minimum": 0, "type": "integer", "x-unit": "count"}not specified in the source contract
name_sourceyes{"const": "stored_name"}not specified in the source contract
nearestyes{"additionalProperties": false, "properties": {"bus": {"anyOf": [{"$ref": "#/$defs/NearbyPlaceRecord"}, {"type": "null"}]}, "cemetery": {"anyOf": [{"$ref": "#/$defs/NearbyPlaceRecord"}, {"type": "null"}]}, "garden": {"anyOf": [{"$ref": "#/$defs/NearbyPlaceRecord"}, {"type": "null"}]}, "grocery": {"anyOf": [{"$ref": "#/$defs/NearbyPlaceRecord"}, {"type": "null"}]}, "park": {"anyOf": [{"$ref": "#/$defs/NearbyPlaceRecord"}, {"type": "null"}]}, "shop": {"anyOf": [{"$ref": "#/$defs/NearbyPlaceRecord"}, {"type": "null"}]}, "train": {"anyOf": [{"$ref": "#/$defs/NearbyPlaceRecord"}, {"type": "null"}]}}, "required": ["shop", "grocery", "bus", "train", "park", "garden", "cemetery"], "type": "object"}not specified in the source contract
provenanceyes{"additionalProperties": false, "properties": {"as_of": {"type": "null"}, "date_evidence": {"const": "undated_retrieved"}, "retrieved_at": {"anyOf": [{"format": "date", "type": "string"}, {"format": "date-time", "type": "string"}], "description": "Actual import date/time from a retained receipt, never a publisher edition date. Date-only receipts do not imply an exact instant."}}, "required": ["date_evidence", "retrieved_at", "as_of"], "type": "object"}not specified in the source contract
raw_record_count_within_1kmyes{"minimum": 0, "type": "integer", "x-unit": "count"}not specified in the source contract
raw_record_count_within_searchyes{"minimum": 0, "type": "integer", "x-unit": "count"}not specified in the source contract
rural_isolationyes{"enum": [false, null]}not specified in the source contract
school_type_verificationyes{"const": "unavailable"}not specified in the source contract
search_radius_myes{"const": 5000}not specified in the source contract
shop_count_methodyes{"const": "raw_classified_rows"}not specified in the source contract
shop_count_within_1kmyes{"minimum": 0, "type": "integer", "x-unit": "count"}not specified in the source contract
sparseyes{"type": "boolean"}not specified in the source contract
{
  "$ref": "./envelope.json#/$defs/NearbyPlacesValue"
}

Empty answer: covered_no_data

not specified in the source contract. The contract does not define a complete empty value for this schema.

Coverage states

Cztery stany zakresu danych dla jednej kategorii w danym miejscu. covered: źródło obejmuje to miejsce i zawiera rekord; value zawiera ten rekord. covered_no_data: źródło obejmuje to miejsce, lecz nie zawiera rekordu; value ma określoną dla danej kategorii pustą wartość (false, 0, [], none), nigdy null; jest to potwierdzony brak rekordu, za który naliczana jest opłata. not_covered: źródło nie obejmuje miejsca albo państwo nie publikuje tych danych w postaci do odczytu maszynowego; value=null, agent nie może wyciągać wniosków, a opłata jest zwracana, gdy zapytanie dotyczy tych danych. not_computed: posiadamy źródło, lecz nie obliczyliśmy jeszcze wyniku dla tego miejsca, np. trwa ładowanie zbioru; value=null, opłata jest zwracana. Każdy stan zawiera uwagę napisaną prostym językiem.

States: covered | covered_no_data | not_covered | not_computed.

LayerAnswer required fields: layer, coverage, value, note, source, as_of, layer_version.

Billing rule

Koszt żądania. charged: liczba naliczonych wywołań po zwrotach. refunded: liczba wywołań naliczonych, a następnie zwróconych. rule: zastosowana reguła. Płatne są odpowiedzi, potwierdzone braki rekordów (covered_no_data) i niejednoznaczne listy kandydatów. Bezpłatne są błędne dane wejściowe (400), brak uwierzytelnienia (401), odpowiedzi bez zmiany danych (304) i operacje bezpłatne. Zwrot obejmuje pozostałe 4xx, każde 5xx, status not_covered oraz odpowiedź dotyczącą jednej kategorii ze stanem not_covered lub not_computed. W operacjach zbiorczych liczby dotyczą poszczególnych elementów.

Rule values: charged | free_operation | free_invalid_input | free_unauthorized | free_not_modified | free_idempotency_replay | refunded_client_error | refunded_server_error | refunded_not_covered | refunded_not_computed | batch_mixed | free_record_reuse.

curl example

curl --silent --show-error --request GET "https://api.landfeed.pl/v1/layer/flood" --get \
  -H "X-Api-Key: ${LANDFEED_API_KEY}" \
  --data-urlencode 'id=141803_2.0001.12/3'