govmap-api

Query Israeli government map layers via the GovMap layers-catalog REST API.

130|14|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/LiorVainer/data-israel --skill govmap-api-liorvainer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: govmap-api
Source: https://github.com/LiorVainer/data-israel/tree/main/.claude/skills/govmap-api
Command: npx skills add https://github.com/LiorVainer/data-israel --skill govmap-api-liorvainer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Querying GovMap's 122 government map layers requires undocumented endpoints, EPSG:3857 coordinates, case-sensitive layer IDs, and specific headers, making direct integration error-prone without a verified reference. ## Core Features & Use Cases - Verified Endpoint Reference: Documents the token-free entitiesByPoint and layer metadata endpoints with request/response schemas, Zod definitions, and error behaviors. - Complete Layer Catalog: Lists all 122 GovMap layers with IDs, Hebrew names, data sources, and field schemas for layers exposing metadata. - Geocoding Workflow: Explains how to convert Hebrew addresses to EPSG:3857 coordinates via the autocomplete endpoint before querying layers. - Use Case: Add a new tool to the govmap data source that finds all gas stations, bus stops, or land parcels within 2km of a Hebrew address by following the documented subfolder pattern. ## Quick Start Use the govmap-api skill to add a new GovMap layer tool that queries police stations near a given Hebrew address.

Frequently Asked Questions about govmap-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query GovMap layers by location without an API token?

Use POST /api/layers-catalog/entitiesByPoint with a point in EPSG:3857 coordinates, an array of layer IDs, and a tolerance in meters. Include the header Origin: https://www.govmap.gov.il; no API token is required for this endpoint.

How to geocode a Hebrew address for GovMap API queries?

Send the address to POST /api/search-service/autocomplete with the searchText field. The response includes a shape field containing a WKT POINT in EPSG:3857, which you parse and pass as the point parameter to entitiesByPoint.

What coordinate system does the GovMap API use?

All layers-catalog and search-service endpoints use EPSG:3857 (Web Mercator), not ITM. Some layer field values like x_itm and y_itm use ITM (EPSG:2039), and portal URLs auto-detect the projection from coordinate value ranges.

Why does GovMap entitiesByPoint return empty data?

Empty data arrays mean no features were found within the tolerance radius, which is not an error. Common causes include case-sensitive layer ID mismatches (e.g., gasstations instead of GASSTATIONS), too-small tolerance, or layers that return null metadata.

What is the difference between entitiesByPoint and layer-features-by-location?

entitiesByPoint is token-free but only supports point queries with a radius. layer-features-by-location requires a domain-bound API token from govmap.gov.il but supports WKT geometries like polygons and lets you specify which fields to return.