Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Jamaica Parishes (State) and towns #240

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
306 changes: 306 additions & 0 deletions trunk/places/JM.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,306 @@
<?php

/**
* Towns in Jamaica Parishes
* - 244 Towns
*
* Source:
* - https://en.wikipedia.org/wiki/List_of_cities_and_towns_in_Jamaica
*
* @author Ryon Whyte <[email protected]> | https://sitepactja.com
* @version 1.0.0
* @license http://www.gnu.org/licenses/gpl-2.0.html
*/

global $places;

$places['JM'] = array(
// Kingston and ST Andrew
'JM-01' => array(
'Allerdyce',
'Allman Town',
'August Town',
'Backto',
'Barbican',
'Belgrade Mews',
'Beverley Hills',
'Bournemouth Gardens',
'Bull Bay',
'Callaloo Bed',
'Cherry Gardens',
'Cockburn Gardens',
'College Common',
'Constant Spring',
'Cross Roads',
'Denham Town',
'Downtown Kingston',
'Duhaney Park',
'Eastwood Park Gardens',
'Eden Gardens',
'Elletson Flats',
'Forest Gardens',
'Forest Hills',
'Forest Hills Gardens',
'Franklyn Town',
'Greenwich Town',
'Half Way Tree',
'Harbour View',
'Havendale',
'Hope Pastures',
'Hopewell',
'Hughenden',
'Ithaca',
'Jack’s Hill',
'Jones Town',
'Kencot',
'Kingston',
'Kintyre',
'Liguanea',
'Long Mountain',
'Marverley',
'Meadowbrook',
'Meadowbrook Estates',
'Molynes Gardens',
'Mona',
'Mountain View',
'New Castle',
'New Haven',
'New Kingston',
'Norbrook',
'Norbrook',
'Norman Gardens',
'Olympic Garden',
'Papine',
'Patrick City',
'Patrick Gardens',
'Payne Land',
'Pembroke Hall',
'Pembrook Hall',
'Port Royal',
'Queen Hill',
'Rae Town',
'Red Hills',
'Riva Ridge',
'Riverton Meadows',
'Seaview Gardens',
'Smokey Vale',
'Stony Hill',
'Tivoli Gardens',
'Trafalgar Park',
'Trenchtown',
'Vineyard Town',
'Washington Gardens',
'Waterhouse',
'Whitfield Town',
'Woodford Park',
'Zaidie Gardens',
),
//Saint Thomas
'JM-03' => array(
'Bath',
'Bull Bay',
'Easington',
'Dalvey',
'Duckenfield',
'Golden Grove',
'Hampton Court',
'Lyssons',
'Morant Bay',
'Port Morant',
'Seaforth',
'Trinity Ville',
'Wilson Gap / Richmond Vale',
'Yallahs',
'White Horses',
),
//Portland
'JM-04' => array(
'Buff Bay',
'Cattawood Springs',
'Hope Bay',
'Manchioneal',
'Port Antonio',
'St. Margarets Bay',
'Norwich',
'Snow Hill',
'Boston',
'Drapers',
'Fruitful Vale',
'Shrewsbury',
'Coopers Hill',
'Moore Town',
'Charles Town, Jamaica',
'Fellowship',
'Mount Pleasant',
),
//Saint Mary
'JM-05' => array(
'Annotto Bay',
'Carron Hall',
'Gayle',
'Guys Hill',
'Highgate',
'Islington',
'Lucky Hill',
'Oracabessa',
'Port Maria',
'Retreat',
'Richmond',
),
//Saint Ann
'JM-06' => array(
'Alexandria',
'Bamboo',
'Beecher Town',
'Borobridge',
'Brown’s Town',
'Calderwood',
'Cave Valley',
'Claremont',
'Discovery Bay',
'Dry Harbour',
'Exchange',
'Gibraltar',
'Golden Grove',
'Lime Hall',
'Moneague',
'Nine Mile',
'Ocho Rios',
'Runaway Bay',
'Saint Ann’s Bay',
'Watt Town',
),
//Trelawny
'JM-07' => array(
'Albert Town',
'Clark’s Town',
'Duncans',
'Falmouth',
'Jackson Town',
'Rio Bueno',
'Ulster Spring',
'Wakefield',
'Wait-A-Bit',

),
//Saint James
'JM-08' => array(
'Adelphi',
'Anchovy',
'Bogue',
'Cambridge',
'Catadupa',
'Dumfries',
'Fairfield',
'Granville',
'Irwin',
'Johns Hall',
'Maroon Town',
'Montego Bay',
'Montpelier',
'Rose Hall',
'Somerton',
),
//Hanover
'JM-09' => array(
'Cascade',
'Dias',
'Green Island',
'Hopewell',
'Lucea',
'Ramble',
'Sandy Bay',
),
//Westmoreland
'JM-10' => array(
'Bethel Town',
'Bluefields',
'Darliston',
'Frome',
'Grange Hill',
'Hopewell',
'Little London',
'Negril',
'Petersfield',
'Savanna-la-Mar',
'Seaford Town',
'White House',
),
//Saint Elizabeth
'JM-11' => array(
'Balaclava',
'Black River',
'Bull Savanna',
'Junction',
'Lacovia',
'Maggotty',
'Malvern',
'Middle Quarters.',
'Mountainside',
'Nain',
'New Market',
'Newell',
'Siloah',
'Southfield',
),
//Manchester
'JM-12' => array(
'Alligator Pond',
'Christiana',
'Coleyville',
'Cross Keys',
'Mandeville',
'Mile Gully',
'Newport',
'Porus',
'Pratville',
'Spalding',
'Williamsfield',
),
//Clarendon
'JM-13' => array(
'Aenon Town',
'Alston',
'Chapelton',
'Croft’s Hill',
'Frankfield',
'Gimme-Me-Bit',
'James Hill',
'Kellits',
'Kemps Hill',
'Lionel Town',
'May Pen',
'Milk River',
'Mitchell Town',
'Mocho',
'Osbourne Store',
'Race Course',
'Rock River',
'Rocky Point',
'Thompson Town',
'Toll Gate',
'York Town',
),
//Saint Catherine
'JM-14' => array(
'Above Rocks',
'Bog Walk',
'Central Village',
'Ewarton',
'Glengoffe',
'Guy’s Hill',
'Kitson Town',
'Linstead',
'Lluidas Vale',
'Old Harbour',
'Point Hill',
'Portmore',
'Riversdale',
'Sligoville',
'Spanish Town',
'Troja',
)
);

// Use this filter to handle the Cities of Jamaica
$places['JM'] = apply_filters('scpwoo_custom_places_jm', $places['JM']);
34 changes: 34 additions & 0 deletions trunk/states/JM.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php

/**
* Parishes in Jamaica (Equivalent of States or Provinces in other countries)
* - 14 Parishes
*
* Source:
* - https://www.iso.org/obp/ui/#iso:code:3166:JM
*
* @author Ryon Whyte <[email protected]> | https://sitepactja.com
* @version 1.0.0
* @license http://www.gnu.org/licenses/gpl-2.0.html
*/

global $states;

$states['JM'] = array(
'JM-01' => 'Kingston & Saint Andrew',
'JM-03' => 'Saint Thomas',
'JM-04' => 'Portland',
'JM-05' => 'Saint Mary',
'JM-06' => 'Saint Ann',
'JM-07' => 'Trelawny',
'JM-08' => 'Saint James',
'JM-09' => 'Hanover',
'JM-10' => 'Westmoreland',
'JM-11' => 'Saint Elizabeth',
'JM-12' => 'Manchester',
'JM-13' => 'Clarendon',
'JM-14' => 'Saint Catherine',
);

// Use this filter to handle the Parishes of Jamaica
$states['JM'] = apply_filters('scpwoo_custom_states_jm', $states['JM']);