MCPcopy Create free account
hub / github.com/TabularisDB/tabularis / getGeometryHelperText

Function getGeometryHelperText

src/utils/geometryInput.ts:72–77  ·  view source on GitHub ↗
(isRawSqlMode: boolean)

Source from the content-addressed store, hash-verified

70 * Gets helper text for the current mode
71 */
72export function getGeometryHelperText(isRawSqlMode: boolean): string {
73 if (isRawSqlMode) {
74 return "Inserisci una funzione SQL completa (es: ST_GeomFromText('POINT(30 40)', 4326))";
75 }
76 return "Inserisci formato WKT (es: POINT(30 40))";
77}
78
79/**
80 * Validates if a string looks like valid WKT format

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected