| | |
| | | |
| | | double[] tr = new double[6]; |
| | | ds.GetGeoTransform(tr); |
| | | vd.Meta.resolution = string.Format("{0},{1}", tr[1], tr[5]); // 分辨率 |
| | | vd.Meta.resolution = string.Format("{0},{1}", tr[1], Math.Abs(tr[5])); // 分辨率 |
| | | |
| | | if (tr[0] == 0.0 && tr[1] == 1.0 && tr[2] == 0.0 && tr[3] == 0.0 && tr[4] == 0.0 && tr[5] == 1.0) return; |
| | | |
| | |
| | | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| | | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| | | Height="700" Width="900" Loaded="Window_Loaded" Closing="Window_Closing" |
| | | Title="数据入库 v1.6" WindowStartupLocation="CenterScreen"> |
| | | Title="数据入库 v1.7" WindowStartupLocation="CenterScreen"> |
| | | <Window.Resources> |
| | | <Style x:Key="btn" TargetType="Button"> |
| | | <Setter Property="Background" Value="#005699"/> |
| | |
| | | using System.Windows; |
| | | using System.Windows.Controls; |
| | | using System.Windows.Data; |
| | | using System.Windows.Forms.VisualStyles; |
| | | |
| | | namespace DataLoader |
| | | { |