SurfaceGPS is an application that calculates the area of a piece of land using the GPS sensor of a smartphone.
-
Go to Play Store to install it in your android smartphone
-
How to use SurfaceGPS?
Step #1: In the parcels list, click on the top right to create a piece of land, give it a name, and click on the top right to save it.
Step #2: Click on the piece in the pieces list, click on 'Save' and move on the land. This application will memorize your positions, as you move. Once at the starting point, click 'Stop', and the area in m² is displayed at the top right.
-
Install the lastest version of the Ionic CLI
Note: SurfaceGPS requires Ionic CLI 3. -
Run:
git clone https://github.com/LaurentBouquet/surfacegps.git
cd surfacegps
ionic serve -c
SurfaceGPS loads with the FirstRunPage
set to TutorialPage
as the default. If the user has already gone through this page once, it will be skipped the next time he loads the app.
If the tutorial is skipped, the Welcome page will be displayed. This is the page titled MainPage
which is set to be the TabsPage
as the default.
The entry and main pages can be configured easily by updating the corresponding variables in [src/pages/pages.ts].
The list of pieces is stored in SQLite and managed by the "provider" Items.
SurfaceGPS comes with internationalization (i18n) out of the box with ngx-translate. This makes it easy to change the text used in the app by modifying only one file.
To add new languages, add new files to the src/assets/i18n
directory, following the pattern of LANGCODE.json where LANGCODE is the language/locale code (ex: en/gb/de/es/etc.).
To change the language of the app, edit src/app/app.component.ts
and modify translate.use('en')
to use the LANGCODE from src/assets/i18n/
Thank you in advance for your contribution :-)