plotmap {RRJ}R Documentation

Function to make a map from geographic coordinates

Description

plotmap is a functions that make a map from geographics coordinates exported from trajectories make in gpsman.

Usage

plotmap(dataset,latituder=c(range),longituder=c(range),tck=value)

Arguments

dataset The name of dataset to make a specific map.
Available dataset:
brazil: Make a map of Brazil
mg: Make a map of Minas Gerais State, Brazil
rj: Make a map of Rio de Janeiro State, Brazil
sp: Make a map of São Paulo State, Brazil
latituder The limits of latitude, if no value is set, all map is produced. Very useful for make a zoom on a map's parts. Usage: latituder=c(-21,-19) or latituder=range(-21,-19) or latituder=your latitude data.
longituder The limits of longitude, if no value is set, all state map is produced. Very useful for make a zoom on a map's parts. Usage: longituder=c(-21,-19) or longituder=range(-21,-19) or longituder=your longitude data.
tck Make a grid on map, tck=-0.5 produce no grid.

Warning

Large time spent to make a map

Acknowledgements

I thank all R-help list's contributors for yours, direct or indirect, contributions in this function.

Author(s)

Ronaldo Reis Jr. <chrysopa@insecta.ufv.br>

See Also

plot,par,gpsmanimport

Examples

# Load example data file
data(mg)

# plotting the mg dataset
plotmap(mg)

[Package RRJ version 0.6.3 Index]