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

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

Uber Geek
+1 received by user: 468

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/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

373 posts

Ultimate Geek
+1 received by user: 184


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

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


 
 
 
 


Try Wrike: fast, easy, and efficient project collaboration software
3904 posts

Uber Geek
+1 received by user: 649

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.


6153 posts

Uber Geek
+1 received by user: 1002

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




87 posts

Master Geek
+1 received by user: 8


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


1887 posts

Uber Geek
+1 received by user: 275

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)




87 posts

Master Geek
+1 received by user: 8


  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.


2575 posts

Uber Geek
+1 received by user: 946

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.





1502 posts

Uber Geek
+1 received by user: 142

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

 

 

 

 




87 posts

Master Geek
+1 received by user: 8


  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:





News »

Umbrellar becomes Microsoft Cloud Solution Provider
Posted 22-May-2018 15:43


Three New Zealand projects shortlisted in IDC Asia Pacific Smart Cities Awards
Posted 22-May-2018 15:14


UpStarters - the New Zealand tech and innovation story
Posted 21-May-2018 09:55


Lightbox updates platform with new streaming options
Posted 17-May-2018 13:09


Norton Core router launches with high-performance, IoT security in New Zealand
Posted 16-May-2018 02:00


D-Link ANZ launches new 4G LTE Dual SIM M2M VPN Router
Posted 15-May-2018 19:30


New Panasonic LUMIX FT7 ideal for outdoor: waterproof, dustproof
Posted 15-May-2018 19:17


Ryanair Goes All-In on AWS
Posted 15-May-2018 19:14


Te Papa and EQC Minecraft Mod shakes up earthquake education
Posted 15-May-2018 19:12


Framing Facebook: It’s not about technology
Posted 14-May-2018 16:02


Vocus works with NZ Police and telcos to stop scam calls
Posted 12-May-2018 11:12


Vista Group signs Aeon Entertainment, largest cinema chain in Japan
Posted 11-May-2018 21:41


New Privacy Trust Mark certifies privacy and customer control
Posted 10-May-2018 14:16


New app FIXR connects vehicle owners to top Mechanics at best prices
Posted 10-May-2018 14:13


Nutanix Beam gives enterprises control of the cloud
Posted 10-May-2018 14:09



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.