Opened 12 years ago
Closed 12 years ago
#551 closed defect (fixed)
Redline: Configurable data store type
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | P2 | Milestone: | Future |
Component: | Widgets | Version: | 2.0 |
Severity: | Major | Keywords: | |
Cc: | Browser: | All | |
External ID: | Operating System: | All | |
state: | New |
Description
The current choice of data store for the Redline widget is SDF.
Because we're using MgFileFeatureSourceParams server-side for creating the initial Redline data store, we should be able to extend this to support any other provider supported by this class like SQLite and SHP. The redline FDO schema is simple enough even for a schematically constrained format like SHP.
For SHP it would have to be a special case where if the user chooses to download the data, we need to "download" the SHP file and its dependent data files to a temp location and serve out a zipped version of this file.
We could then expose the data store type as a new widget extension property (defaulting to SDF to preserve original behaviour)
For SHP upload, assume zip file input containing the required SHP file and its dependent files.