示例#1
0
 public GeoEngine(
     string x,
     string y,
     string datatype,
     string spatialReference,
     string layerName,
     Dictionary <string, List <string> > loadingInfoColumns,
     Dictionary <string, string> resultDescriptorColumns,
     TimeObject start = null,
     TimeObject end   = null
     )
 {
     loadingInfo      = new loadingInfo(x, y, loadingInfoColumns, datatype, layerName, start, end);
     resultDescriptor = new resultDescriptor(resultDescriptorColumns, datatype, spatialReference);
 }
示例#2
0
        public loadingInfo(string _x, string _y, Dictionary <string, List <string> > _columns, string _datatype, string _layername, TimeObject start = null, TimeObject end = null)
        {
            x                  = _x;
            y                  = _y;
            columns            = _columns;
            dataType           = _datatype;
            layerName          = _layername;
            fileName           = layerName + ".txt;";
            forceOgrTimeFilter = false;
            onError            = "ignore";
            time               = new Time();

            if (start != null)
            {
                time.start = start;
            }
            if (end != null)
            {
                time.end = end;
            }
        }
示例#3
0
 public Time(TimeObject _start, TimeObject _end)
 {
     start = _start;
     end   = _end;
 }
示例#4
0
 public Time()
 {
     start = new TimeObject();
     end   = new TimeObject();
 }