tree: dcc08f23255e0c12ac30094fa8a5e21e603fe79c [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
contrib/format-esri/README.md

Format Plugin for ESRI Shape Files

This format plugin allows Drill to read ESRI Shape files. You can read about the shapefile format here: https://en.wikipedia.org/wiki/Shapefile.

Configuration Options

Other than the file extensions, there are no configuration options for this plugin. To use, simply add the following to your configuration:

    "shp": {
      "type": "shp",
      "extensions": [
        "shp"
      ]
    }

Usage Notes:

This plugin will return the following fields:

  • gid: Integer
  • srid: Integer
  • shapeType: String
  • name: Plain text
  • geom: A geometric point or path. This field is returned as a VARBINARY.

This plugin is best used with the suite of GIS functions in Drill which include the following: