Last change
on this file was 34860, checked in by gerdp, 6 years ago |
see #17227 Show error message for erroneous poly file or accept it
- rewrite of importer and exporter to improve name handling and multipolygon creation
- add support for "Several of these files may be combined to one multi-sectioned file. In this case each section must be separated from its preceding section by an empty line (combined files are used by the programs osmrelpoly and osmassignpoly)."
- add unit tests
|
File size:
1.3 KB
|
Line | |
---|
1 | first
|
---|
2 | 1
|
---|
3 | 109.116270 -19.754965
|
---|
4 | 134.560899 -8.865515
|
---|
5 | 155.225021 -11.445777
|
---|
6 | 178.973341 -34.767630
|
---|
7 | 178.819131 -47.479347
|
---|
8 | 122.378319 -49.422367
|
---|
9 | 103.873134 -24.186817
|
---|
10 | 109.116270 -19.754965
|
---|
11 | END
|
---|
12 | END
|
---|
13 |
|
---|
14 | second
|
---|
15 | 1
|
---|
16 | -27.000000 75.000000
|
---|
17 | -32.733610 39.048420
|
---|
18 | -17.137840 31.093990
|
---|
19 | -9.611205 35.985870
|
---|
20 | -5.653329 35.894580
|
---|
21 | -5.393482 35.987210
|
---|
22 | -5.085261 36.046190
|
---|
23 | 3.541102 37.759810
|
---|
24 | 11.600370 37.778150
|
---|
25 | 11.600370 34.000000
|
---|
26 | 35.408480 33.992890
|
---|
27 | 35.408480 35.627900
|
---|
28 | 36.236940 35.806410
|
---|
29 | 36.768620 36.195300
|
---|
30 | 36.754060 36.570560
|
---|
31 | 39.193940 36.611490
|
---|
32 | 42.398570 37.054530
|
---|
33 | 44.328630 36.914900
|
---|
34 | 44.996930 37.199370
|
---|
35 | 45.000000 75.000000
|
---|
36 | -27.000000 75.000000
|
---|
37 | END
|
---|
38 | !2
|
---|
39 | 9.890545E+00 4.822680E+01
|
---|
40 | 9.892534E+00 4.752921E+01
|
---|
41 | 1.130254E+01 4.753324E+01
|
---|
42 | 1.127072E+01 4.827977E+01
|
---|
43 | 9.890545E+00 4.822680E+01
|
---|
44 | END
|
---|
45 | END
|
---|
46 |
|
---|
47 | third
|
---|
48 | 1
|
---|
49 | -179.915000 -60.347030
|
---|
50 | -23.244010 -61.792990
|
---|
51 | -23.834280 -16.230710
|
---|
52 | -45.475220 10.055700
|
---|
53 | -74.969470 13.604260
|
---|
54 | -80.765080 3.298111
|
---|
55 | -95.342020 3.287621
|
---|
56 | -179.999900 -4.938220
|
---|
57 | -179.999900 -60.347030
|
---|
58 | -179.915000 -60.347030
|
---|
59 | END
|
---|
60 | END
|
---|
Note:
See
TracBrowser
for help on using the repository browser.