Listing 3 shows how to import a shapefile using the db2se command line tool.
清单3显示如何使用db2se命令行工具导入shapefile。
First, create a handful of directories for the various shapefile output format types.
首先,为各种shapefile输出格式类型创建一组目录。
We assume a table named ROADS being already created based on the shapefile europe/roads.shp.
我们假设有一个名为 ROADS 的表,这个表是在 shapefile 文件 europe/roads.shp 的基础上创建的。
Listing 5 shows the code for creating a new shapefile data source and a single point inside the dataset.
清单5显示了创建一个新的shapefile数据源和数据集内的一个点所需要的代码。
The Web-page thumbnail directory specified on the command line is used to give each node the correct shapefile image.
命令行中指定的Web页面缩略图目录将为每个节点提供正确的shapefile图像。
While creating a point shapefile, when you are prompted to add a polyline shape, add each vertex as an individual point.
在创建一个点shapefile时,若系统提示添加一个多线形状,那么就以单个点添加每个顶点。
The access pattern to read the shapefile is not very favored by CD-ROM drives and, therefore, the whole operation slows down dramatically.
CD - ROM驱动器不是很适合读shapefile文件的访问模式,因此整个操作的速度会急剧降慢。
The whole procedure is repeated with an inline length of 2000, which is sufficient to cause all geometries in that shapefile to be inlined.
整个过程在inline length 为 2000的情况下再重复一遍,2000这个值足以导致那个 shapefile 文件中的所有几何图形都以内联方式存储。
While creating a line shapefile, if you are prompted to add a point, a warning is written to standard error indicating that the shape was ignored.
在创建一个线shapefile时,如果系统提示添加一个点,一个警告就会写入到标准错误以表明此形状被忽略。
A MapServer map file is created exactly as in Listing 3, but with the LAYER section describing a shapefile instead of a WMS, as Listing 5 illustrates.
结果会如清单3那样创建一个MapServer地图文件,只不过LAYER部分描述的是一个shapefile而不是之前的WMS,如清单5所示。
To demonstrate the effect of a small versus a large inline length, we first import the shapefile europe/roads.shp into a table with an inline length of 292.
为了演示小的inlinelength 与大的 inline length 的效果,我们首先将shapefile 文件 europe/roads.shp 导入到一个 inline length 为 292 的表中。
Note: If you are unfamiliar with GIS terms such as projection and shapefile, please see Resources for a link to the developerWorks article "Using geospatial data in applications on Linux using GDAL."
注意:如果您尚不熟悉GIS术语,比如projection和shapefile,请参阅参考资料 部分,内有题为 “Usinggeospatialdatainapplicationson Linux using GDAL”的developerWorks文章的相关链接。
The ESRI Shapefile format has one important limitation; it can only store shapes of a single type (for example, only lines, only points, or only polygons).
ESRIShapefile格式具有一个重要的限制;它只能存储单个类型的形状(比如,只存储线、点或多边形)。
The ESRI Shapefile format has one important limitation; it can only store shapes of a single type (for example, only lines, only points, or only polygons).
ESRIShapefile格式具有一个重要的限制;它只能存储单个类型的形状(比如,只存储线、点或多边形)。
应用推荐