I am confused by the output I'm getting from ogr2ogr when converting a shapefile to WKT. What I'm expecting to see is something in the form below (from Wikipedia):
MULTIPOLYGON (((40 40, 20 45, 45 30, 40 40)),
((20 35, 45 20, 30 5, 10 10, 10 30, 20 35),
(30 20, 20 25, 20 15, 30 20)))
What I'm getting out of ogr2ogr -f CSV out.wkt source.shp -lco GEOMETRY=AS_WKT
, in very abbreviated form, is this:
"MULTIPOLYGON (((-120.6 50.8, ...)", 33.9, 137.1, 2, 1,1,1
I do not understand how to interpret the final six numbers, which are not enclosed in brackets and fall outside the quotation marks. Can someone explain this or point me towards the appropriate documentation?