0

I have a SpatialPointsDataFrame with @data like this:

enter image description here

Using spplot(object, "variable") I draw map with coloured points (high-low values) I want to know the row number of some points on my map. Something like this:

click on the points which interest me -> print rownumber

I tried select.spatial(object, digitize = FALSE) but, map doesn't show colour points (high-low values) but all of my points are black.

James
  • 65,548
  • 14
  • 155
  • 193
amikoma
  • 85
  • 2
  • 10
  • 2
    please provide a reproducible example: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – mlegge Nov 17 '15 at 17:51
  • spplot(object, "variable", identify=TRUE) it was what i was looking for – amikoma Nov 20 '15 at 20:03

0 Answers0