the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+6
@@ -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;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { Position } from "geojson";
|
||||
export declare function pointInPolygon(point: Position, rings: Position[][]): boolean;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+7
@@ -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;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { Feature, LineString, Polygon } from "geojson";
|
||||
export declare function selfIntersects(feature: Feature<Polygon> | Feature<LineString>): boolean;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Reference in new issue
Block a user