<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Chris_Ning的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Chris_Ning</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Chris_Ning]]></copyright><item><title><![CDATA[vue的transition进场过度不生效的可能原因]]></title><link>https://blog.youkuaiyun.com/Chris_Ning/article/details/128852894</link><guid>https://blog.youkuaiyun.com/Chris_Ning/article/details/128852894</guid><author>Chris_Ning</author><pubDate>Thu, 02 Feb 2023 16:54:22 +0800</pubDate><description><![CDATA[参考：https://v3.vuejs.org/guide/transitions-enterleave.html。现象：用vue自带的transition写了一个过度，奇怪的是进场不生效，出场生效。我是vue3但使用了vue2的写法，所以不生效。代码：一个简单的显隐控制。]]></description><category></category></item><item><title><![CDATA[MapBox设置中心点（经纬度）后地图显示问题（只有经度生效）]]></title><link>https://blog.youkuaiyun.com/Chris_Ning/article/details/118766332</link><guid>https://blog.youkuaiyun.com/Chris_Ning/article/details/118766332</guid><author>Chris_Ning</author><pubDate>Thu, 15 Jul 2021 19:07:59 +0800</pubDate><description><![CDATA[问题
MapBox-GL如果先设置Center，再设置Zoom的话，就会出现大问题：
      map.setCenter(120，46);
      map.setZoom(12);
      console.log(map.getCenter(), "中心点2222");

只有经度的值生效了，纬度约等于0，我觉得算是挺大一坑。。

解决方法
MapBox设置经纬度其实是和级别是有联系的，必须要先设置Zoom，再设置Center才有效（可能是我这个mapbox-gl 2.2版本的bug）
    ]]></description><category></category></item><item><title><![CDATA[数据库访问有时突然断掉的一种可能的原因]]></title><link>https://blog.youkuaiyun.com/Chris_Ning/article/details/112962904</link><guid>https://blog.youkuaiyun.com/Chris_Ning/article/details/112962904</guid><author>Chris_Ning</author><pubDate>Thu, 21 Jan 2021 16:23:56 +0800</pubDate><description><![CDATA[背景
开发测试一个系统的时候有一部分用的是SQLServer，连的公司大服务器的数据库，结果发现有时候会好好的就断掉，当时还以为服务器不对了，结果仔细检查了一下可能是后台代码的问题，当时是这样写的：
语言是C#
public static string connStr = FlagKeys.SqlServer;
public static SqlConnection cnn = new SqlConnection(connStr);
public static DataTable GetDataTable(]]></description><category></category></item><item><title><![CDATA[PostgreSql数据库迁移后自增ID引起的序列问题解决]]></title><link>https://blog.youkuaiyun.com/Chris_Ning/article/details/112959178</link><guid>https://blog.youkuaiyun.com/Chris_Ning/article/details/112959178</guid><author>Chris_Ning</author><pubDate>Thu, 21 Jan 2021 15:57:32 +0800</pubDate><description><![CDATA[1、背景
系统在本地测试的时候好好的，结果PG数据库迁移到服务器后进行添加操作的时候会报一个错误：more than one owned sequence found。
结果一查网上有很多说是自增ID迁移数据库后留下的一个坑，是序列产生的问题，找到了一个解决方法，测试有效，记录如下：
2、解决方案
执行sql语句
do --check seq not in sync
$$
declare
 _r record;
 _i bigint;
 _m bigint;
begin
  for _r in (
    ]]></description><category></category></item><item><title><![CDATA[使用NetTopologySuite将shp文件转为GeoJson格式]]></title><link>https://blog.youkuaiyun.com/Chris_Ning/article/details/109386900</link><guid>https://blog.youkuaiyun.com/Chris_Ning/article/details/109386900</guid><author>Chris_Ning</author><pubDate>Fri, 30 Oct 2020 16:05:18 +0800</pubDate><description><![CDATA[使用NetTopologySuite将shp文件转为GeoJson格式
需要引入的库（NetTopologySuite可从Nuget中下载）：
using NetTopologySuite.Features;
using NetTopologySuite.Geometries;
using NetTopologySuite.IO;
using NetTopologySuite.IO.Converters;
using Newtonsoft.Json;
using System;
using System.I]]></description><category></category></item><item><title><![CDATA[SWAT-CUP中出现the given parameter "**" was not present in the dictionary]]></title><link>https://blog.youkuaiyun.com/Chris_Ning/article/details/102595066</link><guid>https://blog.youkuaiyun.com/Chris_Ning/article/details/102595066</guid><author>Chris_Ning</author><pubDate>Wed, 16 Oct 2019 21:28:55 +0800</pubDate><description><![CDATA[如图

解决方案：
Par_inf文件中有土壤层的必须加括号

这样就可以啦！

]]></description><category></category></item><item><title><![CDATA[ArcSWAT报错：array SOL_BD has value of 7 which is greater than the upper bound of 6]]></title><link>https://blog.youkuaiyun.com/Chris_Ning/article/details/98242315</link><guid>https://blog.youkuaiyun.com/Chris_Ning/article/details/98242315</guid><author>Chris_Ning</author><pubDate>Fri, 02 Aug 2019 22:04:22 +0800</pubDate><description><![CDATA[ArcSWAT2012版最后一步运行，点击RUN SWAT中的debug时报出array SOL_BD has value of 7 which is greater than the upper bound of 6这样的错误。点击release时报出error(65):floating invalid. 这错误卡了我快一个礼拜，终于解决了，在这里总结如下：]]></description><category></category></item></channel></rss>