OGC Standard Geometry

POINT

WKT POINT: Single Location Coordinate Syntax

Direct Definition:A WKT POINT represents a single 2D or 3D location in space. In standard GIS and PostGIS conventions (EPSG:4326), it is written with longitude (X) first and latitude (Y) second.

Valid Syntax & Example

POINT (-77.0428 -12.0464)
Syntax: POINT (longitude latitude)

Common Mistakes to Avoid

⚠️ Gotcha:

Swapping latitude and longitude (writing POINT(lat lon)). Latitudes outside [-90, 90] will fail parser validation.

PostGIS SQL Query Recipes

Creating and querying POINT geometries in PostgreSQL:

1. Construct POINT from WKT

SELECT ST_SetSRID(ST_MakePoint(-77.0428, -12.0464), 4326);

2. Export POINT to WKT text

SELECT ST_AsText(geom) FROM locations;

Python & Shapely Parsing

from shapely import wkt
point = wkt.loads("POINT (-77.0428 -12.0464)")
print("X (lon):", point.x, "Y (lat):", point.y)

Frequently Asked Questions

Why does longitude come first in WKT POINT?+

WKT follows Cartesian coordinate conventions (X before Y). On maps, East-West (Longitude) corresponds to X, and North-South (Latitude) corresponds to Y.

Convert POINT to Another Format

Every converter below accepts POINT and runs entirely in your browser.

All GIS format converters →

Other WKT Geometry Types