2017-06-14 4 views
0

osm2pgsqlを使用してosmデータをaws rdsインスタンスにインポートしようとしています。 Osm2pgsql failed due to ERROR: Open failed for 'insights_poi': No such file or directoryというエラーが表示されますが、すべての必要なファイルを提供しています。osm2pgsql error AWSのpostGisに.osmをインポートしようとしています

ローカル、私はosm2pgsql -c -d insights_poi -U insights_poi -H beta.cyrrprcqeykj.us-east-1.rds.amazonaws.com -S default.style austin_texas.osm.pbf -W insights_poi -r .pbf

default.styleaustin_texas.osm.pbfファイルを実行している私はからこれを実行している同じフォルダ内にあります。なぜそれがファイルを見つけることができないと言っているのですか?

それは実際に私が-Wためのコマンド

enter image description here

答えて

1

を実行した後に、かなり遠くなり、ドキュメントは、私は、パラメータとして扱わ-w forces password promptを指定しました。したがって、エラーOsm2pgsql failed due to ERROR: Open failed for 'insights_poi': No such file or directoryは、-Wの後に何も実際には期待されていなかったため、insights_poiの値を存在しないファイルの名前として扱っていたので、-W insights_poiの結果でした。

最終的には、osm2pgsql -c -d insights_poi -U insights_poi -H beta.cyrrprcqeykj.us-east-1.rds.amazonaws.com -r .pbf -S default.style -W austin_texas.osm.pbf

関連する問題