From 9c2d35b852ad2d615f04069ece4d49e4bfd78a44 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 15 九月 2023 11:02:37 +0800
Subject: [PATCH] 修改版本号和分辨率

---
 DataLoader/MainWindow.xaml.cs |    1 -
 DataLoader/CS/GdalHelper.cs   |    2 +-
 DataLoader/MainWindow.xaml    |    2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/DataLoader/CS/GdalHelper.cs b/DataLoader/CS/GdalHelper.cs
index 9c69bae..9e5e701 100644
--- a/DataLoader/CS/GdalHelper.cs
+++ b/DataLoader/CS/GdalHelper.cs
@@ -132,7 +132,7 @@
 
                 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;
 
diff --git a/DataLoader/MainWindow.xaml b/DataLoader/MainWindow.xaml
index 9766d12..35ddc8a 100644
--- a/DataLoader/MainWindow.xaml
+++ b/DataLoader/MainWindow.xaml
@@ -2,7 +2,7 @@
         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"/>
diff --git a/DataLoader/MainWindow.xaml.cs b/DataLoader/MainWindow.xaml.cs
index 27ec985..2cf997b 100644
--- a/DataLoader/MainWindow.xaml.cs
+++ b/DataLoader/MainWindow.xaml.cs
@@ -10,7 +10,6 @@
 using System.Windows;
 using System.Windows.Controls;
 using System.Windows.Data;
-using System.Windows.Forms.VisualStyles;
 
 namespace DataLoader
 {

--
Gitblit v1.9.3