Map File Format


Maps come in different file formats. The maps that can be imported into VanGogh contain several polygons, separated by empty lines. A polygon consists of a header with its name, a label "Polygon" and the number of points that define the polygon. The file must be simple text, separated by tabs.

The following extract is from the "Oil Dataset", file Poly.txt,

1000 Polygon 8
7.7567978 6.8837285  
7.5755286 6.6183047  
7.5302114 6.4855928  
7.3942599 6.3528810  
7.5755286 6.3528810  
7.9833837 6.6625423  
7.9833837 6.8394914  
7.7567978 6.8837285  
     
2000 Polygon 10
7.3942599 6.3528810  
7.5755286 6.3528810  
7.5755286 6.2201691  
... ...