sharpmap

sharpmap is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 91 tokens per session (3,286 once invoked), scanned A, original, MIT.

An older .NET library for displaying two-dimensional maps in Windows Forms and ASP.NET Web Forms applications. It supports map layers, data sources, styling, coordinate conversion, and image rendering.

In plain words
What is it for?
Use it to render map layers from sources such as Shapefiles, PostGIS, WMS, or WFS, add labels and styles, and show maps in WinForms interfaces.
Why use it?
It provides mapping features for existing legacy .NET applications that cannot easily move to a newer mapping library.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to render map layers from sources such as Shapefiles, PostGIS, WMS, or WFS, add labels and styles, and show maps in WinForms interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/sharpmap
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add znlgis/opengis-skills --skill sharpmap
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sharpmap

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/opengis-skills/sharpmap/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/sharpmap)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/sharpmap"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/sharpmap/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sharpmap

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/sharpmap"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/sharpmap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,286 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.03286
Opus 5.5 $0.00036 $0.01314
Sonnet 5.5 $0.00018 $0.00657
Haiku 4.5 $0.00009 $0.00329

Measured 9d ago against content hash c01e13bcdc50, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sharpmap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

gis/sharpmap/SKILL.md · 345 lines

How it starts

The opening of the file, as written. The whole thing — 345 lines — stays where its author put it; the contents beside it link to each section on GitHub.

项目地址: https://github.com/SharpMap/SharpMap

官方文档: https://github.com/SharpMap/SharpMap/wiki

NuGet: SharpMap、SharpMap.UI、SharpMap.Extensions、SharpMap.Web、SharpMap.Layers.BruTile

最新版本: 1.2.0(截至 2026-10,NuGet;发布于 2021-03,仓库未归档但维护低频)

许可证: LGPL-2.1-or-later

概述

SharpMap 提供:

  • 数据源:Shapefile、PostGIS、SQL Server Spatial、Oracle Spatial、SQLite/SpatiaLite、WMS、WFS、TileSource(OSM/Bing)
  • 图层模型:VectorLayer、LabelLayer、TileLayer、WmsLayer
  • 样式:VectorStyle、LabelStyle、按属性主题样式
  • 坐标变换:通过 ProjNet
  • 几何:基于 NetTopologySuite
  • 渲染:System.Drawing 位图 / WMS 服务输出
  • UI 控件:WinForms MapBox

注意:SharpMap 核心库目标框架为 netstandard2.0,而 WinForms 控件包 SharpMap.UI 仅支持 .NET Framework 4.7.2;仓库未归档但维护低频。新项目建议改用 Mapsui。


安装

方式一:dotnet CLI

dotnet add package SharpMap                 # 核心(netstandard2.0)
dotnet add package SharpMap.UI              # WinForms MapBox 控件(.NET Framework 4.7.2)
dotnet add package SharpMap.Extensions      # 扩展数据源(PostGIS、OGR、SpatiaLite 等)
dotnet add package SharpMap.Layers.BruTile  # 在线瓦片图层 TileAsyncLayer(依赖 BruTile 2.1.2)
dotnet add package SharpMap.Web             # ASP.NET WMS 服务
dotnet add package ProjNet4GeoAPI           # 坐标变换(实现 GeoAPI 接口;ProjNet 2.x 与 SharpMap 1.2 类型不兼容)

方式二:手写 csproj 的 PackageReference

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net472</TargetFramework>   <!-- SharpMap.UI 只有 .NET Framework 4.7.2 -->
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="SharpMap" Version="1.2.0" />
    <PackageReference Include="SharpMap.UI" Version="1.2.0" />
    <PackageReference Include="SharpMap.Layers.BruTile" Version="1.2.0" />
  </ItemGroup>
</Project>

验证

dotnet --version        # 确认 SDK 可用
dotnet restore          # 能还原 SharpMap 1.2.0 即包解析成功
dotnet build            # 编译通过仅代表能构建,渲染结果仍需出图检查

dotnet restore 通常伴随 NU1902/NU1903/NU1904 漏洞告警(SharpMap 1.2.0 发布于 2021-03,传递依赖较旧),这是已知状态,不要当成安装失败。

Read the full file on GitHub · 345 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago Changed · +43 lines c01e13bcdc50
  2. 17d ago Changed · -8 lines · +47 tokens per session f4c27d56c54f
  3. 23d ago Changed · +7 lines 4bf964bcbd66
  4. 1mo ago Changed c00410c60d1a
  5. 1mo ago Changed 1c97181beb8e
  6. 1mo ago Changed 4036834f2f72
  7. 2mo ago First seen · 303 lines · 44 tokens per session scan A ff981847c389

Subscribe to this mod's changes

sharpmap is a skill published in the GitHub repository znlgis/opengis-skills (76 stars, last pushed 10d ago), licensed MIT. It adds 91 tokens to every session and 3,286 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

sharpmap compared with skills from other repositories

sharpmap next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sharpmapznlgis/opengis-skillsSkill7610d agoMITA91Claude Code, Codex
opentelemetry-net-instrumentationAaronontheweb/dotnet-skillsSkill1.3k9d agoMITA56Claude Code
migrate-xunit-to-xunit-v3managedcode/dotnet-skillsSkill508yesterdayMITA149Claude Code, Codex
semantic-kernelmanagedcode/dotnet-skillsSkill508yesterdayMITA116Claude Code, Codex
wpfmanagedcode/dotnet-skillsSkill508yesterdayMITA122Claude Code, Codex
mcpmanagedcode/dotnet-skillsSkill508yesterdayMITA123Claude Code, Codex
template-instantiationmanagedcode/dotnet-skillsSkill508yesterdayMITA168Claude Code, Codex