Hot answers tagged

2

The problem is you are assigning metadata to the object, and probably even overwriting the existing metadata. This happens here: projection(pr) <- mycrs You should first run this to see what raster thinks it is already: projection(pr) or just print the object out to get a fully summary: pr Going out on a limb, I think you should warp this ...


1

Try to see src sample that demonstrates how to work with google maps: show map control, spatial tree objects, download map, print map, work offline with local cache etc: https://github.com/agafonoff2000/SimpleMap



Only top voted, non community-wiki answers of a minimum length are eligible