the editable site (validation-lab)

This commit is contained in:
kpgarrod committed 2026-11-21 08:03:55 +01:00
commit 3ac81d5a52
13454 files changed
+2227005

No files matched your search

@@ -0,0 +1,6 @@
import { Position } from "geojson";
export declare function validLatitude(lat: number): boolean;
export declare function validLongitude(lng: number): boolean;
export declare function coordinatePrecisionIsValid(coordinate: Position, coordinatePrecision: number): boolean;
export declare function coordinateIsValid(coordinate: unknown[]): boolean;
export declare function getDecimalPlaces(value: number): number;
@@ -0,0 +1 @@
export {};
+2
View File
@@ -0,0 +1,2 @@
import { Position } from "geojson";
export declare function pointInPolygon(point: Position, rings: Position[][]): boolean;
@@ -0,0 +1 @@
export {};
+7
View File
@@ -0,0 +1,7 @@
import { Polygon } from "geojson";
/**
* Checks if a GeoJSON Polygon follows the right-hand rule.
* @param polygon - The GeoJSON Polygon to check.
* @returns {boolean} - True if the polygon follows the right-hand rule (counterclockwise outer ring), otherwise false.
*/
export declare function followsRightHandRule(polygon: Polygon): boolean;
@@ -0,0 +1 @@
export {};
+2
View File
@@ -0,0 +1,2 @@
import { Feature, LineString, Polygon } from "geojson";
export declare function selfIntersects(feature: Feature<Polygon> | Feature<LineString>): boolean;
@@ -0,0 +1 @@
export {};