extractOSMPoints: Extract peak position and altitude from OSM data

Description Usage Arguments Details Value Author(s) References Examples

Description

The current OSM data base is cropped for th earea of interest Kmz file of Harry's peak list is downloaded and will be cleaned to derive coordinates altitude and name of all available peaks within a region of interest

Usage

1
extractOSMPoints(dem,current.proj4)

Arguments

dem

is a Digital Elevation Model with geographic coordinates

target.projection

is a valid proj.4 string containing the correct target crs

Details

Package: Rpeak
Type: Package
Version: 0.2
License: GPL (>= 2)
LazyLoad: yes

Value

extractOSMPoints returns the following parameters:

xcoord xcoordinate (mapunits)
ycoord ycoordinate (mapunits)
altitude altitude in meter
name name of the peak

Author(s)

Chris Reudenbach

References

http://moc.environmentalinformatics-marburg.de/doku.php?id=courses:msc:advanced-gis:description

Examples

1
2
3
4
5
6
7
  
#### Example extract OSM nodes from a region of interst (ROI)
#    create a dataframe containing coordinates, tag-attribute and value
ini.example=system.file("data","demo.ini", package="perfectPeak") 
dem.example=system.file("data","demo.asc", package="perfectPeak")      
ini<-initEnvironGIS(ini.example,dem.example)
extractOSMPoints(ini,key="natural",val="peak",taglist=c('name','ele'))

gisma/perfectPeak documentation built on May 17, 2019, 5:27 a.m.