summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* scripts/extractPoiTypesFromID: Stop using imports.byteArrayMarcus Lundblad2022-06-081-11/+3
| | | | Replace usage with ES TextDecoder.
* scripts/extractPoiTypesFromID: Use ES6 modulesMarcus Lundblad2022-06-081-2/+2
|
* scripts: Update READMEwip/mlundblad/poi-extra-updatesMarcus Lundblad2021-01-251-1/+2
| | | | | | Update name and URL according to the upstream change breaking the tagging schemas to a separate project from the base iD editor.
* scripts: Update POI extraction script for upstream changesMarcus Lundblad2021-01-251-2/+2
| | | | | | Update POI extraction scripts according to upstream changes since breaking out the presets defintions to a separate project from the base iD editor.
* Fix issues with parsing JSON from buffersJames Westman2018-12-051-2/+12
| | | | | | | | Does so in a way that works on both 3.28 and 3.30. Adds a function to `utils.js` to detect whether an object is a Uint8Array or ByteArray and convert it to a string accordingly. Closes #139.
* Revert "Fix warnings about using Uint8Array.toString()"Marcus Lundblad2018-11-291-2/+1
| | | | This reverts commit 95f28f0d514eeeeff7aefedd41db4716ffbbd0ce.
* Fix warnings about using Uint8Array.toString()James Westman2018-11-281-1/+2
| | | | | A couple instances of this warning were especially problematic because they showed up when running `gnome-maps --help`.
* Switch to build with MesonMarcus Lundblad2018-03-271-9/+0
| | | | | | | | | | | | Implement Meson build support. Re-arrange icons into directory trees corresponding to the final install directories under public datadir and package-internal datadir to avoid parsing icon file names to produce a directory hierarchy. For this reason, drop autotools support now. Closes #104
* extractPoiTypesFromID: Adapt to lates iDMarcus Lundblad2017-03-071-1/+1
| | | | | | | iD has changed the format of the locale .json definitions. Adapt the script to the new format. https://bugzilla.gnome.org/show_bug.cgi?id=777718
* extractPoiTypesFromID: Add 'aeroway' typeZeeshan Ali (Khattak)2016-03-091-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=763328
* scripts/extractPoiTypesFromID: Human-friendly JSONZeeshan Ali (Khattak)2016-03-091-1/+1
| | | | | | Human-friendly JSON. https://bugzilla.gnome.org/show_bug.cgi?id=763328
* osmEdit: Add GJS script to extract POI definitions from the iD OSM editorMarcus Lundblad2016-02-123-0/+158
This creates an updated definition of POI types (with translations) from a checkout of the iD editor's code. This script could be run (and the output copied to data/osm-types.json) if POI presets have been added and/or updated or if new or updated translations are available in a new version of iD. https://bugzilla.gnome.org/show_bug.cgi?id=761327