DiGi.GIS.PostgreSQL.UI.Windows - DiGi-Organization/DiGi.GIS.PostgreSQL.UI GitHub Wiki

DiGi.GIS.PostgreSQL.UI.Windows Namespace

Classes

MainWindow Class

MainWindow

public class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector

Inheritance 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

Constructors

MainWindow(GISPostgreSQLConverterManager, GISWebAPIManager, Nullable<Mode>) Constructor

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);

Parameters

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.

mode System.Nullable<Mode>

The operational mode of the application. If null, it is determined based on converter availability.

Properties

MainWindow.Mode Property

Gets the current operational mode of the application.

public DiGi.GIS.PostgreSQL.UI.Enums.Mode Mode { get; }

Property Value

Mode

MainWindow.VisualBackgroundTasks_Client Property

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; }

Property Value

System.Collections.ObjectModel.ObservableCollection<DiGi.UI.WPF.Interfaces.IVisualBackgroundTask>

MainWindow.VisualBackgroundTasks_Server Property

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; }

Property Value

System.Collections.ObjectModel.ObservableCollection<DiGi.UI.WPF.Interfaces.IVisualBackgroundTask>

Methods

MainWindow.InitializeComponent() Method

InitializeComponent

public void InitializeComponent();

Implements InitializeComponent()

PostgreSQLBuildingDataUpdateOptionsWindow Class

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.IComponentConnector

Inheritance 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

Constructors

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);

Parameters

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.

Properties

PostgreSQLBuildingDataUpdateOptionsWindow.PostgreSQLBuildingDataUpdateOptions Property

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; }

Property Value

DiGi.GIS.PostgreSQL.Classes.PostgreSQLBuildingDataUpdateOptions

Methods

PostgreSQLBuildingDataUpdateOptionsWindow.InitializeComponent() Method

InitializeComponent

public void InitializeComponent();

Implements InitializeComponent()

PostgreSQLTerrainPointCreateTableOptionsWindow Class

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.IComponentConnector

Inheritance 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

Constructors

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);

Parameters

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.

Properties

PostgreSQLTerrainPointCreateTableOptionsWindow.PostgreSQLTerrainPointCreateTableOptions Property

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; }

Property Value

DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointCreateTableOptions

Methods

PostgreSQLTerrainPointCreateTableOptionsWindow.InitializeComponent() Method

InitializeComponent

public void InitializeComponent();

Implements InitializeComponent()

PostgreSQLTerrainPointFillGapsOptionsWindow Class

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.IComponentConnector

Inheritance 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

Constructors

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);

Parameters

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.

Properties

PostgreSQLTerrainPointFillGapsOptionsWindow.PostgreSQLTerrainPointFillGapsOptions Property

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; }

Property Value

DiGi.GIS.PostgreSQL.Classes.PostgreSQLTerrainPointFillGapsOptions

Methods

PostgreSQLTerrainPointFillGapsOptionsWindow.InitializeComponent() Method

InitializeComponent

public void InitializeComponent();

Implements InitializeComponent()

⚠️ **GitHub.com Fallback** ⚠️