Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch committed Feb 10, 2024
1 parent a38d0db commit 8b98d3f
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/bareboat-os.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3282,9 +3282,12 @@ http://svocelot.com/Cruise_Info/Equipment/mbTiles.htm
And some prepared charts:
http://svocelot.com/Cruise_Info/Equipment/KAP_Downloads.htm

To install SAS.Planet on Raspberry Pi follow this guide:
To install SAS.Planet on Raspberry Pi with Bullseye follow this guide:
https://bareboat-necessities.github.io/my-bareboat/sasplanet-install.html

To install SAS.Planet on Raspberry Pi with Bookworm follow this guide:
https://bareboat-necessities.github.io/my-bareboat/sasplanet-install-bookworm.html

=== Install QGIS GIS

Another program used for creating DIY charts and mbtiles is QGIS.
Expand Down
104 changes: 104 additions & 0 deletions docs/sasplanet-install-bookworm.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
= Install SASPlanet
mgrouch <mgrouch@users.noreply.github.com>
{docdate}, Install SASPlanet
:imagesdir: images
:doctype: book
:keywords: openplotter, SASPlanet, arm64, rpi4
:description: Install SAS.Planet on arm64
:organization: Bareboat Necessities
:description: Install SASPlanet with wine on arm64 Bookworm Raspberry Pi BBN OS, OpenCPN free KAP charts, Openplotter
:title-logo-image: image:bareboat-necessities-logo.svg[Bareboat Necessities Logo]
ifdef::backend-pdf[]
:source-highlighter: rouge
:toc-placement!: manual
:pdf-page-size: Letter
:plantumlconfig: plantuml.cfg
endif::[]
ifndef::backend-pdf[]
:toc-placement: left
endif::[]
:experimental:
:reproducible:
:toclevels: 4
:sectnums:
:sectnumlevels: 3
:encoding: utf-8
:lang: en
:icons: font
ifdef::env-github[]
:tip-caption: :bulb:
:note-caption: :information_source:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
endif::[]
:env-github:

{zwsp} +

== Intro

SAS.Planet is a popular in offshore sailing community free and opensource program to prepare free raster charts
for OpenCPN from GoogleEarth and others satellite images. More on the subject:

http://svocelot.com/Cruise_Info/Equipment/mbTiles.htm

And some prepared charts:
http://svocelot.com/Cruise_Info/Equipment/KAP_Downloads.htm


== Install SASPlanet on Raspberry Pi Bookworm arm64

SASPlanet is 32-bit Windows application. So we need to install box86 to emulate 32-bit Intel processor,
and we would need to install wine86 to emulate Windows. box86 being 32-bit would need armhf (32-bit)
runtime libraries.

== Step 1. Wine/Box86

Perform all steps to install wine and box86 from this Guide (if you haven't installed it previously):
https://bareboat-necessities.github.io/my-bareboat/airmail-install-bookworm.html

== Step 2. Download and install SAS.Planet

[source, shell]
----
cd ~
wget https://bitbucket.org/sas_team/sas.planet.bin/downloads/SAS.Planet.Release.220707.zip
wget -O sas-planet-patch.zip 'https://drive.google.com/uc?export=download&id=1xapw4gVa8d2rugKfq15yyGuY6gAfsR4L'
mkdir SASPlanet-2022/
cd SASPlanet-2022/
unzip ../SAS.Planet.Release.220707.zip
cd Maps
unzip -u ../../sas-planet-patch.zip
cd ../..
rm -rf SAS.Planet.Release.220707.zip sas-planet-patch.zip
----

== Step 3. Create desktop shortcut

[source, shell]
----
sudo bash -c 'cat << EOF > /usr/local/share/applications/sasplanet.desktop
[Desktop Entry]
Type=Application
Name=SAS.Planet
GenericName=SASPlanet
Comment=SASPlanet GIS
Exec=bash -c "cd ~/SASPlanet-2022/; wine SASPlanet.exe"
Terminal=false
Icon=gnome-globe
Categories=WWW;Internet
EOF'
----

== Step 4. Run SAS.Planet

[source, shell]
----
cd ~/SASPlanet-2022/
wine SASPlanet.exe
----


0 comments on commit 8b98d3f

Please sign in to comment.