readgridPoints: Read Model Mesh Points

Description Usage Arguments Value Examples

View source: R/modflowDataFuncs.R

Description

readgridPoints Reads arcGIS shape file of model mesh -Converts mesh polygons to points referencing the center of the model cells -Changes spatial reference if necessary -Converts point coordinates into a data frame

Usage

1
readgridPoints(Modelgrd.Path, Model.Shape)

Arguments

Modelgrd.Path

Path to model mesh shapefile

Model.Shape

Name of model mesh shapefile without .shp extension

Value

ModelGridCoords Data.frame providing model row, column and coordinates

Examples

1
2
3
4
5
6
     Modelgrd.Path <- '//ad.sfwmd.gov/dfsroot/data/wsd/GIS/GISP_2012/DataLib/ModelData/LWCSIM'
     Model.Shape <- 'LWCSIM_mesh'
## Not run: 
     ModelGridCoords %<-% readgridPoints(Modelgrd.Path,Model.Shape)
     
## End(Not run)

KevinRodberg/rModflow documentation built on Jan. 15, 2020, 11:41 p.m.