Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Hibino

166 posts

Master Geek


#225421 17-Nov-2017 20:20
Send private message

I googled a lot but just can't find a list of NZ towns with their region together.

 

I can use the full town list from Wikipedia(https://en.wikipedia.org/wiki/List_of_towns_in_New_Zealand) and I know there are 16 regions in NZ but is there anyway I can categories these towns into their belonging regions? Thank you.


Create new topic
davidcole
6021 posts

Uber Geek

Trusted

  #1903470 17-Nov-2017 21:25
Send private message

Maybe it would be something nz post will have?




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 




dfnt
1508 posts

Uber Geek

Lifetime subscriber

  #1903472 17-Nov-2017 21:32
Send private message

Might be able to get details with https://data.linz.govt.nz/


alasta
6687 posts

Uber Geek

Trusted
Subscriber

  #1903607 18-Nov-2017 10:48
Send private message

Do you have Apple Maps? It shows regional boundaries as a broken red line.




Behodar
10427 posts

Uber Geek

Trusted
Lifetime subscriber

  #1903610 18-Nov-2017 10:55
Send private message

Google Maps also shows boundaries, but I can't guarantee that they're correct (I see that the Bay of Plenty is now correct, about ten years after reporting it as wrong).


Hibino

166 posts

Master Geek


  #1903785 18-Nov-2017 17:48
Send private message

davidcole: Maybe it would be something nz post will have?

 

I know NZPost and CourierPost has a address database that contains almost every street address+suburb+town+postcode+gps location in NZ but I don't see it come with region info. Maybe they have one internally.

 

nas:

 

Might be able to get details with https://data.linz.govt.nz/

 

 

Emm... spend sometime but just can't figure out what this thing do... :(

 

 

 

alasta:

 

Do you have Apple Maps? It shows regional boundaries as a broken red line.

 

 

Behodar:

 

Google Maps also shows boundaries, but I can't guarantee that they're correct (I see that the Bay of Plenty is now correct, about ten years after reporting it as wrong).

 

 

Yes maps has regional boundaries but it will take a lot of time to matching those towns into region manually through a map :( 


nickb800
2715 posts

Uber Geek

Trusted

  #1903794 18-Nov-2017 18:58
Send private message

What are you trying to achieve here, and what sort of towns are you thinking of (some examples). 

 

This is probably the easiest/closest option

 

https://en.wikipedia.org/wiki/Territorial_authorities_of_New_Zealand

 

 

 

It seems odd, but there isn't really a definitive list of place names. The Fire Service has a database on 'localities' which covers this, but they regard it as their intellectual property so you need to sign a 6-page agreement to gain access. And you can't reproduce the data in it. Because they think that you could confuse people about where they live and delay an emergency response. Don't get me started...

 

 

 

This source from LINZ is probably second-best as far as comprehensive options go

 

https://www.linz.govt.nz/regulatory/place-names/find-place-name/new-zealand-gazetteer-place-names (see the CSV download option)


Hibino

166 posts

Master Geek


  #1904153 19-Nov-2017 17:46
Send private message

nickb800:

 

What are you trying to achieve here, and what sort of towns are you thinking of (some examples). 

 

This is probably the easiest/closest option

 

https://en.wikipedia.org/wiki/Territorial_authorities_of_New_Zealand

 

 

 

It seems odd, but there isn't really a definitive list of place names. The Fire Service has a database on 'localities' which covers this, but they regard it as their intellectual property so you need to sign a 6-page agreement to gain access. And you can't reproduce the data in it. Because they think that you could confuse people about where they live and delay an emergency response. Don't get me started...

 

 

 

This source from LINZ is probably second-best as far as comprehensive options go

 

https://www.linz.govt.nz/regulatory/place-names/find-place-name/new-zealand-gazetteer-place-names (see the CSV download option)

 

 

Thank you, I'll take a look at the links above.

 

I am building a interface to let some of my users to choose every town in NZ and group them into different groups(and the choices has no pattern so it is pretty much random, all follow how the user think about the town). And I guess it will be much easier for them to decide if I group the towns into their region so they have a better idea where the town is. Otherwise seeing hundreds of town names in a big list and most of them I haven't even heard of will be a really hard work.


 
 
 

GoodSync. Easily back up and sync your files with GoodSync. Simple and secure file backup and synchronisation software will ensure that your files are never lost (affiliate link).
Aredwood
3885 posts

Uber Geek


  #1904270 20-Nov-2017 00:30

https://www.nzpost.co.nz/personal/sending-within-nz/how-to-address-mail/postcodes/postcode-directory

That page has links to separate directories by region. You would just need to scrape the town names out of each regional directory to get the lists of town names by region.





Goosey
2793 posts

Uber Geek

Subscriber

  #1904276 20-Nov-2017 06:13
Send private message

Seriously, the work has been done, you just need to pull it out from here.... (just spend a few moments to learn how to use their database and you have got the info you need). 

 

https://data.linz.govt.nz/layer/3353

 

 

 

 


Hibino

166 posts

Master Geek


  #1905371 21-Nov-2017 17:29
Send private message

Aredwood: https://www.nzpost.co.nz/personal/sending-within-nz/how-to-address-mail/postcodes/postcode-directory

That page has links to separate directories by region. You would just need to scrape the town names out of each regional directory to get the lists of town names by region.

 

Thank you. This one is easy enough except they grouped few regions together into 1 pdf and in the pdf there is no region column to separate them. But still useable.

 

Ahhhhh, their PDF does not allow copy/paste I guess if I can't find any other solution I'll have to build an excel file manually...

 

 

 

Goosey:

 

Seriously, the work has been done, you just need to pull it out from here.... (just spend a few moments to learn how to use their database and you have got the info you need). 

 

https://data.linz.govt.nz/layer/3353

 

 

From your link I can get the data like NZPost/CourierPost address API that contains the street/city etc, and then I tried a few other layers/data sets but just can't find one that links the town/city to its region :-( Can you please point out which layer/data set I can use to match the town to its region? Thank you


Create new topic





News and reviews »

Logitech G522 Gaming Headset Review
Posted 18-Jun-2025 17:00


Māori Artists Launch Design Collection with Cricut ahead of Matariki Day
Posted 15-Jun-2025 11:19


LG Launches Upgraded webOS Hub With Advanced AI
Posted 15-Jun-2025 11:13


One NZ Satellite IoT goes live for customers
Posted 15-Jun-2025 11:10


Bolt Launches in New Zealand
Posted 11-Jun-2025 00:00


Suunto Run Review
Posted 10-Jun-2025 10:44


Freeview Satellite TV Brings HD Viewing to More New Zealanders
Posted 5-Jun-2025 11:50


HP OmniBook Ultra Flip 14-inch Review
Posted 3-Jun-2025 14:40


Flip Phones Are Back as HMD Reimagines an Iconic Style
Posted 30-May-2025 17:06


Hundreds of School Students Receive Laptops Through Spark Partnership With Quadrent's Green Lease
Posted 30-May-2025 16:57


AI Report Reveals Trust Is Key to Unlocking Its Potential in Aotearoa
Posted 30-May-2025 16:55


Galaxy Tab S10 FE Series Brings Intelligent Experiences to the Forefront with Premium, Versatile Design
Posted 30-May-2025 16:14


New OPPO Watch X2 Launches in New Zealand
Posted 29-May-2025 16:08


Synology Premiers a New Lineup of Advanced Data Management Solutions
Posted 29-May-2025 16:04


Dyson Launches Its Slimmest Vaccum Cleaner PencilVac
Posted 29-May-2025 15:50









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.