This project is a demonstration of an IoT GPS data logger which integrates into the ArcGIS platform. It was featured in this blog post which gives more details of the developer technology we have used.
It has been designed to work on a Raspberry Pi Model 3B+ (or higher model) with a USB GPS receiver.
The project uses an early adopter version of the ArcGIS Maps SDK for Java specifically compiled to work with Arm Linux platforms such as the Raspberry Pi or Jenson Orin units. The Java Maps SDK with support for Arm Linux can be requested by emailing [email protected]. This will install the libraries needed for this app in a Maven Local instance. This is a temporary way of getting the SDK whilst it is in Beta. Subsequent releases will be available in a public maven repository.
The project includes the Gradle wrapper, so there is no need to install Gradle to run the app.
- Set up your Raspberry Pi by following the instructions in this page.
- Create a
dev
directory in your home directory using the command line:mkdir dev
- Open the directory by entering
cd dev
- Clone the repository by entering
git clone https://github.com/mbcoder/gps-logger.git
- The app can be run by entering
sudo ./gradlew run
Note that the application needs to be run using sudo
so that the Pi4J libraries have sufficient permission to access the Raspberry Pi hardware.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Copyright 2023 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's license.txt file.
Raspberry Pi is a trademark of Raspberry Pi Ltd