"""
Created on Wed Jul 18 10:49:26 2012

@author: pietro
"""

import grass.lib.vector as libvect


MAPTYPE = {
    libvect.GV_FORMAT_NATIVE: "native",
    libvect.GV_FORMAT_OGR: "OGR",
    libvect.GV_FORMAT_OGR_DIRECT: "OGR",
    libvect.GV_FORMAT_POSTGIS: "PostGIS",
}

VTYPE = {
    "point": libvect.GV_POINT,  # 1
    "line": libvect.GV_LINE,  # 2
    "boundary": libvect.GV_BOUNDARY,  # 3
    "centroid": libvect.GV_CENTROID,  # 4
    "face": libvect.GV_FACE,  # 5
    "kernel": libvect.GV_KERNEL,  # 6
    "area": libvect.GV_AREA,  # 7
    "volume": libvect.GV_VOLUME,
}  # 8
