File: README

package info (click to toggle)
gnome-maps 49.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,528 kB
  • sloc: javascript: 24,148; ansic: 3,301; xml: 299; makefile: 10; sh: 4
file content (19 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SCRIPTS
=======

extractPoiTypesFromID.js
------------------------

Extracts the POI types (presets) that the iD editor uses to JSON for us to consume.

Run the extractPoiTypesFromID.js script against a checkout of the
iD Tagging Schema project (https://github.com/openstreetmap/id-tagging-schema)

$ ./extractPoiTypesFromID.js <path to iD checkout> > osm-types.json

This script would be run by upstream before making a release of gnome-maps if an updated version
of the iD editor is available with updated OSM types preset and/or new or updated translations
of those.
Check the resulting .json file (i.e. check size and possibly diff against the current version).
Copy the result to data/osm-types.json