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.




87 posts

Master Geek
+1 received by user: 8


Topic # 225421 17-Nov-2017 20:20
Send private message quote this post

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
3723 posts

Uber Geek
+1 received by user: 432

Trusted

  Reply # 1903470 17-Nov-2017 21:25
Send private message quote this post

Maybe it would be something nz post will have?




Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


nas

303 posts

Ultimate Geek
+1 received by user: 143


  Reply # 1903472 17-Nov-2017 21:32
Send private message quote this post

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


 
 
 
 


3808 posts

Uber Geek
+1 received by user: 602

Trusted
Subscriber

  Reply # 1903607 18-Nov-2017 10:48
Send private message quote this post

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


6037 posts

Uber Geek
+1 received by user: 939

Trusted
Lifetime subscriber

  Reply # 1903610 18-Nov-2017 10:55
Send private message quote this post

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).




87 posts

Master Geek
+1 received by user: 8


  Reply # 1903785 18-Nov-2017 17:48
Send private message quote this post

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 :( 


1851 posts

Uber Geek
+1 received by user: 249

Trusted

  Reply # 1903794 18-Nov-2017 18:58
Send private message quote this post

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)




87 posts

Master Geek
+1 received by user: 8


  Reply # 1904153 19-Nov-2017 17:46
Send private message quote this post

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.


2272 posts

Uber Geek
+1 received by user: 805

Subscriber

  Reply # 1904270 20-Nov-2017 00:30
Send private message quote this post

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.





1404 posts

Uber Geek
+1 received by user: 103

Subscriber

  Reply # 1904276 20-Nov-2017 06:13
One person supports this post
Send private message quote this post

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

 

 

 

 




87 posts

Master Geek
+1 received by user: 8


  Reply # 1905371 21-Nov-2017 17:29
Send private message quote this post

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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Intel reimagines data centre storage with new 3D NAND SSDs
Posted 16-Feb-2018 15:21


Ground-breaking business programme begins in Hamilton
Posted 16-Feb-2018 10:18


Government to continue search for first Chief Technology Officer
Posted 12-Feb-2018 20:30


Time to take Appleā€™s iPad Pro seriously
Posted 12-Feb-2018 16:54


New Fujifilm X-A5 brings selfie features to mirrorless camera
Posted 9-Feb-2018 09:12


D-Link ANZ expands connected smart home with new HD Wi-Fi cameras
Posted 9-Feb-2018 09:01


Dragon Professional for Mac V6: Near perfect dictation
Posted 9-Feb-2018 08:26


OPPO announces R11s with claims to be the picture perfect smartphone
Posted 2-Feb-2018 13:28


Vocus Communications wins a place on the TaaS panel
Posted 26-Jan-2018 15:16


SwipedOn raises $1 million capital
Posted 26-Jan-2018 15:15


Slingshot offers unlimited gigabit fibre for under a ton
Posted 25-Jan-2018 13:51


Spark doubles down on wireless broadband
Posted 24-Jan-2018 15:44


New Zealand's IT industry in 2018 and beyond
Posted 22-Jan-2018 12:50


Introducing your new workplace headache: Gen Z
Posted 22-Jan-2018 12:45


Jucy set to introduce electric campervan fleet
Posted 22-Jan-2018 12:41



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.

Alternatively, you can receive a daily email with Geekzone updates.