坐标字符串如下:
String str1="2,4,1,2565911.02,37470614.14," +
"2,2565981.02,37470814.14," +
"3,2565721.02,37470924.14," +
"4,2565651.02,37470714.14," +
"90,-70,,1," +
"4,6,2566411.02,37471394.15," +
"7,2566411.02,37471704.15," +
"8,2566206.02,37471704.15," +
"9,2566206.02,37471394.15," +
"130,-42,2,1,";
就存呗 jsbc操作 用的话取出数据分割不就好了
现在难点在于分割取值不好写(这个字符串只是个例子,格式固定但是值不固定),存的话只要SQL语句出来了批量添加就可以了
循环切割字符串 然后往数据库insert呢?