Wikisym 2012 Demo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 127: | Line 127: | ||
<rcode name='static_gmaps_test' | <rcode name='static_gmaps_test' | ||
graphics='1' | graphics='1' | ||
Variables="name:myclasses|description:Number of classes|type:selection|options: | Variables="name:myclasses|description:Number of classes|type:selection|options:4;4;6;6;8;8|default:8| | ||
name:classtype|description:Type of classification|type:selection|options:'equal';Equal Int;'quantile';Quantile;'sd';Standard deviation;'jenks';Jenks|default:'quantile' | name:classtype|description:Type of classification|type:selection|options:'equal';Equal Int;'quantile';Quantile;'sd';Standard deviation;'jenks';Jenks|default:'quantile' | ||
" | " | ||
Line 142: | Line 142: | ||
plotvar<-shp@data$ika | plotvar<-shp@data$ika | ||
nclr<-myclasses | nclr<-myclasses | ||
plotclr<-brewer.pal(nclr," | plotclr<-brewer.pal(nclr,"BuPu") | ||
class<-classIntervals(plotvar,nclr,style=classtype) | class<-classIntervals(plotvar,nclr,style=classtype) | ||
colcode<-findColours(class,plotclr) | colcode<-findColours(class,plotclr) |
Revision as of 11:21, 21 August 2012
Polygons on dynamic Google Maps
This example plots municipalities of Finland on Google Maps using data from National Land Survey of Finland.
Points on dynamic Google Maps
This examples plots buildings of Kuopio on Google Maps. User can give the minimum age of buildings to plot as an input parameter.
Large quantity of points on a static Google Maps
This example plots large number of point data on static Google Maps. The map produced in this example shows the age (in years) distribution of properites within Kuopio. User can select the number of age classes (4,6 or 8) and the type of classification.