arcgis

Intersect two layers and get resulting features

余生长醉 提交于 2019-12-23 17:43:17
问题 I have X layers on a map and I need to intersect chosen layers (two per time) and color resulting features. I'm trying to get this code working // get first feature (index 0) ESRI.ArcGIS.ADF.Web.Geometry.Geometry adfFeature = m_firstLayer.GeometryFromRow(m_firstLayer.Rows[0]) as ESRI.ArcGIS.ADF.Web.Geometry.Geometry; // THE FOLLOWING LINE RETURNS NULL ESRI.ArcGIS.Geometry.IGeometry featureInterface = adfFeature as ESRI.ArcGIS.Geometry.IGeometry; ESRI.ArcGIS.Geometry.ITopologicalOperator

Writing XY coordinates to CSV file using Python

岁酱吖の 提交于 2019-12-23 02:45:20
问题 I'm new to python programming and I have a fairly simple project but am having some difficulties. I would like to (a) extract the XY coordinates of the vertices of a shapefile (polygon) and (2) write all the coordinates into a csv file where the first column has the X coordinates and the second column has the Y coordinates. The code that I've written thus far writes the vertices coordinates to a csv file, but each digit of the coordinate is placed in a different column. Here is my code so far

ArcGIS Geometry对象介绍

二次信任 提交于 2019-12-23 01:24:51
Geometry是一种基本类。它是一种抽象类。是ArcGIS Engine中使用最为广泛的对象集之一,用户在创建、删除、编辑和进行地理分析的时候,就是处理一个包含几何形体的矢量对象;除了显示要素以外,控件对象选择,要素符号化,标注要素,编辑要素都需要Geometry参与。 在Geometry模型中的几何对象分为两种类型,一类是用来直接构建要素类的称为高级几何对象,一类用来构建高级几何对象的相对低一级的几何对象称为构建几何对象如下表所示。 几何对象名称 中文名 所属类别 构成子几何对象 用于创建和编辑的接口 Polyline 多义线 高级 Path IGeometryCollection,IPointCollection Polygon 多边形 高级 Ring IGeometryCollection,IPointCollection MultiPoint 点集 高级 Point IGeometryCollection,IPointCollection MultiPatch 多面体 高级 TrangleFan,Ring, TrangleStrip,Trangles IGeometryCollection,IPointCollection Ring 环 低级 Segment ISegmentCollection,IPointCollection Path 路径 低级 Segment

ArcGIS for Android开发环境配置

老子叫甜甜 提交于 2019-12-23 00:20:49
学习编程,各门语言想通,只要学会其中一种,那么其它的一切都是浮云。。。。。。 GIS开发以ArcGIS为典型 ArcGIS将于近期发布ArcGIS for Android正式版,所以提前研究 ArcGIS for Android开发环境配置相对而言比较复杂,但是对于熟悉java开发,或者有ArcGIS for java开发经验的朋友来说还是比较简单的,主要包括如下几个方面: 前题: Eclipse IDE 要求 1、 The Android Development Tools (ADT) Plug-In for Eclipse 插件 2、 The ArcGIS API for Android Eclipse Plug-In for Eclipse 插件(该插件目前只支持 Eclipse3.5(Galileo)和Eclipse3.6(Helios)) 3、ADT 安装之前需要安装Eclipse Javadevelopment tools(JDT)插件 4、Java development kit (JDK) 6 支持的Android SDK 平台 SDK Platform Android 2.1,API 7以上 支持的Server 版本和平台 ArcGIS API for Android 支持ArcGIS Server 9.3.1 和10.0 的服务 一、安装JDK、Tomcat

ArcGIS API for Silverlight 之ElementLayer使用及TextSymbol的模板使用

南楼画角 提交于 2019-12-22 11:37:46
原文: ArcGIS API for Silverlight 之ElementLayer使用及TextSymbol的模板使用 在开发中动态在地图上添加文字信息,可以使用TextSymbol添加文字 //动态添加文本 TextSymbol textSymbol = new TextSymbol() { FontFamily = new System.Windows.Media.FontFamily("Microsoft YaHei"), Foreground = new System.Windows.Media.SolidColorBrush(Color.FromArgb(255, 255, 0, 0)), FontSize = 14, Text = item.ZDMC, OffsetX = 12, OffsetY = -5 }; Graphic graphicText1 = new Graphic() { Geometry = mercator.FromGeographic(new MapPoint(double.Parse(item.Latitute.ToString().Trim(), System.Globalization.CultureInfo.InvariantCulture), double.Parse(item.Longitute.ToString().Trim()

ArcGIS统计栅格像元值并转换为矢量图层

给你一囗甜甜゛ 提交于 2019-12-22 10:37:53
很多时候,我们需要得到矢量数据区域所对应栅格数据的像元统计值(求平均、求和等),然后将获得的统计值赋给矢量图层的属性表,在ArcGIS中操作如下:(PS:第一次写技术文章,望大家多多体谅与支持,么么哒) 1、栅格统计:统计栅格数据,按照需要(求和、求平均)用所需要的矢量数据(矢量目标图层)进行统计,(注:考虑到统计分析较为常见,第一步前期并未实例截图)。 2.栅格转矢量:将统计出栅格图层转换为矢量点图层:Raster to Point: 3.矢量点图层赋值:将第一步统计的栅格图层象元值赋给刚第二步转换的矢量点图层:Extract Values to Point: 4.图层空间关联:将第三步得到的带有栅格象元值属性的点图层与矢量目标图层(第一步统计用到的矢量图层)关联 :Spatial Join: 5.转换成功:在目标图层的属性表中既有栅格图层的象元值属性字段 来源: https://www.cnblogs.com/tysutopia/p/4429149.html

Offline Map using ArcGIS android SDK

时光总嘲笑我的痴心妄想 提交于 2019-12-22 10:28:04
问题 I'm trying to develop an Offline maps application using ArcGis android sdk. Followed the tutorials from the ArcGis website.Since it is an Offline Maps Applicaion, I am testing it without an internet connection. But, when I run the application,the MapView is blank. It just shows a black screen. When I checked the Logcat, It says 11-26 14:39:57.757 28520-28520/com.example.lalprakash.offlinearcgismap D/GLSurfaceView: checkGLSurfaceViewlLogProperty get invalid command 11-26 14:39:57.839 28520

Geodatabase数据模型

杀马特。学长 韩版系。学妹 提交于 2019-12-21 13:07:11
1 Geodatabase 概念   Geodatabase是ArcInfo8引入的一种全新的面向对象的空间数据模型,是建立在DBMS之上的统一的、智能的空间数据模型。“统一”是指,Geodatabase之前的多个空间数据模型都不能在一个统一的模型框架下对地理空间要素信息进行统一的描述,而Geodatabase做到了这一点;“智能化”是指,在Geodatabase模型中,对空间要素的描述和表达较之前的空间数据模型更接近我们的现实世界,更能清晰、准确地反映现实空间对象的信息。   GeoDatabase的设计主要是针对标准关系数据库技术的扩展,它扩展了传统的点、线和面特征,为空间信息定义了一个统一的模型。在该模型的基础上,使用者可以定义和操作不同应用的具体模型,例如交通规划模型、土地管理模型、电力线路模型等。GeoDatabase为创建和操作不同用户的数据模型提供了一个统一的、强大的平台。   由于Geodatabase是一种面向对象的数据模型,在此模型中,空间中的实体可以表示为具有性质、行为和关系的对象。Geodatabase描述地理对象主要通过以下以下四种形式:   (1)用矢量数据描述不连续的对象;   (2)用栅格数据描述连续对象;   (3)用TINs描述地理表面;   (4)用Location或者Address描述位址。  

Can't Scroll in Dialog Fragment

喜你入骨 提交于 2019-12-21 05:15:08
问题 I am trying to get a DialogFragment to popup and to show a scrollable TextView legend but it just cuts off the rest of the legend. I can't scroll through it or anything. I tried adding a ScrollView but it doesn't do anything. This is the screen that I get: This is my XML layout file: <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true">

How can i convert my CAD(DWG) file to GeoJSON?

半腔热情 提交于 2019-12-20 10:25:27
问题 I'm working on openlayers and need to change the format of dwg to GeoJSON with ArcGIS. how can i do this? 回答1: Indeed, GDAL has the necessary tools to get this done. ogr2ogr is a program included with GDAL that can transform a variety of formats, including DWG. If you don't already have GDAL installed, here are good tutorials for windows and mac/linux. The following guide recommends converting to a DXF first, since the library for converting from DXF is included by default with GDAL. You will