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

Uber Geek
+1 received by user: 396

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

274 posts

Ultimate Geek
+1 received by user: 138


  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/


 
 
 
 


3757 posts

Uber Geek
+1 received by user: 577

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.


5926 posts

Uber Geek
+1 received by user: 871

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


1824 posts

Uber Geek
+1 received by user: 230

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.


2033 posts

Uber Geek
+1 received by user: 651

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.





1351 posts

Uber Geek
+1 received by user: 91

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 »

UAV Traffic Management Trial launching today in New Zealand
Posted 12-Dec-2017 16:06


UFB connections pass 460,000
Posted 11-Dec-2017 11:26


The Warehouse Group to adopt IBM Cloud to support digital transformation
Posted 11-Dec-2017 11:22


Dimension Data peeks into digital business 2018
Posted 11-Dec-2017 10:55


2018 Cyber Security Predictions
Posted 7-Dec-2017 14:55


Global Govtech Accelerator to drive public sector innovation in Wellington
Posted 7-Dec-2017 11:21


Stuff Pix media strategy a new direction
Posted 7-Dec-2017 09:37


Digital transformation is dead
Posted 7-Dec-2017 09:31


Fake news and cyber security
Posted 7-Dec-2017 09:27


Dimension Data New Zealand strengthens cybersecurity practice
Posted 5-Dec-2017 20:27


Epson NZ launches new Expression Premium Photo range
Posted 5-Dec-2017 20:26


Eventbrite and Twickets launch integration partnership in Australia and New Zealand
Posted 5-Dec-2017 20:23


New Fujifilm macro lens lands in New Zealand
Posted 5-Dec-2017 20:16


Cyber security not being taken seriously enough
Posted 5-Dec-2017 20:13


Sony commences Android 8.0 Oreo rollout in New Zealand
Posted 5-Dec-2017 20:08



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.