ArcGIS Js/Flex等前端API(Query(StatisticDefinition)时)针对SDE的SHAPE.AREA/SHAPE.LEN知道查询无效,而对GDB的SHAPE_Area/SHAPE_Length有效探索。
FIeld 'SHAPE.AREA' and 'SHAPE.LEN' of SDE For Oracle,Field 'SHAPE_Area' and 'SHAPE_Length' of gdb(geodatabase). The fields of GDB can be OK when QueryTask do query then outStatistics of query be setted.
require([
"esri/tasks/query", "esri/tasks/StatisticDefinition", ...
], function(Query, StatisticDefinition, ... ) {
var query = new Query();
var statisticDefinition = new StatisticDefinition();
statisticDefinition.statisticType = "sum";
statisticDefinition.onStatisticField = "SHAPE_Area";//SHAPE.AREA failed,
statisticDefinition.outStatisticFieldName = "TotalArea"; query.outStatistics = [statisticDefinition];
...
});
那么问题来了,每种关系数据库类型的几何针对面积和长度,我们做个分析:
类型 |
GDB(文件Geodatabase) |
Oracle |
PostgreSQL |
SqlServer |
面积 |
SHAPE_Area |
SHAPE.AREA |
Shape_Area |
SHAPE.STArea() |
长度 |
SHAPE_Length |
SHAPE.LEN |
Shape_Length |
SHAPE.STLength() |
几何 |
Geometry |
ST_GEOMETRY/ SDO_GEOMETRY |
简化Geometry(如box等) |
Geometry/ Geography |
针对ORACLE的图形计算面积长度字段采用SQL语法形式,用于普通SQL查询可以实现,如:【SHAPE.AREA>1000】;
GIS的API开发都会有针对SDE调用Oracle/SQLServer/PostgreSQL的SQL语句情况,笔者在Flex/JS开发时针对Query的outStatistics设置StatisticDefinition时,碰到给字段onStatisticField添加值时无法查询,查看最新API,下图:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAABDwAAACNCAMAAABsbZoSAAAAAXNSR0IArs4c6QAAAWhQTFRF////9fX17+/v09PT8fHx+fn56enp2dnZ3d3dzc3N9/f36+vrycnJ0dHR1dXV5eXl4eHh39/f29vb4+Pjz8/P8/Pzy8vL7e3tTExM5+fn19fXx8fH6f//ltT//9SWt3JM///UTHK3///pc7jqV09M6rdy9P//lUxMTE1T0///TE2UUZfV///yt+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TkSuQmCC" alt="" />
JS的3系API为3.17,针对ArcGIS Server10.3部署服务,无【advancedQueryCapabilities】选项,而ArcGIS Online则有;4系API4.0目前与3系是2个不同序列,暂未详细研究,可能ArcGIS Server Portal支持。。
目前对此解决方法提议:对query的outStatistics不设置SHAPE.AREA字段,先做其他统计,需要面积的再做一次QueryTask条件查询。
ArcGIS Js/Flex等前端API(Query(StatisticDefinition)时)针对SDE的SHAPE.AREA/SHAPE.LEN知道查询无效,而对GDB的SHAPE_Area/SHAPE_Length有效探索。的更多相关文章
- ArcGIS JS API使用PrintTask打印地图问题解决汇总
环境:来源于工作过程,使用的API是 arcgis js 3.* 3系API,4.*暂时没测试: 1.数据与打印服务跨域情况下,不能打印问题. 一般情况下,我们发布的数据服务和打印服务是在一台服务 ...
- 基于ArcGIS JS API的在线专题地图实现
0 引言 专题地图是突出而深入的表示一种或几种要素或现象,即按照地图主题的要求,集中表示与主题有关内容的地图.专题地图的专题要素多种多样,分类方法也多种多样,根据专题地图表现数据的特点可分为定 ...
- geoserver图层属性查询及查询结果转换为arcgis js api能使用的格式
一个项目使用了ArcGIS JS API开发GIS展示层,但GIS服务使用了Geoserver,这时加载Geoserver数据和查询数据就和之前完全不一样了,以下介绍下我使用ArcGIS JS API ...
- 关于ueditor与arcgis js api同用会报错的问题
在ueditor与arcgis js api共用时,需要将ueditor\third-party\zeroclipboard\ZeroClipboard.js中的 if (typeof define ...
- ArcGIS JS 学习笔记1 用ArcGIS JS 实现仿百度地图的距离量测和面积量测
一.开篇 在博客注册了三年,今天才决定写第一篇博客,警告自己不要懒!!! 二.关于ArcGIS JS 版本选择 在写这篇博客时ArcGIS JS 4.0正式版已经发布.它和3.x版本的不同是,Map不 ...
- ArcGIS JS 3.x使用webgl绘制热力图
ArcGIS Js Api 3.x 热力图在数据量达到三万左右的时候,绘制速度不尽人意,数据量再大些,缩放时候就会很卡,非常影响客户体验. 参考了一下网上webgl热力图,能达到更流畅 ...
- ArcGIS JS 使用Proxy之 Printing Tools unable to connect to mapServer
ArcGIS JS使用Proxy.ashx将地图服务隐藏,并在微博服务器端增加了地图服务权限判断. Proxy.ashx做了如下设置, <serverUrl url="http://l ...
- ArcGIS JS 学习笔记3 实现百度风格的BubblePopup
1. 开篇 模仿是最好的学习,这次我们继续山寨百度,通过自定义Infowindow来实现百度风格的BubblePopup 2.准备 2.1 Copy模板 先打开百度地图,按下f12吧BubblePop ...
- Resumable.js – 基于 HTML5 File API 的文件上传
Resumable.js 是一个 JavaScript 库,通过 HTML5 文件 API 提供,稳定和可恢复的批量上传功能.在上传大文件的时候通过每个文件分割成小块,每块在上传失败的时候,上传会不断 ...
随机推荐
- mysql高性能索引策略
转载说明:http://www.nyankosama.com/2014/12/19/high-performance-index/ 1. 引言 随着互联网时代地到来,各种各样的基于互联网的应用和服务进 ...
- Scala包
#引入包的全部成员的办法 import scala.collection._ #引入同一个包中的几个成员 import scala.collection.{A,B} #重名 要 重命名 import ...
- 【python】迭代器&生成器
源Link:http://www.cnblogs.com/huxi/archive/2011/07/01/2095931.html 迭代器 迭代器是访问集合元素的一种方式.迭代器对象从集合的第一个元素 ...
- PDF打水印加密
using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using S ...
- 十二 .ocBlock
NSProxy是一个不继承NSObject的根类(尽管它遵守NSObject协议),调用[[NSProxy alloc]init]将会产生一个运行异常. 所幸,oc引入被称为“块代码”的第一级函数的概 ...
- oracle分组后取每组第一条数据
数据格式: 分组取第一条的效果: sql语句: SELECT * FROM ( ;
- Highchart URL
http://www.highcharts.com/stock/demo/flags-general http://www.codesec.net/view/217265.html http://js ...
- instruments usage error specified target process is invalid
遇到这个问题的很多,但都没说具体的解决办法. 如果你的包名 路径之类的都正确,还是报这个错误的话,请重启手机.
- 自定义View(三)实现简单的可拖动、可缩放的ImageView
实现技术主要用到1.多点触摸 2.matrix的矩阵,平移.缩放 根据手指的数量判断是进行的拖动.还是缩放动作 package com.bi.xintest; import android.cont ...
- 自定义View(二)增加View的属性
增加View的属性有两种方法 1.在View类中添加 2.在xml资源文件中添加 一.在View类中添加 例:实现一个带文字的图片 public class MyView exten ...