
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
An OSM tool for attaching relation tags to the member nodes.
You have to specify the osm input file, the relation you want to filter, the postgres user and db data and the program creates a table to store the ouput nodes with 5 columns: id, tags, lat, lon and geometry.
In the column tags (json stringified by default) you can find, besides the node tags, something like this:
relations : {relationid1:{name:'relation1 name', id:'relation1 id',...},
relationid2:{name:'relation2 name', id:'relation2 id',...}}
... all the relations that have the node as member, and their tags!
sudo npm install -g tags2nodes
or git clone this repository.
tags2nodes [arguments]
-f input osm.pbf file.
-u postgres user.
-p postgres password.
-h postgres host.
-d postgres db name.
-c osm relation condition json (without quotes!). I.e.: {route:subway}.
-r [optional] role of members of relation to be filtered. I.e.: stop.
Default: all roles.
-e [optional] condition that allows to fetch also nodes outside relations.
I.e: {station:subway}.
-t [optional] postgres output table name. Default: tags2nodes.
-j [optional] output projection. Default: WGS84 (4326).
--json [optional] json format for tags field. Only valid for Postgres >= 9.3.
Default: text
--jsonb [optional] jsonb format for tags field (faster!). Only valid for
Postgres >= 9.4. Default: text.
--help this help.
MIT.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.