关于ArcGIS的标注问题整理。要求:保留小数点后三位,若原数据小于1(.12345),对小数加0显示分行显示两个字段值解决:右击图层 -- ”properties“(属性) 中选择“label”(标注)标签,选择expression(表达式),出现下述窗口,此处采用VBScript语言,代码如下:...
分类:
其他好文 时间:
2014-12-24 16:08:08
阅读次数:
179
##C风格的转型动作 ``` (T) expression // 将expression转型为T ``` ``` T(expression) // 将expression转型为T ``` 两种形式并无差别,纯粹是`小括号`的的摆放位置不同而已。 ##C++的转型动作 C++提供了四种新式...
分类:
编程语言 时间:
2014-12-23 17:48:19
阅读次数:
127
Traveling salesmen ofnhn. (the prestigious Korean internet company) report their current location to the company on a regular basis. They also have to...
分类:
其他好文 时间:
2014-12-23 06:38:02
阅读次数:
234
正则表达式(Regular Expression)为字符串模式匹配提供了一种高效、方便的方法。正则表达式又叫正规表达式、正规表示式、常规表达式。正则表达式是描述一种匹配模式的字符串,由普通字符和特殊字符(元字符)组成。正则表达式的用途包括:1、数据有效性验证。2、替换文本。3、提取子字符串。
分类:
编程语言 时间:
2014-12-22 22:47:15
阅读次数:
258
一、原始写法模块就是实现特定功能的一组方法。只要把不同的函数(以及记录状态的变量)简单地放在一起,就算是一个模块。 function m1(){ //... } function m2(){ //... }上面的函数m1()和m2(),组成一个模块。使用的时候,直接调用就行了。这...
分类:
其他好文 时间:
2014-12-22 22:36:02
阅读次数:
136
逛到发现这个 个人感觉非常赞下面是CSS样式Js代码input{border:1pxsolid#B3D6EF; background:#ffffff;}input{star:expression(onmouseover=function(){this.style.backgroundColor="#...
分类:
Web程序 时间:
2014-12-22 17:49:39
阅读次数:
546
It's a very elegant summary of regular expression from The AWK Programming Language.1. The regular expression metacharacters are:\ ^ $ . [ ] | ( ) * +...
分类:
其他好文 时间:
2014-12-22 14:10:30
阅读次数:
155
使用ng-repeat循环输出对象的时候出现如下错误:
Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: c in shopCount, Duplicate key: undefined:undefined
应该在循环是加以下...
分类:
其他好文 时间:
2014-12-22 12:59:55
阅读次数:
223
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The...
分类:
其他好文 时间:
2014-12-21 23:32:16
阅读次数:
335
Regular Expression MatchingImplement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more o...
分类:
其他好文 时间:
2014-12-21 16:31:24
阅读次数:
206