What package are you using that it requires Java?
Just post the part of your code that makes the OSM tile request and
plot. We don't need to see much else.
Thanks,
--
Alex Mandel, PhD
Center for Spatial Sciences
http://spatial.ucdavis.edu
Geospatial and Farming Systems Research Consortium
http://gfc.ucdavis.edu
University of California, Davis
On 06/16/2017 08:06 AM, Alexandra McInturf wrote:
> Hello!
>
> I’m having some issues generating a map using OSM…I’ve been trying to plot current data onto this map of the SF Bay, which my advisor has been able to do successfully on his computer but I have not. My code is attached, although the current files are too big for me to send here. I’ve also pasted the error message. If anyone has any idea what this means, I would appreciate it!
>
>
>
>
>
> java.lang.NullPointerException
> at edu.cens.spatial.RTileController.getTileValues(RTileController.java:109)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at RJavaTools.invokeMethod(RJavaTools.java:386)
> Error in osmtile(x%%nX, y, zoom, type) :
> could not obtain tile: 653 1581 12
>
>
> Thanks!
>
> Alex
>
> Alexandra McInturf
> PhD Student, Animal Behavior
> Biotelemetry Laboratory
> University of California, Davis
>
amci...@ucdavis.edu <mailto:
amci...@ucdavis.edu>
>
agmci...@gmail.com <mailto:
agmci...@gmail.com>
>
>
>