<peterm6881>
good, ninja-build comes bundled with Ubuntu jammy
<peterm6881>
ninja-build is already the newest version (1.10.1-1)
<peterm6881>
ok wait
<peterm6881>
yeah didnt have libglib2.0-dev
<peterm6881>
cloning navit now
<peterm6881>
Run-time dependency libgps found: NO (tried pkgconfig and cmake)
<peterm6881>
Message: Unable to find a Navit dependency, skipping build
<peterm6881>
Library ArduiPi_OLED found: NO
<peterm6881>
Build targets in project: 1
<Jookia>
yep
<Jookia>
skips the navit build but not maptool
<Jookia>
so ninja -j5 should work
<peterm6881>
ah so thats normal, cool
<Jookia>
if you get any compile errors tell me
<peterm6881>
nope all good.
<peterm6881>
now, there is a maptool folder inside the navit folder, and also a maptool.p folder inside the builddir folder, all in the Navit build directory. What exactly am I copying into the Translations directory of ogr2osm-translations
<Jookia>
in builddir there should be a 'maptool' binary
<Jookia>
did you run ninja in builddir
<peterm6881>
yes I cd'd like you said
<peterm6881>
yeah theres the executable, nice
<peterm6881>
outstanding
<Jookia>
so just copying that should work
<Jookia>
did it build quickly?
<peterm6881>
i might do a rough draft update of the readme
<peterm6881>
yeah like 20 seconds , is that expected?
<Jookia>
yeah on my system it takes 5 or so but i have an nvme
<peterm6881>
lol show off
<peterm6881>
:)
<Jookia>
tell me if maptool works. i've tested it with osm maps
<peterm6881>
thats brilliant Jookia
<Jookia>
you don't need ogr2osm for osm maps
<Jookia>
just maptool
<peterm6881>
ahhh
<peterm6881>
what format? pbf?
<Jookia>
osm xml
<peterm6881>
ahh yeah I can only download a small area directly from osm but thats fine
<peterm6881>
i was using overpass.api
<Jookia>
not sure what pbg is, maybe that would work
<Jookia>
pbf*
<peterm6881>
protobuf
<peterm6881>
dont worry about it
<Jookia>
if maptool has an option for that it could work, try doing the maptool --help
<Jookia>
i did see some protobuf code
<peterm6881>
its late there, I can tell you how it went tomorrow if you prefer?
<Jookia>
sure
<peterm6881>
ill create a map for myself for Castle Leslie in Monaghan, its only 17 miles away across the border and I want to go there anyway
<Jookia>
neat
<peterm6881>
Thanks for your help, I'll chuck something in the readme to remind myself. Maptool was always tricky for me. Sleep well
<Jookia>
ty
<peterm6881>
Its part of the Ghost House story, dunno if Xogium ever mentioned that
<peterm6881>
Command 'maptool' not found, but can be installed with:
<Jookia>
peterm6881: ./maptool
<peterm6881>
:)
<peterm6881>
i havent a clue , thats why i need experts
<peterm6881>
best not to rely on any ubuntu version
<Jookia>
run ./maptool
<Jookia>
put ./ in front of it
<peterm6881>
yeah I understood that, but I should have known. IM such a noob
<peterm6881>
thanks
<Jookia>
just write it down for readme if you can
<peterm6881>
absolutely. I have it all down on paper. Remind what ./ does
<Jookia>
in linux to run an executable it must either be in a /bin, or /usr/bin or a 'global' directory, or you have to specify a path to it. in this case ./ means current directory
<Jookia>
if you were in the 'navit' directory you'd run builddir/maptool
<Jookia>
or anywhere you'd run ~/navit/builddir/maptool
<Jookia>
or maybe even /home/peter/navit/builddir/maptool . dunno if that's the full path
<peterm6881>
ahh i didnt think i needed it because I was in navit/builddir
<peterm6881>
right where the maptool executable is
<Jookia>
yeah that's a windows thing
<peterm6881>
indeed! interestingly there is a version of Maptool in the Ubuntu repositories but not arch.
<peterm6881>
Cant trust it to remain there though, itll prob be deprecated
<Jookia>
i would recommend to only use the maptool that matches the navit binary on the device if possible. not sure what the compatibility process is
<peterm6881>
can you check the readme and let me know if I should make any changes
<Jookia>
looks fine if you tested it
<peterm6881>
no not yet, I wanted to be clear what the repo is expecting. I can edit again
<peterm6881>
wait
<peterm6881>
Jookia, did I understand you correctly that you were able to convert an osm file for your town?
<Jookia>
yes
<Jookia>
i used maptool for taht
<peterm6881>
thats the part i couldnt get to work, so Im trying a shapefile set from Overpass API. Can you remember how you converted your osm file
<peterm6881>
do you have the command
<Jookia>
./maptool -U out.bin < in.osm
<Jookia>
replace out.bin with bin name
<Jookia>
you want
<Jookia>
and in.osm with path to osm file
<peterm6881>
looks like osm uses the word roads instead of HERE's streets
<Jookia>
probably yeah
<peterm6881>
i see the scripts need the accompanying shx files, do they need anythuing else?
<Jookia>
not sure
peterm6881 has quit [Remote host closed the connection]
peterm6881 has joined #Speedsaver
<peterm6881>
back
<peterm6881>
board files have landed. Only a week late
<Jookia>
nice
<peterm6881>
ogr2osm filled my 8gb RAM then killed itself. Ive now increased my swap space from 0.5 GB to 16 GB. I can confirm the conversion script requires the associated shx file to shp files, but does not require .prj, .cpg or .dbf that normally also come as commponents of shapefiles
<peterm6881>
thats more like it, machine still responsive
<peterm6881>
AttributeError: 'NoneType' object has no attribute 'items'
<peterm6881>
sigh......
<peterm6881>
sadly the scripts cant convert osm derived shapefiles from geofabrik (not Overpass API, thats for osm
<Jookia>
yeah they're for HERE shapefiles only
<peterm6881>
fair enough, I'll just have to try maptool again
<peterm6881>
ok I think im done with the ogr2osm-translations repo. I sthere anything you would change about the readme or does it make sense
<Speedsaver>
ogr2osm-translations: peterbmckinley edited a repository
<Xogium>
think it is fine
<peterm6881>
its mainly for me, if a dumbass like me can understand it, and come back to and and make it work after 6 months, anybody can hop on there and get somewhere never having seen it
<peterm6881>
Your speedsaver branch isn't protected
<peterm6881>
Protect this branch from force pushing, deletion, or require status checks before merging. Learn more
<peterm6881>
is this something I should be concerned about?
<Xogium>
that basically means anyone in the repo can push to it