DiGi.GIS.PostgreSQL.UI.Windows - DiGi-Organization/DiGi.GIS.PostgreSQL.UI GitHub Wiki
MainWindow
public class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnectorInheritance System.Object → System.Windows.Threading.DispatcherObject → System.Windows.DependencyObject → System.Windows.Media.Visual → System.Windows.UIElement → System.Windows.FrameworkElement → System.Windows.Controls.Control → System.Windows.Controls.ContentControl → System.Windows.Window → MainWindow
Implements System.Windows.Markup.IComponentConnector
Initializes a new instance of the MainWindow class.
public MainWindow(DiGi.GIS.PostgreSQL.Classes.GISPostgreSQLConverterManager? gISPostgreSQLConverterManager, DiGi.GIS.WebAPI.Classes.GISWebAPIManager? GISWebAPIManager, System.Nullable<DiGi.GIS.PostgreSQL.UI.Enums.Mode> mode=null);gISPostgreSQLConverterManager DiGi.GIS.PostgreSQL.Classes.GISPostgreSQLConverterManager
The manager responsible for GIS PostgreSQL conversion processes.
GISWebAPIManager DiGi.GIS.WebAPI.Classes.GISWebAPIManager
The manager responsible for GIS PostgreSQL Web API interactions.
The operational mode of the application. If null, it is determined based on converter availability.
Gets the current operational mode of the application.
public DiGi.GIS.PostgreSQL.UI.Enums.Mode Mode { get; }Gets or sets the collection of visual background tasks associated with the client operational mode.
public System.Collections.ObjectModel.ObservableCollection<DiGi.UI.WPF.Interfaces.IVisualBackgroundTask>? VisualBackgroundTasks_Client { get; set; }System.Collections.ObjectModel.ObservableCollection<DiGi.UI.WPF.Interfaces.IVisualBackgroundTask>
Gets or sets the collection of visual background tasks associated with the server operational mode.
public System.Collections.ObjectModel.ObservableCollection<DiGi.UI.WPF.Interfaces.IVisualBackgroundTask>? VisualBackgroundTasks_Server { get; set; }System.Collections.ObjectModel.ObservableCollection<DiGi.UI.WPF.Interfaces.IVisualBackgroundTask>
InitializeComponent
public void InitializeComponent();Implements InitializeComponent()
Interaction logic for PostgreSQLBuildingDataUpdateOptionsWindow.xaml
Asks for the three settings that decide what a run costs and touches - which counties, which kinds of column, and how long a statement may take. The radiuses are carried over from the instance it was given untouched: each one names its own pair of stored columns, so changing them from a dialog would change the shape of the table rather than the numbers in it.
The counties matter most. Left unscoped the run walks every subdivision in the country, which is the pass nobody wants to start by accident while trying one county.
The window works on a copy, so a cancelled dialog leaves the settings of an earlier run exactly as they were.
public class PostgreSQLBuildingDataUpdateOptionsWindow : System.Windows.Window, System.Windows.Markup.IComponentConnectorInheritance System.Object → System.Windows.Threading.DispatcherObject → System.Windows.DependencyObject → System.Windows.Media.Visual → System.Windows.UIElement → System.Windows.FrameworkElement → System.Windows.Controls.Control → System.Windows.Controls.ContentControl → System.Windows.Window → PostgreSQLBuildingDataUpdateOptionsWindow
Implements System.Windows.Markup.IComponentConnector
PostgreSQLBuildingDataUpdateOptionsWindow(PostgreSQLBuildingDataUpdateOptions, IEnumerable<AdministrativeAreal2DReference>) Constructor
Initializes a new instance of the PostgreSQLBuildingDataUpdateOptionsWindow class.
public PostgreSQLBuildingDataUpdateOptionsWindow(DiGi.GIS.PostgreSQL.Classes.PostgreSQLBuildingDataUpdateOptions? postgreSQLBuildingDataUpdateOptions, System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>? administrativeAreal2DReferences);postgreSQLBuildingDataUpdateOptions DiGi.GIS.PostgreSQL.Classes.PostgreSQLBuildingDataUpdateOptions
The options the controls are filled from. When null the defaults are used.
administrativeAreal2DReferences System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>
The counties to choose from. A county whose territory is in several pieces is one entry per piece, each with its own identifier, and each has to be selectable on its own.
Gets the options the window holds. They carry the values of the controls only once the dialog has been closed with OK; until then, and after a cancellation, they are the values it was opened with.
public DiGi.GIS.PostgreSQL.Classes.PostgreSQLBuildingDataUpdateOptions PostgreSQLBuildingDataUpdateOptions { get; }DiGi.GIS.PostgreSQL.Classes.PostgreSQLBuildingDataUpdateOptions
InitializeComponent
public void InitializeComponent();Implements InitializeComponent()
Interaction logic for PostgreSQLTerrainPointCreateTableOptionsWindow.xaml
Asks for the three settings that decide what a terrain point run costs and covers - the spacing of the sampling grid, whether points already stored are sampled again, and the counties to sample. Every other option of the instance it was given is carried over untouched, which is deliberate: the origin of the grid and the tile size are what let separate runs share their points, and they are not settings to change from a dialog.
The window works on a copy, so a cancelled dialog leaves the settings of an earlier run exactly as they were.
public class PostgreSQLTerrainPointCreateTableOptionsWindow : System.Windows.Window, System.Windows.Markup.IComponentConnectorInheritance System.Object → System.Windows.Threading.DispatcherObject → System.Windows.DependencyObject → System.Windows.Media.Visual → System.Windows.UIElement → System.Windows.FrameworkElement → System.Windows.Controls.Control → System.Windows.Controls.ContentControl → System.Windows.Window → PostgreSQLTerrainPointCreateTableOptionsWindow
Implements System.Windows.Markup.IComponentConnector
PostgreSQLTerrainPointCreateTableOptionsWindow(PostgreSQLTerrainPointCreateTableOptions, IEnumerable<AdministrativeAreal2DReference>, IEnumerable<TerrainPointDensityResult>) Constructor
Initializes a new instance of the PostgreSQLTerrainPointCreateTableOptionsWindow class.
public PostgreSQLTerrainPointCreateTableOptionsWindow(DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointCreateTableOptions? postgreSQLTerrainPointCreateTableOptions, System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>? administrativeAreal2DReferences, System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.TerrainPointDensityResult>? terrainPointDensityResults=null);postgreSQLTerrainPointCreateTableOptions DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointCreateTableOptions
The options the controls are filled from. When null the defaults are used.
administrativeAreal2DReferences System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>
The counties to choose from. A county whose territory is in several pieces is one entry per piece, each with its own identifier, and each has to be selectable on its own.
terrainPointDensityResults System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.TerrainPointDensityResult>
The density measurements of the county partitions. When provided, point count, density and equivalent spacing are shown for each county.
Gets the options the window holds. They carry the values of the controls only once the dialog has been closed with OK; until then, and after a cancellation, they are the values it was opened with.
public DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointCreateTableOptions PostgreSQLTerrainPointCreateTableOptions { get; }DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointCreateTableOptions
InitializeComponent
public void InitializeComponent();Implements InitializeComponent()
Interaction logic for PostgreSQLTerrainPointFillGapsOptionsWindow.xaml
Asks for the two settings that decide what a repair covers - the spacing the counties were sampled at, and the counties to measure. Every other option of the instance it was given is carried over untouched: the origin of the lattice and the tile size are what let this agree with the run it is repairing, and they are not settings to change from a dialog.
The spacing is the one that has to be right. Set finer than a county actually holds, every node in between reads as a gap and the repair turns into a densification of the whole country, so the equivalent spacing measured for each county is shown beside it.
The window works on a copy, so a cancelled dialog leaves the settings of an earlier run exactly as they were.
public class PostgreSQLTerrainPointFillGapsOptionsWindow : System.Windows.Window, System.Windows.Markup.IComponentConnectorInheritance System.Object → System.Windows.Threading.DispatcherObject → System.Windows.DependencyObject → System.Windows.Media.Visual → System.Windows.UIElement → System.Windows.FrameworkElement → System.Windows.Controls.Control → System.Windows.Controls.ContentControl → System.Windows.Window → PostgreSQLTerrainPointFillGapsOptionsWindow
Implements System.Windows.Markup.IComponentConnector
PostgreSQLTerrainPointFillGapsOptionsWindow(PostgreSQLTerrainPointFillGapsOptions, IEnumerable<AdministrativeAreal2DReference>, IEnumerable<TerrainPointDensityResult>) Constructor
Initializes a new instance of the PostgreSQLTerrainPointFillGapsOptionsWindow class.
public PostgreSQLTerrainPointFillGapsOptionsWindow(DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointFillGapsOptions? postgreSQLTerrainPointFillGapsOptions, System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>? administrativeAreal2DReferences, System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.TerrainPointDensityResult>? terrainPointDensityResults=null);postgreSQLTerrainPointFillGapsOptions DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointFillGapsOptions
The options the controls are filled from. When null the defaults are used.
administrativeAreal2DReferences System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>
The counties to choose from. A county whose territory is in several pieces is one entry per piece, each with its own identifier, and each has to be selectable on its own.
terrainPointDensityResults System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.TerrainPointDensityResult>
The density measurements of the county partitions. When provided, point count, density and equivalent spacing are shown for each county.
Gets the options the window holds. They carry the values of the controls only once the dialog has been closed with OK; until then, and after a cancellation, they are the values it was opened with.
public DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointFillGapsOptions PostgreSQLTerrainPointFillGapsOptions { get; }DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointFillGapsOptions
InitializeComponent
public void InitializeComponent();Implements InitializeComponent()