Skills Plugins MCP Prompt Model 博客 我的中心
生活与工具 #data #api #ai

govmap-api

This skill should be used when the user asks about 'GovMap layers', 'GovMap API', 'map layers', 'entitiesByPoint', 'layer metadata', 'govmap endpoints', 'what layers are available', 'query map data by location', or mentions adding new GovMap layer tools, querying geospatial data from govmap.gov.il, or extending the govmap data source with new layers. Provides the complete GovMap layers-catalog REST API reference, verified endpoint schemas, and the full catalog of 122 queryable government map layers with their field definitions.

DeepseekModel 官方收录技能 质量 优秀 · 78 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=liorvainer-data-israel-claude-skills-govmap-api-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name govmap-api description This skill should be used when the user asks about 'GovMap layers', 'GovMap API', 'map layers', 'entitiesByPoint', 'layer metadata', 'govmap endpoints', 'what layers are available', 'query map data by location', or mentions adding new GovMap layer tools, querying geospatial data from govmap.gov.il, or extending the govmap data source with new layers. Provides the complete GovMap layers-catalog REST API reference, verified endpoint schemas, and the full catalog of 122 queryable government map layers with their field definitions. GovMap Layers-Catalog REST API Complete reference for querying Israeli government map layers via the GovMap layers-catalog REST API. All endpoints verified working as of 2026-04-10. API Overview GovMap exposes three REST API service prefixes. Only layers-catalog works without an API token: Service Prefix Auth Required Status /api/layers-catalog/* No (requires Origin header) Primary — use this /api/search-service/* No Already used by nadlan autocomplete /api/spatial-analysis/* Yes (domain-bound apiToken ) Requires registration at govmap.gov.il Base URL: https://www.govmap.gov.il/api Required header: Origin: https://www.govmap.gov.il (for layers-catalog endpoints) Coordinate system: All coordinates are EPSG:3857 (Web Mercator) , NOT ITM. The autocomplete endpoint returns shapes in this projection. Core Endpoints 1. POST /api/layers-catalog/entitiesByPoint Query entities from one or more layers near a geographic point. No API token required. Request body: { "point" : [ 3873880 , 3769003 ] , "layers" : [ { "layerId" : "GASSTATIONS" } , { "layerId" : "Neighborhood" } , { "layerId" : "PARCEL_ALL" , "filter" : "optional CQL filter" } ] , "tolerance" : 2000 , "calculateDistance" : true , "language" : "he" } Field Type Required Description point [number, number] Yes [x, y] in EPSG:3857 layers Array<{layerId, filter?}> Yes Layers to query tolerance number Yes Search radius in meters calculateDistance boolean No Include distance from point language string No "he" or "en" Response: { "data" : [ { "name" : "gasstations" , "caption" : "תחנות דלק" , "fieldsMapping" : { "name" : "שם" , "company" : "חברה" } , "entities" : [ { "objectId" : 123 , "centroid" : [ 3873500 , 3769200 ] , "geom" : "POINT Z (...)" , "fields" : [ { "fieldName" : "שם" , "fieldValue" : "תל אביב" , "fieldType" : 1 , "isVisible" : true } ] , "distance" : 475.7 } ] , "dim" : 2 , "layerId" : "42" } ] } Key behaviors: Multi-layer queries supported (pass multiple objects in layers array) Returns up to 100 entities per layer Empty "data": [] means no features found within tolerance Layer IDs are case-sensitive (e.g., GASSTATIONS not gasstations ) fieldsMapping maps internal field names to Hebrew display names fieldType : 1=text, 2=number, 8=date 2. GET /api/layers-catalog/layer/{layerId}/metadata Get field definitions and source info for a layer. No API token required. Response: { "description" : { "name" : "תחנות דלק" , "source" : "משרד האנרגיה" , "description" : "..." } , "fields" : { "name" : "שם" , "company" : "חברה" , "address" : "כתובת" , "city" : "עיר" } } Returns null for layers that don't expose metadata. 3. POST /api/spatial-analysis/layer-features-by-location (Token Required) More powerful than entitiesByPoint — supports WKT geometry (polygons, lines), not just points. Request body: { "data" : { "geometry" : "POINT(179614.81 663968.73)" , "radius" : 500 , "layers" : [ { "name" : "GASSTATIONS" , "fields" : [ "name" , "company" ] } ] } , "apiToken" : "your-domain-bound-token" } Requires both apiToken and Origin header matching the registered domain. Geocoding Workflow To query layers by Hebrew address, first geocode via autocomplete (already implemented in nadlan client): POST /api/search-service/autocomplete { "searchText": "דיזנגוף 50 תל אביב יפו" } Returns shape: "POINT(3873880 3769003)" in EPSG:3857. Parse with parseCoordinatesFromShape() from govmap.client.ts , then pass to entitiesByPoint . Verified Layer Tiers Layers tested and confirmed returning data via entitiesByPoint (5km tolerance, Tel Aviv center): Tier Layer ID Hebrew Name Entities Found Tier 1 PARCEL_ALL חלקות 100 SUB_GUSH_ALL גושים 100 Neighborhood שכונות 4 statistic_areas אזורים סטטיסטיים 100 bus_stops תחנות אוטובוס 100 hotels בתי מלון 93 GASSTATIONS תחנות דלק 55 Tier 2 POLICE_Yehida_Location תחנות משטרה 9 FIRE_STATIONS תחנות כיבוי 6 Emergancy_Hospitals בתי חולים 3 Null metadata shmurot_teva_ganim שמורות טבע 0 ganim_leumim גנים לאומיים 0 mitchmim_mshbsh התחדשות עירונית 0 activefaults שברים פעילים 0 Layers returning null metadata may require different layer IDs or may not be queryable via this endpoint. Implementation in This Project The existing govmap data source at src/data-sources/govmap/ already has: Shared client infrastructure ( api/govmap.client.ts ) with rate limiting and retry Autocomplete geocoding ( /search-service/autocomplete ) Coordinate parsing ( parseCoordinatesFromShape ) Portal URL generation ( buildGovmapPortalUrl ) New layer tools should follow the subfolder pattern (like tools/nadlan/ ): Create api/layers/ for the layers-catalog client methods Create tools/layers/ for the new tools Spread new tools into the parent tools/index.ts Update agent instructions, translations, and source configs Additional Resources Reference Files references/layers-catalog.md — Complete catalog of all 122 GovMap layers with IDs, Hebrew names, sources, and field schemas for every layer that exposes metadata references/api-endpoints.md — Detailed endpoint documentation including Zod schemas extracted from the GovMap JS bundle, response examples, error handling, and the layer-features-by-location (token-required) endpoint specification Existing Project Files src/data-sources/govmap/api/govmap.client.ts — Shared HTTP client (reuse for new tools) src/data-sources/govmap/api/govmap.constants.ts — Layer ID constants (extend with new layers) src/data-sources/govmap/api/govmap.endpoints.ts — URL builders (add layers-catalog paths) src/data-sources/CLAUDE.md — Data source architecture guide (subfolder pattern)
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。