R中的osmar包中包含一個名爲demo("navigator")的演示文件。它提供了說明包的功能和功能。當我十劇本,我打下面的行和錯誤: R> muc <- get_osm(muc_bbox, src)
sh: osmosis: command not found
Error in file(con, "r") : cannot open the connection
In additio
我嘗試將具有多行的空間對象(從OSM檢索到的河流)轉換爲KML。對於單行的對象,使用kmlLine很容易。然而,多行下面的方法是不工作,我嘗試從the documentation適應的例子是徒勞的: # get OSM data:
library(osmar)
library(maptools)
salzach <- get_osm(relation(408582), full = T)
我想添加一組相關的並給出分區邊界的方法。 我嘗試以下,但卡住了起來: require(osmar)
require(XML)
# a set of open street map ways (lines) related as given by a relation..
# (if connected these ways represent the boundary of a polit