Conversion: model coordinates to nodes
convModelCoordinatesToNodes(modelCoords, dx = 1, dy = 1)
modelCoords | as retrieved by convRealToModelCoordinates() |
---|---|
dx | horizontal model grid spacing (Default: 1) |
dy | vertical model grid spacing (Default: 1) |
Model nodes corresponding to model coordinates
shp.dir <- system.file("extdata", "qgis", package="kwb.demeau") shp.files <- dir(path = shp.dir, pattern = ".shp", full.names = TRUE) gisData <- importShapefiles(shp.files) ### Optionally remove some features # gisData <- removeFeatures(gisData = gisData, ignoreFeatureIDs = c(3,20)) modelCoords <- convRealToModelCoordinates(gisData, dx=1, dy=1)#>#>modelNodes <- convModelCoordinatesToNodes(modelCoords=modelCoords)