This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Tag query in private server

0

I did setup a private OSM Website following https://github.com/openstreetmap/openstreetmap-website and also the editor iD. I will let people edit the data through the editor iD, so they will use the tags that are predefined in the editor. How could I know how many features of a specific tag (for example highway) there are in the server? Can I do it through rails console or need another software? Thanks.

asked 13 Feb '20, 21:40

carlosguedes's gravatar image

carlosguedes
9191016
accept rate: 0%


One Answer:

1

You can probably query the database through the console, but I wouldn't know how.

The usual tool for these stats is taginfo, so you could set up your own instance.

answered 13 Feb '20, 23:19

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

thank you, I just realized that the rails console is not the best way of doing it, but through the psql console. I will reformulate my question.

(21 Feb '20, 19:21) carlosguedes

Source code available on GitHub .