On Mon, Apr 22, 2024 at 12:57:16AM +0200, Florian Lohoff wrote:
>
> Hi,
> does anyone have a good workflow for exporting kind of markers/waypoints
> from JOSM to OSMAnd for verification on ground?
Okay - I'd like to have the possibility for OSMAnd to fetch stuff
from the Network. E.g. a "Marker group". In the simplest form its a
static file, a preferred dynamic form would be a simple API (self hosted) which
fetches and updates markers when passed. Could be simple
sqlite based setup or the like.
While thinking this through a "Push notification for fetching a routing
destination" would also be nice for OSMAnd - Think of "Emergency
Services" and OSMAnd on the "In car dashboard tablet". In case of
Alarming the push goes to the tablet and OSMAnd immediatly starts
calculating the route even before people enter the car. Just a thought.
Now - to the setup i created - I have a second layer in JOSM with
markers. This layer only consists of nodes with e.g. "fixme=Take picture of
pipeline marker"
The layer is a static file which is marked as "no upload" "no download"
<osm version='0.6' download='never' upload='never' generator='JOSM'>
so josm will never upload this layer, nor will it merge downloaded data
into it.
Then i have an incron service which converts the markers.osm file to
an markers.gpx file whenever it gets written with a little perl script
i wrote:
https://github.com/flohoff/osm-fixme-to-gpx
These files reside in a folder in sync with "Syncthing" to my mobile
phone.
So when i get on the Bike to cycle around i delete the markers group
and gpx track in OSMAnd - reimport the gpx track and generate markers
from it.