Mercurial > gemma
comparison pkg/wkb/wkb.go @ 2471:63475c8e710e octree-diff
Moved WKB constants to own package.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 26 Feb 2019 11:34:15 +0100 |
parents | |
children | fc928ce7b57c |
comparison
equal
deleted
inserted
replaced
2470:5bd3236f2b1f | 2471:63475c8e710e |
---|---|
1 // This is Free Software under GNU Affero General Public License v >= 3.0 | |
2 // without warranty, see README.md and license for details. | |
3 // | |
4 // SPDX-License-Identifier: AGPL-3.0-or-later | |
5 // License-Filename: LICENSES/AGPL-3.0.txt | |
6 // | |
7 // Copyright (C) 2018 by via donau | |
8 // – Österreichische Wasserstraßen-Gesellschaft mbH | |
9 // Software engineering by Intevation GmbH | |
10 // | |
11 // Author(s): | |
12 // * Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
13 | |
14 package wkb | |
15 | |
16 const ( | |
17 XDR byte = 0 | |
18 NDR byte = 1 | |
19 | |
20 Point uint32 = 1 | |
21 LineString uint32 = 2 | |
22 Polygon uint32 = 3 | |
23 MultiLineString uint32 = 5 | |
24 PointZ uint32 = 1000 + 1 | |
25 LineStringZ uint32 = 1000 + 2 | |
26 MultiPointZ uint32 = 1000 + 4 | |
27 MultiLineStringZ uint32 = 1000 + 5 | |
28 TinZ uint32 = 1000 + 16 | |
29 TriangleZ uint32 = 1000 + 17 | |
30 ) |