最近一直忙于导师项目的事情了,几天没更新了,昨天和今天研究了下WWJ解析shp文件的源代码,现在记录下,希望可以帮到更多的人!
上一篇博客:World Wind Java开发之五——读取本地shp文件只讲了如何加载shp文件,没有涉及到shp文件的解析,我们这篇博客紧接上一篇博客,利用WWJ来解析shp文件。首先来看用到的源码包和相关类,如下图所示。解析shp文件主要用到Shapefile(sh...
分类:
编程语言 时间:
2014-12-01 16:01:58
阅读次数:
312
安卓框架提供了一种LinearLayout 内部布局元素分割线的实现,建立一个指定长宽的矩形Shape: 1 2 4 5 8 9 10 11 作为LinearLayout的Divider属性引入: 1 8 9 10 11 18 19 ...
分类:
移动开发 时间:
2014-12-01 11:24:59
阅读次数:
149
Android中常常使用shape来定义控件的一些显示属性来美化UI;shape的常用属性有:(1)solid:填充,设置填充的颜色;(2)stroke:描边,设置边界的宽度、颜色等;(3)corners:圆角,五个属性,全部设置的话,会覆盖; android:radius="20dp" ...
分类:
移动开发 时间:
2014-11-28 14:23:34
阅读次数:
4114
World Wind Java 使用IconLayer图层类表现点和多点数据,使用RenderableLayer图层表现线和面数据,一个图层只能对应一组shape文件。World Wind Java首先使用ShapefileLoader类完成对shape文件的读取和加载,再通过createLayerFromSource方法创建RenderableLayer,最后将创建的Layer加在layers上...
分类:
编程语言 时间:
2014-11-25 23:52:46
阅读次数:
250
Android drawable shape绘制边框...
分类:
移动开发 时间:
2014-11-25 16:37:19
阅读次数:
164
1. sde 备份脚本set today=%date:~0,4%%date:~5,2%%date:~8,2%mkdir d:\dbbak\sdebak\%today%sdeexport -o create -l dlzxx,shape -f d:\dbbak\sdebak\%today%\dlzxx...
分类:
其他好文 时间:
2014-11-25 16:00:50
阅读次数:
340
在res/drawable目录下穿件shape的xml来实现圆角矩形效果。代码如下:
<corners
android:bottomLeftRadius="8dp"
...
分类:
移动开发 时间:
2014-11-24 15:23:30
阅读次数:
185
Polycarpus likes giving presents to Paraskevi. He has bought two chocolate bars, each of them has the shape of a segmented rectangle. The first bar is...
分类:
其他好文 时间:
2014-11-23 23:06:07
阅读次数:
380
空间拓扑描述的是自然界地理对象的空间位置关系-相邻,重合,连通等,是地理对象空间属性的一部分.目前ESRI提供的数据存储方式中,Coverage和GeoDatabase能够建立拓扑,Shape格式的数据不能建立拓扑.1.GeoDataBase建立拓扑的基础1).GeoDatabase实现拓扑的基础是...
分类:
其他好文 时间:
2014-11-22 18:46:34
阅读次数:
220
Abstract. The sphere is the simplest topology shape of the BRep structure. But there are several import concept of the sphere edges, such as degenerat...
分类:
其他好文 时间:
2014-11-22 18:41:33
阅读次数:
391