-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgomeos.go
37 lines (32 loc) · 1.37 KB
/
gomeos.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package gomeos
/*
#cgo darwin CFLAGS: -I/opt/homebrew/include
#cgo darwin LDFLAGS: -L/opt/homebrew/lib -lmeos -Wl,-rpath,/opt/homebrew/lib
#cgo linux CFLAGS: -I/usr/local/include/
#cgo linux LDFLAGS: -L/usr/local/lib -lmeos -Wl,-rpath,/usr/local/lib
#include "meos.h"
#include "meos_catalog.h"
#include <stdio.h>
#include <stdlib.h>
#include "cast.h"
*/
import "C"
type Interpolation C.int
const (
INTERP_NONE Interpolation = C.INTERP_NONE
DISCRETE Interpolation = C.DISCRETE
STEP Interpolation = C.STEP
LINEAR = C.LINEAR
ANYTEMPSUBTYPE = C.ANYTEMPSUBTYPE /**< Any temporal subtype */
TINSTANT = C.TINSTANT /**< Temporal instant subtype */
TSEQUENCE = C.TSEQUENCE /**< Temporal sequence subtype */
TSEQUENCESET = C.TSEQUENCESET /**< Temporal sequence set subtype */
T_TBOOL = C.T_TBOOL /**< temporal boolean type */
T_TFLOAT = C.T_TFLOAT /**< temporal float type */
T_TINT = C.T_TINT /**< temporal integer type */
T_TTEXT = C.T_TTEXT /**< temporal text type */
T_TGEOMPOINT = C.T_TGEOMPOINT /**< temporal geometry point type */
T_TGEOGPOINT = C.T_TGEOGPOINT /**< temporal geography point type */
)
func init() {
}