[ 
https://issues.apache.org/jira/browse/DRILL-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960598#comment-16960598
 ] 

ASF GitHub Bot commented on DRILL-4303:
---------------------------------------

arina-ielchiieva commented on pull request #1858: DRILL-4303: ESRI Shapefile 
(shp) Format Plugin
URL: https://github.com/apache/drill/pull/1858#discussion_r339342956
 
 

 ##########
 File path: contrib/format-esri/README.md
 ##########
 @@ -0,0 +1,35 @@
+# 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`.
 
 Review comment:
   Use one space...
   ```suggestion
   * `geom`:  A geometric point or path. This field is returned as a 
`VARBINARY`.
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> ESRI Shapefile (shp) format plugin
> ----------------------------------
>
>                 Key: DRILL-4303
>                 URL: https://issues.apache.org/jira/browse/DRILL-4303
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Other
>    Affects Versions: 1.17.0
>            Reporter: Karol Potocki
>            Assignee: Charles Givre
>            Priority: Major
>              Labels: doc-impacting
>             Fix For: 1.17.0
>
>
> Allow Drill (drill-gis) to read esri shapefiles, one of the most popular 
> geospatial formats.
> Format described here:
> https://www.esri.com/library/whitepapers/pdfs/shapefile.pdf
> It consists of three files (prj - srid information, dbf - data fields, shp - 
> geometry data)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to