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.
npx skills add znlgis/opengis-skills --skill projnet4geoapigit clone --depth 1 https://github.com/znlgis/opengis-skillsWrote 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.
[](https://agentmods.dev/skills/znlgis/opengis-skills/projnet4geoapi)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/projnet4geoapi"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/projnet4geoapi/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.
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/projnet4geoapi"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/projnet4geoapi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00121 | $0.04527 |
| Opus 5.5 | $0.00048 | $0.01811 |
| Sonnet 5.5 | $0.00024 | $0.00905 |
| Haiku 4.5 | $0.00012 | $0.00453 |
Grade A, and why
projnet4geoapi 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 19d 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.
How it starts
The opening of the file, as written. The whole thing — 294 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/NetTopologySuite/ProjNet4GeoAPI
最新版本: 2.1.0(截至 2026-11,NuGet
ProjNet,netstandard2.0 / netstandard2.1)NuGet(1.x,旧版):
ProjNet4GeoAPI1.4.1(面向 GeoAPI 接口的项目,如 SharpMap 1.2)官方文档: https://github.com/NetTopologySuite/ProjNet4GeoAPI/wiki
许可证: LGPL-2.1-or-later
维护状态: 上游 README 明确说明维护资源不足,官方给出的替代方案是 SharpProj、DotSpatial.Projections、GDAL;新项目在需要完整 EPSG 支持时应优先考虑这些方案。
概述
ProjNet 是 SharpMap 时代延续下来的 .NET 坐标参考系与投影引擎,按 OGC Simple Features 模型描述坐标系,负责「点对点」的坐标转换:源坐标系 → 目标坐标系,中间可能包含基准面转换(datum transformation)。它不提供地图渲染,也不自带 EPSG 数据库,坐标系定义要么用内置常量(WGS84、WebMercator),要么由调用方提供 WKT。
- 坐标系模型:地理坐标系、地心坐标系、投影坐标系、垂直坐标系、复合坐标系
- 转换能力:基准面转换、地理↔投影、投影↔投影,支持 Albers、Mercator、Transverse Mercator、Lambert Conformal Conic、Polar Stereographic、Krovak 等常用投影
- 定义读写:WKT 与 XML 互转(
CreateFromWkt/CreateFromXml) - 服务容器:
CoordinateSystemServices维护 SRID → 坐标系映射与转换工厂,默认只注册 EPSG:4326 与 EPSG:3857 - 两代包:2.x 用自带类型体系(
ProjNet.CoordinateSystems),1.x 实现 GeoAPI 接口供 SharpMap 等老库使用
环境准备
安装(.NET 6+ / netstandard2.0 兼容项目)
# 2.x 系列(推荐)
dotnet add package ProjNet --version 2.1.0
# 1.x 系列:只在必须实现 GeoAPI 接口的老项目里使用(如 SharpMap 1.2)
dotnet add package ProjNet4GeoAPI --version 1.4.1
# Package Manager Console
Install-Package ProjNet -Version 2.1.0
两个包的程序集名都是 ProjNET.dll,不能同时引用;同时引用会出现类型冲突与「找到多个同名类型」的编译错误。
验证
using ProjNet.CoordinateSystems;
using ProjNet.CoordinateSystems.Transformations;
var src = GeographicCoordinateSystem.WGS84;
var tgt = ProjectedCoordinateSystem.WebMercator;
var transform = new CoordinateTransformationFactory()
.CreateFromCoordinateSystems(src, tgt);
double[] xy = transform.MathTransform.Transform(new[] {116.397, 39.908});
Console.WriteLine($"{xy[0]:F2}, {xy[1]:F2}"); // 约 12957254.80, 4852582.10
dotnet run # 能打印出 Web Mercator 米制坐标即环境正常
目标框架
| 包 | 目标框架 | 说明 |
|---|---|---|
ProjNet 2.1.0 |
netstandard2.0 / netstandard2.1 | .NET Framework 4.6.1+、.NET 6/8/9 均可引用;netstandard2.0 版本额外依赖 System.Memory 4.6.0 |
ProjNet4GeoAPI 1.4.1 |
net35-client / net40-client / net45 / netstandard2.0 | 2018 年发布,只为兼容 GeoAPI 生态 |
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.
- 19d ago Changed 48b74def3abf
- 21d ago Changed · -6 lines bff294b9ad50
- 1mo ago First seen · 300 lines · 121 tokens per session scan A d36e4d2c80ca
projnet4geoapi is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 121 tokens to every session and 4,527 once invoked, about $0.0005 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-10-28.
projnet4geoapi compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| projnet4geoapiznlgis/opengis-skills | Skill | 87 | 20d ago | MIT | A | 121 | Claude Code, Codex |
| agui-dotnet-streaming-chatag-ui-protocol/ag-ui | Skill | 22k | today | MIT | A | 223 | Claude Code |
| migrate-xunit-to-xunit-v3dotnet/skills | Skill | 6.4k | today | MIT | A | 149 | Claude Code |
| azure-mgmt-apicenter-dotnetmicrosoft/skills | Skill | 3.3k | today | MIT | A | 97 | Claude Code |
| platform-detectiondotnet/skills | Skill | 6.4k | today | MIT | A | 166 | Claude Code |
| migrate-dotnet8-to-dotnet9dotnet/skills | Skill | 6.4k | today | MIT | A | 176 | Claude Code |
| template-instantiationdotnet/skills | Skill | 6.4k | today | MIT | A | 168 | Claude Code |