0
this question 및 that instruction을 기반으로 shapefile을 분해하려고합니다. 그러나, 나는 코드의 내 라인 실행하면ogr 및 SQLite로 shapefile을 분해 할 때 오류가 발생했습니다.
ERROR 1: In ExecuteSQL(): sqlite3_step(SELECT ST_Union(geometry) FROM 'temp_2'): SQL logic error or missing database
내가 무엇을 놓치고 : 나는 다음과 같은 오류가 얻을
ogr2ogr "c:/working/testing/dissolve.shp" "c:/working/testing/test.shp" -f"ESRI Shapefile" -dialect sqlite -sql "SELECT ST_Union(geometry) FROM 'test'"
를?
편집 : QGIS의 "Dissolve"알고리즘은 완벽하게 작동합니다 (ogr2ogr를 사용하는 알고리즘이 아니라 자체 알고리즘). 이해가 안가는 마술이 있나요?
실제 오류 메시지가 누락되었습니다. 'ogr2ogr'은 정말로 그것을 비밀로 유지합니까? –
불행히도, 그게 다야. – s6hebern