Opened 8 years ago

Closed 8 years ago

#5250 closed enhancement (implemented)

Include country/region/city names in details documents

Reported by: karsten Owned by: karsten
Priority: Medium Milestone:
Component: Metrics/Onionoo Version:
Severity: Keywords:
Cc: atagar, hellais Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Damian suggests to include more information from the GeoIP database in details documents. We discussed the region and the city name of a relay, but it may also be useful to add the country name written out. These information are trivial to look up: location.countryName, regionName.regionNameByCode(location.countryCode, location.region), and location.city.

I started an initial implementation of this feature, but ran into problems with encoding Java's Unicode strings as UTF-8. It's just not pretty to write Nürnberg as N?rnberg.

(This was issue 12 in my GitHub repository.)

Child Tickets

Change History (1)

comment:1 Changed 8 years ago by karsten

Cc: atagar hellais added
Resolution: implemented
Status: newclosed

This is now implemented and documented.

(It's unclear if the Unicode-to-UTF-8 conversion works correctly on non-UTF-8 systems. A quick test with a file written on Mac OS X and read on Linux resulted in a <?> instead of a u-umlaut. Someone should run Tomcat on Mac OS X and find out.)

Closing.

Note: See TracTickets for help on using tickets.