The OpenMower Map Editor is a tool for creating and editing maps for OpenMower. This project combines a web-based interface with backend services to extract and manage GeoJSON data from ROS bag files.
- Web Interface: Interactive map powered by Leaflet for viewing and editing zones.
- GeoJSON Management: Load and save map data in GeoJSON format.
- ROS Bag Extraction: Convert ROS bag files to GeoJSON using
rosbag2geojson.
- Go (to build
rosbag2geojson) - Podman or Docker (to run the container)
- Python 3 and Flask (for the backend service)
-
Run the installation script:
sudo ./install.sh
-
After installation, the service will be available at http://:8088.
Open your browser and navigate to http://:8088. Use the buttons to: Save: Save edited zones to GeoJSON. Extract from .bag: Extract map data from a ROS bag file.
GET /load: Load existing GeoJSON data. POST /extract: Extract GeoJSON from a ROS bag file.
cd tools/rosbag2geojson/cmd/rosbag2geojson go build -o rosbag2geojson
python3 backend.py
We welcome contributions! Please create a pull request or open an issue if you have suggestions or find bugs.
This project is licensed under the MIT License. See LICENSE for more details.