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 geometry-api-javagit 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/geometry-api-java)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/geometry-api-java"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/geometry-api-java/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/geometry-api-java"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/geometry-api-java.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00105 | $0.04139 |
| Opus 5.5 | $0.00042 | $0.01656 |
| Sonnet 5.5 | $0.00021 | $0.00828 |
| Haiku 4.5 | $0.00011 | $0.00414 |
Grade A, and why
geometry-api-java 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 21d 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 — 398 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/Esri/geometry-api-java
官方文档: https://github.com/Esri/geometry-api-java/wiki
Maven Central:
com.esri.geometry:esri-geometry-api最新版本: 2.2.4(Maven Central,截至 2026-11);上游源码 2.3.1(2026-10-09),未发布到 Central
许可证: Apache-2.0
概述
Esri Geometry API for Java 是一个自包含的空间几何计算库,提供对二维和三维几何对象的创建、解析、序列化以及空间关系运算能力。它无需任何外部 GIS 依赖,可直接嵌入 Java 应用、Hadoop MapReduce、Hive UDF、Spark 等大数据处理框架中。
环境准备与快速集成
Maven
<dependency>
<groupId>com.esri.geometry</groupId>
<artifactId>esri-geometry-api</artifactId>
<version>2.2.4</version><!-- Maven Central 最新版;上游 2.3.1 尚未发布到 Central -->
</dependency>
Gradle
implementation 'com.esri.geometry:esri-geometry-api:2.2.4'
环境要求: JDK 1.7+;运行时依赖 jackson-core(JSON 处理)。
维护状态提示: Maven Central 上最新发布版本仍是 2.2.4(2020-09);上游仓库已发布 2.3.1(2026-10),但尚未发布到 Maven Central(可从 GitHub Releases 获取构建产物)。若需活跃维护的几何库,新项目建议优先选用 JTS(Java)或 NetTopologySuite(.NET)。
核心 API 一览
| 类 | 包 | 用途 |
|---|---|---|
GeometryEngine |
com.esri.core.geometry |
推荐入口——提供几何操作的静态便捷方法 |
OperatorFactoryLocal |
com.esri.core.geometry |
算子工厂,适用于高性能批量处理 |
SpatialReference |
com.esri.core.geometry |
空间参考 / 坐标系(通过 WKID 或 WKT 创建) |
MapGeometry |
com.esri.core.geometry |
将 Geometry 与 SpatialReference 打包在一起 |
Point |
com.esri.core.geometry |
点(0 维) |
MultiPoint |
com.esri.core.geometry |
多点集合(0 维) |
Polyline |
com.esri.core.geometry |
折线 / 路径集合(1 维) |
Polygon |
com.esri.core.geometry |
面 / 环集合(2 维) |
Envelope |
com.esri.core.geometry |
外接矩形(2 维) |
几何对象创建
import com.esri.core.geometry.*;
// 点
Point pt = new Point(116.4, 39.9); // 2D
Point pt3d = new Point(116.4, 39.9, 50.0); // 3D
// 折线
Polyline line = new Polyline();
line.startPath(0, 0);
line.lineTo(10, 10);
line.lineTo(20, 0);
// 面
Polygon polygon = new Polygon();
polygon.startPath(0, 0);
polygon.lineTo(10, 0);
polygon.lineTo(10, 10);
polygon.lineTo(0, 10);
// 自动闭合
// 外接矩形
Envelope env = new Envelope(0, 0, 10, 10);
// 多点
MultiPoint mp = new MultiPoint();
mp.add(1, 2);
mp.add(3, 4);
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.
- 21d ago Changed · -5 lines 0cae7b4ec287
- 1mo ago Changed · -1 lines 0a95028b3204
- 1mo ago Changed · -7 lines · +56 tokens per session c30c019012a8
- 1mo ago Changed · +37 lines 7b6d41dc8c42
- 2mo ago Changed 41c9e089afe4
- 2mo ago Changed 20e9eae3afc6
- 2mo ago Changed 5315c626568e
- 3mo ago First seen · 374 lines · 49 tokens per session scan A 19048e5a90d6
geometry-api-java is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 105 tokens to every session and 4,139 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-08-30.
geometry-api-java compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| geometry-api-javaznlgis/opengis-skills | Skill | 87 | 20d ago | MIT | A | 105 | Claude Code, Codex |
| wxjava-api-contributorbinarywang/WxJava | Skill | 33k | 2d ago | Apache-2.0 | A | 68 | Codex |
| azure-communication-callautomation-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 49 | Claude Code |
| azure-communication-chat-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 41 | Claude Code |
| azure-communication-common-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 35 | Claude Code |
| azure-communication-sms-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 36 | Claude Code |
| java-coding-standardshashgraph-online/awesome-codex-plugins | Skill | 1.6k | today | Apache-2.0 | A | 35 | Claude Code, Codex |