42 #define GNM_VERSION "1.0"
43 #define GNM_VERSION_NUM 100
46 #define GNM_SYSLAYER_META "_gnm_meta"
47 #define GNM_SYSLAYER_GRAPH "_gnm_graph"
48 #define GNM_SYSLAYER_FEATURES "_gnm_features"
54 #define GNM_SYSFIELD_PARAMNAME "key"
55 #define GNM_SYSFIELD_PARAMVALUE "val"
56 #define GNM_SYSFIELD_SOURCE "source"
57 #define GNM_SYSFIELD_TARGET "target"
58 #define GNM_SYSFIELD_CONNECTOR "connector"
59 #define GNM_SYSFIELD_COST "cost"
60 #define GNM_SYSFIELD_INVCOST "inv_cost"
61 #define GNM_SYSFIELD_DIRECTION "direction"
62 #define GNM_SYSFIELD_GFID "gnm_fid"
63 #define GNM_SYSFIELD_LAYERNAME "ogrlayer"
64 #define GNM_SYSFIELD_BLOCKED "blocked"
65 #define GNM_SYSFIELD_PATHNUM "path_num"
66 #define GNM_SYSFIELD_TYPE "ftype"
69 #define GNM_RULEKW_CONNECTS "CONNECTS"
70 #define GNM_RULEKW_WITH "WITH"
71 #define GNM_RULEKW_VIA "VIA"
72 #define GNM_RULEKW_ALLOW "ALLOW"
73 #define GNM_RULEKW_DENY "DENY"
74 #define GNM_RULEKW_ANY "ANY"
76 #define GNM_BLOCK_NONE 0x0000
77 #define GNM_BLOCK_SRC 0x0001
78 #define GNM_BLOCK_TGT 0x0002
79 #define GNM_BLOCK_CONN 0x0004
80 #define GNM_BLOCK_ALL GNM_BLOCK_SRC | GNM_BLOCK_TGT | GNM_BLOCK_CONN
83 #define GNM_SRSFILENAME "_gnm_srs.prj"
88 #define GNMGFIDInt OFTInteger64
89 #define GetFieldAsGNMGFID GetFieldAsInteger64
90 #define GNMGFIDFormat CPL_FRMT_GIB