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.


95 posts

Master Geek
+1 received by user: 10


Topic # 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
4053 posts

Uber Geek
+1 received by user: 535

Trusted

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

Maybe it would be something nz post will have?




Previously known as psycik

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, 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


defiant
612 posts

Ultimate Geek
+1 received by user: 295

Lifetime subscriber

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

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


4091 posts

Uber Geek
+1 received by user: 738

Trusted
Subscriber

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

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


6290 posts

Uber Geek
+1 received by user: 1072

Trusted
Lifetime subscriber

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




95 posts

Master Geek
+1 received by user: 10


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


2027 posts

Uber Geek
+1 received by user: 340

Trusted

  Reply # 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)




95 posts

Master Geek
+1 received by user: 10


  Reply # 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.


3121 posts

Uber Geek
+1 received by user: 1210

Subscriber

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

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.





1624 posts

Uber Geek
+1 received by user: 173

Subscriber

  Reply # 1904276 20-Nov-2017 06:13
One person supports this post
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

 

 

 

 




95 posts

Master Geek
+1 received by user: 10


  Reply # 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

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:



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.