Evgenii Burmakin
Evgenii Burmakin
@larspehrsson did it solve your issue? I can confirm the script you provided is a non-destructive one.
@TheBig-O you copied values from `raw_data`, not `longitude` and `latitude? Were they empty?
As soon as https://github.com/Freika/dawarich/releases/tag/0.25.5-rc0 is built, you can try using the `freikin/dawarich:rc` docker image to run Dawarich (just replace the image name in your compose file), it contains possible fix...
> > As soon as https://github.com/Freika/dawarich/releases/tag/0.25.5-rc0 is built, you can try using the `freikin/dawarich:rc` docker image to run Dawarich (just replace the image name in your compose file), it contains...
@schneemaier @michaelcox12 @ethronrion check out this comment and the one below: https://github.com/Freika/dawarich/issues/1327#issuecomment-2945768831
> > [@schneemaier](https://github.com/schneemaier) [@michaelcox12](https://github.com/michaelcox12) [@ethronrion](https://github.com/ethronrion) check out this comment and the one below: [#1327 (comment)](https://github.com/Freika/dawarich/issues/1327#issuecomment-2945768831) > > Thank you! Looking at the referenced comment I understand what it is supposed...
@schneemaier there was a typo in my code, here's the corrected version: ```ruby Point.where(lonlat: nil).each do |p| p.update(longitude: p.raw_data['lon'], latitude: p.raw_data['lat'], lonlat: "POINT(#{p.raw_data['lon']} #{p.raw_data['lat']})") end ```
@schneemaier let's use more explicit version: ```ruby Point.where(lonlat: nil).each do |p| p.update!(longitude: p.raw_data['lon'], latitude: p.raw_data['lat'], lonlat: "POINT(#{p.raw_data['lon']} #{p.raw_data['lat']})") end ``` The only change is we're using `update!` with bang sign,...
Are there errors in the browser console?