Issues with Open Street Map: unknown error message

310 views
Skip to first unread message

Alexandra McInturf

unread,
Jun 16, 2017, 11:07:03 AM6/16/17
to davi...@googlegroups.com
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  
agmci...@gmail.com



Alex Mandel

unread,
Jun 16, 2017, 11:42:51 AM6/16/17
to davi...@googlegroups.com, Alexandra McInturf
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>
>
>
>


Reply all
Reply to author
Forward
0 new messages