Questions tagged «fwtools»

1
使用ogr2​​ogr将GeoJSON转换为Shapefile?
我有一个GeoJson文件,我想使用FWTools中的ogr2ogr转换为ESRI Shapefile。 我尝试使用 ogr2ogr -F "ESRI Shapefile" filename.shp geojsonfile.json OGRGeoJSON 我得到了输出 错误6:无法在shapefile图层上创建StringList类型的字段。错误1:尝试编写非多边形(POINT)几何体以键入shapefile。错误1:图层OGRGeoJSON转换失败后过早终止转换 我们提供的GeoJSON输入为标准geojson格式。 geojson的内容就像{分享我仅从features array中分享的一部分} {"id":1223, "properties":{"name":"3","level":2}, "map_version":11,"type":"FeatureCollection","x_id":1234,"obj_type":"LevelGeometry", "features":[ { "my_area":[131.40093253528894,33.58879853190332,6.515867411008615,3.490549810987222,-0.6237271428108215], "id":1984791, "location":{"type":"Point","coordinates":[131.4009325,33.5887985]}, "properties":{"display_name":"xyz"}, "type":"Feature", "geometry":{"type":"Polygon","coordinates":[[[131.4009508,33.5888314],[131.4008895,33.5887946],[131.4009148,33.5887653],[131.4009761,33.5888020],[131.4009508,33.5888314]]]}, "obj_type":"Geometry" } ] }
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.