skyswind / giscript Goto Github PK
View Code? Open in Web Editor NEWScript Language For GeoSpatial Use
License: Other
Script Language For GeoSpatial Use
License: Other
主动请缨维护需求主文档
进行Linux版本测试并创建编写Wiki
Tools等应该在主目录之下,不是SupermapPythonObjects之下。
SupermapPythonObjects建议命名为pysmlib,符合pythonlib的管理,弱化supermap。
linux等各个版本,不管现在有没有的,先把目录结构规划出来,要不以后放乱了再调整就比较麻烦。
内容整理进入lib和pylib目录
上传Linux的组件及Python版本
1、测试框架初步搭建及文档【周芹】
2、并行框架对接测试及文档【琪总】
3、License的修改、Pip调研【黄骞】
4、工程完善及文档撰写【黄骞】
5、GIScript域名申请【黄骞】
6、应用推动(图像拼接、数据导入导出),图像拼接测试及文档撰写【琪总、黄骞】
7、GeoTools上传及API的编写【黄舟,黄骞】
8、百度云盘的Python客户端及数据的自动下载【琪总,红亮】
9、数据转换工具上传【杨卫民,黄骞】
测试发现:
使用OpenDatasource打开UDB数据源时,如果udb文件不存在,将自动创建。
如果自动创建成功,也将返回1(true)。
因此,无需自行判断是否存在,然后再次调用createdatasource创建udb文件。
如果这样做,该创建UDB的代码将不会被执行,从而没有任何效果。
接口要求。。。。。
请添加smpp相关内容进入Tools目录
I using Kubuntu,can't load smu.so change smbase.py:
"import bin.smu as smu" to "import smu",and add smlib_udbinfo.py to test it.
But tips: can't load smDataSuExchange.so
Please using this file to test if can run on linux.
The pylib directory delete "bin_version" sub-directory.
please modify the path of the lib.
建议增加对*.so等库的目录配置、初始化环境的设置、清除的访问模块。
读取离散点观测值—>插值→生成等值线→生成等值面→填色—>加图框、图例、标题等→生成JPG。希望GiScripts能早日能完成气象行业常用数据处理操作!
增加Todo及其他发布前增强
Ubuntu14.04, python 的Unicode有问题。
所有的字符串应加上u以避免问题,比如:
logging.info(u"创建数据集:[" + self.datasetName + u"]成功。")
对于变量,可使用如下方式转换成unicode:
unicode(datasetType,"ascii")
可参考:
1 #将Unicode转换成普通的Python字符串:"编码(encode)"
2 unicodestring = u"Hello world"
3 utf8string = unicodestring.encode("utf-8")
4 asciistring = unicodestring.encode("ascii")
5 isostring = unicodestring.encode("ISO-8859-1")
6 utf16string = unicodestring.encode("utf-16")
7
8
9 #将普通的Python字符串转换成Unicode: "解码(decode)"
10 plainstring1 = unicode(utf8string, "utf-8")
11 plainstring2 = unicode(asciistring, "ascii")
12 plainstring3 = unicode(isostring, "ISO-8859-1")
13 plainstring4 = unicode(utf16string, "utf-16")
14
15 assert plainstring1==plainstring2==plainstring3==plainstring4
建议增加helloworld.py/version.py/help.py三个模块,提供测试、版本和基本的帮助入口的功能。
目录结构调整了一下:pylib->lib_python,smlib_python->smlib。
增加profile文件,在GIScript下执行source profile即可设定好环境变量。
运行.\test\smlib_testdataset.py可列出测试数据源的数据集。
1、将需求文档整理为markdown格式
2、创建docs目录,将需求文档放入
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.