WKT File Format

Top  Previous  Next

The WKT file is a ‘|’ delimited ascii file formatted with the label at the beginning of each line, and the geometry after the first ‘|’. The Geometry must be in Well Known Text (WKT) or Modified Well Known Text format (MWKT). Additional fields which are not geometries are ignored by QuickMap. eg

 

1|Ship Wreck|POINT ( 176.61890298 40.34238320)|23|Salvaged

 

would load a point at coordinate ( 176.61890298 40.34238320) with label 1. Ship Wreck, 23 and Salvaged would be ignored.

 

The following examples provide a complete list of all possible permutations of the well-known text geometries.

 

 

Geometry Type

Point

<null>

point

Point

'POINT ( 2659211.22 5990105.58)'

       

Point

POINT ( 2659211.22 5990105.58)

       

Point

MULTIPOINT ( 2659211.22 5990105.58, 2659221.22 5990115.58)

QuickMap supports the term Multipoint but will only display the first co-ordinate.

       multipoint

Line

<null>

Empty line

Line

'LINESTRING ( 2659317.80 5990119.08, 2659280.72 5990338.84)'

       

Line

LINESTRING ( 2659317.80 5990119.08, 2659280.72 5990338.84)

       

Line

MULTILINESTRING ( 176.61751038 40.34185495, 176.61890298 40.34238320, 176.61751038 40.34185495)

(QuickMap supports the term Multilinestring but draws it like a linestring).

       

Line

( 2659317.80 5990119.08, 2659280.72 5990338.84, 2659327.80 5990129.08, 2659290.72 5990348.84)

(QuickMap supports the term Multilinestring but draws it like a linestring).

       multiline

Polygon

<null>

polygon

Polygon

'POLYGON (( 2659077.44 5990163.03, 2659141.99 5990155.47, 2659125.51 5990233.76, 2659077.44 5990163.03))'

       

Polygon

POLYGON (( 2659077.44 5990163.03, 2659141.99 5990155.47, 2659125.51 5990233.76, 2659077.44 5990163.03))

       

Polygon

MULTIPOLYGON (( 176.53050933 40.49081238, 176.52235675 40.48747325, 176.51930155 40.49021760, 176.52605863 40.49311882, 176.53050933 40.49081238))

       

Polygon

(( 2659077.44 5990163.03, 2659141.99 5990155.47, 2659125.51 5990233.76, 2659077.44 5990163.03)( 2659126.20 5990231.70, 2659168.09 5990228.27, 2659155.73 5990275.65, 2659126.20 5990231.70))