Closed mapsam closed 7 years ago
I found myself wanting the same! So after I figured it out I added it to the README.md :)
For ease I'll also add it here:
Encoded as: [ 9 0 0 26 20 0 0 20 19 0 15 9 22 2 26 18 0 0 18 17 0 15 9 4 13 26 0 8 8 0 0 7 15 ]
| | | | | | | | `> [00001 111] (ClosePath)
| | | | | | | `> [00011 010] = (LineTo), command count 3
| | | | | | `> [00001 001] = command id 1 (MoveTo), command count 1
| | | | | `> [00001 111] (ClosePath)
| | | | `> [00011 010] = (LineTo), command count 3
| | | `> [00001 001] = command id 1 (MoveTo), command count 1
| | `> [00001 111] (ClosePath)
| `> [00011 010] = (LineTo), command count 3
`> [00001 001] = command id 1 (MoveTo), command count 1
Wow, thank you so much @coryagami!
Each of the examples includes an encoding section like this for linestring:
except for the multi polygon example. It would be great to get this in there!