opennewzealand / linz2osm

Some tools for helping move LINZ data into OpenStreetMap
http://wiki.openstreetmap.org/wiki/LINZ
GNU General Public License v3.0
22 stars 2 forks source link

DISTINCT value counts in stats page #65

Closed stephend closed 12 years ago

stephend commented 12 years ago

idea: on the stats pages, http://linz2osm.openstreetmap.org.nz/data_dict/layer/building_pnt/stats/ be able to click on the field name or something next to it and have it process and expand to the list of sort --> unique strings. [which language should I be tailoring my pseudo-code to?]

This would help shorten the download, look at osm file, edit tags, redownload, rinse wash repeat cycle for getting the tags just right.

for the "name" fields probably disable that, or at least ask 'are you sure?' since the returning list is probably huge. or maybe just chop it off after the first 100...? (I'd say just look at the feature count for the cutoff, but e.g. the building_pnt for the mainland has 557991 features but probably only 30-50 unique strings to list)