คำถามติดแท็ก mergeshapes

2
ogr2ogr ผสานหลายรูปร่างไฟล์: จุดประสงค์ของแท็ก -nln คืออะไร
สคริปต์พื้นฐานเพื่อวนซ้ำแบบซ้ำในโฟลเดอร์ย่อยและรวมรูปร่างไฟล์ทั้งหมดไว้ในไฟล์เดียวคือ: #!/bin/bash consolidated_file="./consolidated.shp" for i in $(find . -name '*.shp'); do if [ ! -f "$consolidated_file" ]; then # first file - create the consolidated output file ogr2ogr -f "ESRI Shapefile" $consolidated_file $i else # update the output file with new file content ogr2ogr -f "ESRI Shapefile" -update -append $consolidated_file …
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.