Tag: directions

  • Java: method to convert degrees into directions (16-wind compass rose)

    I’m working on a weather app for Android. The data for wind direction that I get from the weather API is in form of degrees (0 to 360). I want to display wind direction in a user-friendly format such as N (North), NNE (North-northeast), NE (Northeast), ENE (East-Northeast), E (East), ESE (East-Southeast), SE (Southeast), SSE (South-Southeast), S (South), SSW (South-Southwest), SW (Southwest), WSW (West-Southwest), W (West), WNW (West-Northwest), NW (Northwest), and NNW (North-Northwest). I think this is more user-friendly, at least when compared to degrees format.

    16-wind compass rose
    The eight half-winds are the points obtained by bisecting the angles between the principal winds. The half-winds are north-northeast (NNE), east-northeast (ENE), east-southeast (ESE), south-southeast (SSE), south-southwest (SSW), west-southwest (WSW), west-northwest (WNW) and north-northwest (NNW). Notice that the name is constructed simply by combining the names of the principal winds to either side, with the cardinal wind coming first, the ordinal wind second. The eight principal winds and the eight half-winds together yield a 16-wind compass rose, with each compass point at a 22 1⁄2° angle from the next.

    Points of the Compass

    And here is the Java method that I prepared so I can convert direction data from degrees into directions (16-wind compass rose):

  • Enchanted Kingdom (Philippines) – Updated 2012 Opening Time, Schedule, Entrance Fee, Ticket Prices, Promos, Location Map, Contact Number

    Enchanted Kingdom (Philippines) – Updated 2012 Opening Time, Schedule, Entrance Fee, Ticket Prices, Promos, Location Map, Contact Number

    Enchanted Kingdom, located in Santa Rosa, Laguna, is a theme park which serves as one of the most favorite destinations in the Philippines.

    In this page of my website, Enchanted Kingdom’s info should be completely posted soon including opening and closing hours, schedule for the coming months this year 2012, ticket prices, amount of other fees, directions, contact number, and location map. If possible, I might also post Enchanted Kingdom promo infos.

    Disclaimer: And obviously, by looking at the page URL you’ll know that this is not the official Enchanted Kingdom website. 🙂 I’m in no way affiliated with EK, so even though I try my best to keep the info here updated, I might miss a few of their price/schedule change.

    I’ve gathered various information about Enchanted Kingdom in this page, so I decided to help you with a navigation menu below.
    (more…)