Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
writeSpatialShape { maptools }CRSでシェープファイルを強制的に書き込むことはできますか?
writeSpatialShape { maptools }
writeSpatialShape(socc_buf, "f:/hdf/socc_buff_R.shp") # no CRS in the shapefile
これにはオプションがないようです。
PS: を使用して実行できることはわかっていますwriteOGR { rgdal }。
writeOGR { rgdal }
TMS
.shp .shx および .dbf ファイルが作成されるため、ファイル名から .shp を削除する必要があります。パッケージマニュアルによると「fnシェープファイルのレイヤー名、関数内で付加される拡張子*.shp、*.shx、*.dbfを省略して書く場合」
ありがとう
トニー。