Package ch.so.agi.mcp.tools
Class GeometryAttributeTools
java.lang.Object
ch.so.agi.mcp.tools.GeometryAttributeTools
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionensureGeometryDependencies(String attributeName, @Nullable Boolean arcs, @Nullable BigDecimal overlapMm, @Nullable Boolean chbase, @Nullable String iliVersion, @Nullable String geometryType, @Nullable String coordDomainFqn, @Nullable Boolean directed, @Nullable Boolean mandatory, @Nullable String collection) listGeometryTypes(@Nullable String iliVersion)
-
Constructor Details
-
GeometryAttributeTools
public GeometryAttributeTools()
-
-
Method Details
-
ensureGeometryDependencies
public Map<String,Object> ensureGeometryDependencies(@McpToolParam(description="Attributname",required=true) String attributeName, @McpToolParam(description="Kreisbogen erlaubt (true = WITH ARCS)",required=false) @Nullable Boolean arcs, @McpToolParam(description="Erlaubte \u00dcberlappung in Millimeter (Default 1)",required=false) @Nullable BigDecimal overlapMm, @McpToolParam(description="CHBase-Geometrien verwenden",required=false) @Nullable Boolean chbase, @McpToolParam(description="INTERLIS Sprachversion (2.3 oder 2.4)",required=false) @Nullable String iliVersion, @McpToolParam(description="Geometrietyp, z. B. SURFACE (Default)",required=false) @Nullable String geometryType, @McpToolParam(description="Explizite Koordinatendomain f\u00fcr INTERLIS-Geometrien; bei chbase=false erforderlich",required=false) @Nullable String coordDomainFqn, @McpToolParam(description="Linienzug ist DIRECTED (nur Polyline/MultiPolyline)",required=false) @Nullable Boolean directed, @McpToolParam(description="Attribut ist MANDATORY",required=false) @Nullable Boolean mandatory, @McpToolParam(description="Collection: LIST OF oder BAG OF",required=false) @Nullable String collection) -
listGeometryTypes
@McpTool(name="listGeometryTypes", description="Liste alle unterst\u00fctzten Geometrietypen f\u00fcr die gew\u00fcnschte INTERLIS-Sprachversion und Modell (INTERLIS/CHBase).", annotations=) public Map<String,Object> listGeometryTypes(@McpToolParam(description="INTERLIS Sprachversion (2.3 oder 2.4)",required=false) @Nullable String iliVersion)
-