/// <summary> /// Gets the stream from the /// </summary> /// <returns></returns> protected Stream OpenGridTableStream() { if (UriEx.IsFile(_uri)) { return(File.OpenRead(_uri.LocalPath)); } throw new NotSupportedException(); }
private Stream OpenLasStream() { if (UriEx.IsFile(_uri)) { var uriLas = _uri.LocalPath; uriLas = Path.ChangeExtension(uriLas, ".las"); return(File.OpenRead(uriLas)); } throw new NotSupportedException(); }