openaddresses / openaddresses

A global repository of open address, building, and parcel data.
http://openaddresses.io/
BSD 3-Clause "New" or "Revised" License
2.88k stars 857 forks source link

jp-Osaka city #877

Open nyampire opened 9 years ago

nyampire commented 9 years ago

Osaka City, Japan has published their Address data under CC-BY2.1 JP. I guess we could include it in this repository.

Data

EPSG is 2448. UTF-8 encoded.

code in address dataset.

区コード (suburb code):

last 2 digit of CODE_ME in this dataset. http://www.city.osaka.lg.jp/contents/wdu090/opendata/mapnavoskdat_csv/kucode.csv

e.g. CODE_PARENT,CODE_ME,NAME_ME, 27,27001,北区,

27001 -> 1 = 区コード column in Address dataset

町コード (neighbourhood code):

last 4 digit of CODE_ME in this dataset. http://www.city.osaka.lg.jp/contents/wdu090/opendata/mapnavoskdat_csv/chocode.csv

e.g. CODE_PARENT,CODE_ME,NAME_ME 27005,270051496,備後町

270051496 -> 1496 = 町コード column in Address dataset

Original Link page (& License)

http://www.city.osaka.lg.jp/toshikeikaku/page/0000250227.html

geobrando commented 9 years ago

Hey @nyampire. Do you know how this differs from the current Osaka source?

nyampire commented 9 years ago

My understanding. current Osaka source is from Ichi Sansho Joho. Those indicate the delegation points of "block number" (similar to street name) polygon. So not include the data of house number points.

This data set include real dump of "house number".

geobrando commented 9 years ago

OK. So is the current JSON that has number and street fields incorrect?

geobrando commented 9 years ago

@nyampire Looks like these were added by @sbma44 here

sbma44 commented 9 years ago

yeah, the old source is a nationwide block-level source from MLIT. address-level data is a very desirable supplement, though you will need both to build a decent japanese geocoder.

justinelliotmeyers commented 4 years ago

@sbma44 the Japan data we have now isn't correct, to the best of my knowledge. Last time I looked it was for blocks, hence not actual addresses. @nyampire can we revisit this? I just downloaded the Jusho file - I can try to wrap my head around where to join data from if you can help? I tried to get the ball rolling on this stuff here: https://github.com/openaddresses/openaddresses/issues/3628 Lets do this!

nyampire commented 4 years ago

@justinelliotmeyers I see. I'll wrap up current situation roughly. Please wait a while.

More general information about Japanese situation is aggregated here (it is 3 years ago, and written in Japanese though).

Just a confirmation, we are collecting "addresses points" not "Gaiku (block-level data)" like Ichi-Sasho-Joho.

justinelliotmeyers commented 4 years ago

@nyampire yes, addresses/ address points. Currently for Japan, we support a level above what we ideally want for this project. The data I believe you have submitted is what we need.

Wow, your blog post is amazing! I will have to review in detail this weekend. But yes, we want individual house addresses, and the most detailed data possible. Lets stay connected and try to create some data!

nyampire commented 4 years ago

@justinelliotmeyers OK, I understood.

And sorry, this is not a direct issue about this thread. Does this repo (OpenAddresses) have any aggregated documents to explain each country's address scheme and/or structure? (similar to ISO/TC211's documents)

In OSM wiki, I've written an article to explain the basic structure of the Japanese "block-based" address system. I think some notes like it could be worth to get an insight of every country's situation.

justinelliotmeyers commented 4 years ago

@nyampire Downloaded data and put together. Compare below. Currently we have block level points (align inside 街区ポリゴン). The new data you have submitted is a lower level (住所データ). I need to examine the attributes to see if these are addresses we would expect to see. jp_old

jp_new

justinelliotmeyers commented 4 years ago

does the new source you submitted have building addresses? I'm not sure if this is the official address where people would send mail to, or drive to, but something like: https://www.city.osaka.lg.jp/fukushutosuishin/page/0000487546.html

〒530-8201 大阪市北区中之島1丁目3番20号

image

currently we have: 3-6 中之島一丁目

the new data has: image

nyampire commented 4 years ago

Thank you for examining. And sorry, I'm not sure if I could understand your mention correctly...

The new dataset is the number for the buildings. 号 (号・番号 column in this dataset) is the number for the buildings.

For example, the address for townhall you mentioned above is separatable as following.

〒530-8201 / 大阪市 / 北区 / 中之島 / 1丁目 / 3番 / 20号

〒530-8201 = zip/postal code 大阪市 = city 北区 = suburb (or called as ward) name 中之島 = neighbourhood (or district) name 1丁目 = neighbourhood number 3番 = block number 20号 = house number

It is very confusing that the neighbourhood name and neighbourhood number are sometimes combined as just "name" (e.g. officially 中之島1丁目 is the name in municipality's documents. But some data like this or IMI (federal standards, like NIEM in US) is separating it as name and number)

nyampire commented 4 years ago

As my understanding, following point data is a center point of the block. (3番 = block number above) This is not a house number point data.

image

justinelliotmeyers commented 4 years ago

osaka_review

Uploading a csv in raw EPSG is 2448 and in 4326 (WGS84). Could you let me know the structure you believe we should implement?

osaka_2448.zip osaka_4326.zip

nyampire commented 4 years ago

@justinelliotmeyers I could load 4326 in QGIS, but couldn't for 2448. Which is the correct X,Y column for that (X1, X2, GX)? And is EPSG 2448 correct for this csv?

Anyway, 4326 looks good for me at least.

nyampire commented 4 years ago

in the context of data structure, how about this attribute table?

address structure column name
X POINT_X
Y POINT_Y
subsurb name NAME_ME
subsurb name in KANA KANA_ME
neighbourhood name NAME_ME_1
neighbourhood name in KANA KANA_ME_1
block number 街区コード
house number 号・番号
justinelliotmeyers commented 4 years ago

@sbma44 thoughts about starting with this as a new source for revamping what we have for Japan? If you aren't a good person to ping let me know, and I can reach out to Ingalls and see. Thanks!

sbma44 commented 4 years ago

I’m too far removed to have an informed opinion, @justinelliotmeyers. But I’ve pinged some of our Japanese address experts in the hopes they might be able to weigh in (@ingalls is worth bothering too)

justinelliotmeyers commented 4 years ago

thanks @sbma44 just like to keep people involved when/ where I can. I'll ping Ingalls.

justinelliotmeyers commented 4 years ago

@ingalls see structure from above:

osaka