We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

2 posts • Page 1 of 1
wpballa1
Posts: 87
Joined: Sat Jun 27, 2015 12:49 am

GeoListPlot Mathematica 12.2 issue

Sat Aug 07, 2021 5:27 pm

Update: Wolfram has now acknowledged the bug is real. They were very helpful and it appears to only apply to version 12.2.0.0 which is the current Raspberry Pi repository version.

I have a code that has worked for years in Mathematica until the latest update, to 12.2.

Code: Select all

{hdr, data} = 
 TakeDrop[Import["/home/pi/Documents/Sailing/2021-06-24-latlon.csv"], 
 1]
datap = GeoPath[GeoPosition[{data}]]
Export["image.jpeg", 
 GeoListPlot[{datap}, ImageSize -> Large, 
 PlotStyle -> Directive[Red, Thickness[0.005]]]]
Suddenly I get the error message
GeoListPlot::ngeoents: {GeoPath[GeoPosition[{{{37.7887,-122.274},{37.7887,-122.274},{37.7887,-122.274},{37.7887,-122.274},{37.7887,-122.274},{37.7887,-<<14>>},{37.7887,-122.274},{37.7887,-122.274},{37.7887,-122.274},{37.7887,-122.274},<<1851>>}}]]} is not a list or nested list of geographical entities

The graphic of the data looks proper, it just seems that GeoListPlot is no longer working as it did. The image file just shows the error message, not the usual geographic plot. It would appear that GeoPath is adding another number to the end of the data list with the number of points (not a data pair).

Has anyone else run into this problem?
Is there a way to revert to Mathematica before 12.2 where this code worked just fine?

UPDATE
Wolfram has responded to my bug report and claims the code works fine on 12.3.1. I tried all their suggestions to fix things (resetting everything, uninstalling and reinstalling) to no avail. So, until Mathematica is updated I'm stuck.

wpballa1
Posts: 87
Joined: Sat Jun 27, 2015 12:49 am

Re: GeoListPlot Mathematica 12.2 issue

Wed Nov 24, 2021 11:49 pm

This bug is now resolved in Mathematica 12.3 which comes with the Bullseye distribution.

2 posts • Page 1 of 1

Return to "Wolfram Language"

AltStyle によって変換されたページ (->オリジナル) /