Giter Club home page Giter Club logo

giscript's People

Contributors

shiwwgis avatar skyswind avatar supergis avatar yangweimin avatar zhouqin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

giscript's Issues

目录结构调整

Tools等应该在主目录之下,不是SupermapPythonObjects之下。
SupermapPythonObjects建议命名为pysmlib,符合pythonlib的管理,弱化supermap。
linux等各个版本,不管现在有没有的,先把目录结构规划出来,要不以后放乱了再调整就比较麻烦。

weeklymeeting 0626

1、测试框架初步搭建及文档【周芹】
2、并行框架对接测试及文档【琪总】
3、License的修改、Pip调研【黄骞】
4、工程完善及文档撰写【黄骞】
5、GIScript域名申请【黄骞】
6、应用推动(图像拼接、数据导入导出),图像拼接测试及文档撰写【琪总、黄骞】
7、GeoTools上传及API的编写【黄舟,黄骞】
8、百度云盘的Python客户端及数据的自动下载【琪总,红亮】
9、数据转换工具上传【杨卫民,黄骞】

OpenDatasource with UDB will autocreate

测试发现:
使用OpenDatasource打开UDB数据源时,如果udb文件不存在,将自动创建。
如果自动创建成功,也将返回1(true)。
因此,无需自行判断是否存在,然后再次调用createdatasource创建udb文件。
如果这样做,该创建UDB的代码将不会被执行,从而没有任何效果。

Kubuntu can't load *.so

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.

某项目实际需求

读取离散点观测值—>插值→生成等值线→生成等值面→填色—>加图框、图例、标题等→生成JPG。希望GiScripts能早日能完成气象行业常用数据处理操作!

On ubuntu14.04,Unicode issue.

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

目录结构调整和路径设置

目录结构调整了一下:pylib->lib_python,smlib_python->smlib。
增加profile文件,在GIScript下执行source profile即可设定好环境变量。
运行.\test\smlib_testdataset.py可列出测试数据源的数据集。

修订需求文档

1、将需求文档整理为markdown格式
2、创建docs目录,将需求文档放入

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.