Tagged: 用GDAL/OGR去读shapefile

用GDAL/OGR去读shapefile

一、读shapefilen1、首先,用Arcgis创建所要读的shp文件。打开ArcCatalog,右键NEW->Shapefile,名称Name:point ,要素类型(Feature Type):Point。点击Edit,选择投影类型。n2、打开ArcMap. 单击工具栏里的Add data按钮,打开刚才创建的point.shp文件。n3、添加5个点要素,并添加字段(添加字段要在非编辑模

用GDAL/OGR去读shapefile

一、读shapefilernrn1、首先,用Arcgis创建所要读的shp文件。打开ArcCatalog,右键NEW->Shapefile,名称Name:point ,要素类型(Feature Type):Point。点击Edit,选择投影类型。rnrn2、打开ArcMap. 单击工具栏里的Add data按钮,打开刚才创建的point.shp文件。rnrn3、添加5个点要素,并添加字段(添加字段