Questions tagged [wkt]

Well-known text (WKT) is a text markup language for representing vector geometry objects on a map, spatial reference systems of spatial objects and transformations between spatial reference systems.

Well-known text (WKT) is a text markup language for representing vector geometry objects on a map, spatial reference systems of spatial objects and transformations between spatial reference systems. A binary equivalent, known as well-known binary (WKB) is used to transfer and store the same information on databases, such as PostGIS, Microsoft SQL Server and DB2.

The formats were originally defined by the Open Geospatial Consortium (OGC) and described in their Simple Feature Access and Coordinate Transformation Service specifications. The current standard definition is in the ISO/IEC 13249-3:2011 standard, "Information technology -- Database languages -- SQL multimedia and application packages -- Part 3: Spatial" (SQL/MM).

http://en.wikipedia.org/wiki/Well-known_text

185 questions
-1
votes
1 answer

How to convert GPS Long/Lat values to .WKT formatted LINESTRINGS?

I have GPS data which includes longitude and latitude information such as: 1 - longitude = 121.469600 latitude = 31.291600 2 - longitude = 121.432800 latitude = 31.307100 ... I need to convert this points to LINESTRING function and create .wkt…
-1
votes
1 answer

How do you render polygons with holes from WKT in Google Maps?

The project I'm working on involves parsing an SVG, extracting path coordinates, converting them to Well-Known Text and then into GeoJSON to be added to a Google Maps API data layer. This all works fine until a path has one or more holes in it. In…
Bobe
  • 2,040
  • 8
  • 29
  • 49
-1
votes
1 answer

Reformattiong CSV to WKT

I need help reformatting a CSV file of polygons into a format readable by QGIS. The data I downloaded has a bunch of seemingly unnecessary text before the coordinates of the polygons. The coordinates are formatted like…
-1
votes
1 answer

"Access violation reading location 0x00000000" GDAL WKT C++

I work on GIS-system and use database for storing coordinates. I read coordinates from database with QT API. I get coordinates from database in WKT format (Well-Known Text). Next, I'm trying to build GDAL types (OGRGeometry) from WKT. Geometry is…
koch_kir
  • 163
  • 17
-2
votes
1 answer

Converting WKT to WKB in Postgresql

I have a table called areas_map with two columns a_id (bigint) and geom (geometry(MultiPolygon, 4326)). Table "public.areas_map" Column | Type | Collation | Nullable |…
Lily
  • 3
  • 3
1 2 3
12
13