GeoNode / django-osgeo-importer

An extensible Django app that allows users to upload geospatial data.
GNU General Public License v3.0
26 stars 30 forks source link

Add support for FGDB / Personal GeoDatabase #56

Open jj0hns0n opened 7 years ago

jj0hns0n commented 7 years ago

Since FGDB is/can be a directory, need to handle for zipping/unzipping.

JivanAmara commented 7 years ago

Do you have an example handy to attach to this ticket?

jj0hns0n commented 7 years ago

http://www.arcgis.com/home/item.html?id=bd441813cd2f4c8891aee671a65feb54

This has alot of extra stuff in it, but the Routes table should be a good example.

$ ogrinfo -so RH_SampleData.gdb/
Had to open data source read-only.
INFO: Open of `RH_SampleData.gdb/'
      using driver `OpenFileGDB' successful.
1: Centerline (3D Multi Line String)
2: Calibration_Point (3D Measured Point)
3: Redline (Multi Line String)
4: Route (None)
5: Centerline_Sequence (None)
6: LRSN_MilePoint (3D Measured Multi Line String)
7: AADT (None)
8: Access_Control (None)
9: Base_Thickness (None)
10: Crashes (None)
11: F_System (None)
12: Speed_Limit (None)
13: LRSE_Access_Control (3D Measured Multi Line String)
14: LRSE_Crashes (3D Measured Point)
15: LRSE_Speed_Limit (3D Measured Multi Line String)
16: LRSE_Functional_Class (3D Measured Multi Line String)
17: LRSI_MilePoint_Intersections (Point)
18: LRSN_RefMarker (3D Measured Multi Line String)
19: LRSE_Base_Thickness (3D Measured Multi Line String)
20: LRSE_AADT (3D Measured Multi Line String)
21: Redline__ATTACH (None)

$ ogrinfo -so RH_SampleData.gdb Route
Had to open data source read-only.
INFO: Open of `RH_SampleData.gdb'
      using driver `OpenFileGDB' successful.

Layer name: Route
Geometry: None
Feature Count: 22226
Layer SRS WKT:
(unknown)
FID Column = OBJECTID
FromDate: DateTime (0.0)
ToDate: DateTime (0.0)
RouteId: String (255.0)
GEORTE: String (6.0)
UpdateType: String (250.0)
CurMin: Real (0.0)
CurMax: Real (0.0)