07 2013 档案
摘要:Query.text 是 根据发布图层的 Display Field 字段进行模糊查询的 Query.where 是输入查询语句的 如果要进行模糊查询where = F_AREA like'123123%' %通配N个字符, _通配一个字符 扩展: 查询对象为ArcInfo coverage,shapefile, INFO table,dBASE table,ArcSDE data,ArcIMS ...
阅读全文
摘要:根据10.1文档 silverlight 里面提供了新的_geoprocessorTask.GetResultMapServiceLayer方法 研究了一下得知 原来的GetResultImageLayerAsync是需要两部 在jobCompleted里面 GetResultImageLayerAsync 然后在GetResultImageLayerCompleted 里面获取结果 新的GetR...
阅读全文
摘要:序列化类名称 实体标记Serializable特性时 实体 标记Datacontract特性时 备注 XmlSerializer 只能序列化公共字段和属性,不能序列化方法、索引器、私有字段或只读属性(只读集合除外). 没试过 BinaryFormatter 所有的都序列化 没试过 DataContractJsonSerializer 只序列化字段(包括私有字段和公共字段),如果属性没有对应的...
阅读全文
摘要:/// /// 两点计算角度 /// /// /// /// /// /// public static double CalulateXYAnagle(double startx, double starty, double endx, double endy) { //除数不能为0 double tan = Math.Atan(Math.Abs((endy - starty) / (endx - startx))) * 180 / Math.PI; if (endx > startx && endy > starty)...
阅读全文