<div dir="ltr"><div><div><div><div><br></div>Hello,<br><br></div>Amazing work!<br></div><br></div>1. source of geo-data<br><div><div><div>At first glance, e-Stats data is not "Open" as we use.<br></div><div>Data re-distribution is forbidden by Terms of Use.<br></div><div><br><a href="http://e-stat.go.jp/SG2/eStatFlex/help/content/_73.html#B007">http://e-stat.go.jp/SG2/eStatFlex/help/content/_73.html#B007</a><br>> B-7. 第三者に提供することを目的として、ダウンロードしたデータを利用することはできますか?<br>> 本システムからダウンロードしたデータを複製(ファイル形式を変換しての複製を含む)してそのまま第三者に譲渡することは禁じています。<br>> 詳細については、ダウンロードデータについての『使用上の注意』をご参照ください。<br></div><div><br><a href="http://e-stat.go.jp/SG2/eStatFlex/help/content/_72.html">http://e-stat.go.jp/SG2/eStatFlex/help/content/_72.html</a><br>> 2.利用の制限<br>>    利用者は、本システムでダウンロードしたデータ及び画像データをそのまま複製(ファイル形式を変換しての複製を含む。)して第三者に譲渡することを禁じます。<br><br>Maybe "そのまま複製 (just copied one)" in this sentence means <br>"データを付け加えるなど、加工すれば配布OK (modified data is permitted to distribute)".<br></div><div>Is my understanding same as yours? :)<br></div><div><br></div><div>2. Combination of "丁目" polygon and ZIP-code digit<br></div><div>Perfect correspondence would be difficult, but it is worth to tackle!<br><br>Famous errors in ZIP csv are summarized in this site.<br><a href="http://jamfunk.jp/wp/?page_id=356">http://jamfunk.jp/wp/?page_id=356</a><br><a href="http://jamfunk.jp/wp/?p=390">http://jamfunk.jp/wp/?p=390</a><br><a href="http://jamfunk.jp/wp/?p=417">http://jamfunk.jp/wp/?p=417</a><br></div><div><br><div><div><div><div>I guess most annoying is "○○の一部 (part of XXX chome)" descriptions.<br></div><div>Famous around Iwate Prefecture.<br><a href="http://www.city.morioka.iwate.jp/sumai/jukyohyoji/tsushida/008020.html">http://www.city.morioka.iwate.jp/sumai/jukyohyoji/tsushida/008020.html</a><br><br></div><div>In other word, I guess we could make 99% of the data (except those errors).<br></div><div><br></div><div><div><div>Best!<br></div><div><br></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-27 7:10 GMT+09:00 Tom Lee <span dir="ltr"><<a href="mailto:tlee@mapbox.com" target="_blank">tlee@mapbox.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Update: I have spent some time experimenting with the Census shapefiles, and it seems as though one of their ID fields might be usable for joining census polygons into postal code polygons. Specifically:<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><p><span>







</span></p><p><span>shp2pgsql -W SJIS h22ka13115.shp tokyo1 | psql japan</span></p><p><span>echo "create table tokyozip as select left(KEY_CODE, 10) as KEY_CODE, st_setsrid(st_union(st_buffer(geom,0)),4326) as geom from tokyo1 group by left(KEY_CODE, 10);" | psql japan</span></p></div></blockquote><div>







<div>Was used to generate the following shapefile:</div><div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><a href="http://cl.ly/3p2V1p400h3b/possible_tokyo_postcode.zip" target="_blank">http://cl.ly/3p2V1p400h3b/possible_tokyo_postcode.zip</a></div></div><div><br></div></blockquote>Assigning the correct post code is still a problem to be solved. I also don't have as much data (or familiarity with Japanese post codes) as I would like to test this hypothesis. Any advice will be much appreciated.<div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><a href="http://i.imgur.com/JMYR09w.jpg" target="_blank">http://i.imgur.com/JMYR09w.jpg</a></div></blockquote><span class="HOEnZb"><font color="#888888"><div><div><br></div><div>Tom</div></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 26, 2015 at 3:37 PM, Tom Lee <span dir="ltr"><<a href="mailto:tlee@mapbox.com" target="_blank">tlee@mapbox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have been trying to find geometry that corresponds to Japanese postal codes (sometimes also called zip codes). I initially joined Japan Post's CSV download to MLIT's administrative boundary shapefile, but this has proven to be too low-resolution.<div><br></div><div>I have found the <a href="http://www.parea.jp/datebase/area_map/index.html" target="_blank">PAREA Zip product</a>, but of course an open source of data would be preferable.</div><div><br></div><div>I am particularly curious to know whether E-Stat/Census data can be used to create postal code polygons. If you visit this URL:</div><div><br></div><div><a href="http://e-stat.go.jp/SG2/eStatGIS/page/download.html" target="_blank">http://e-stat.go.jp/SG2/eStatGIS/page/download.html</a><br></div><div><br></div><div>and select "平成22年国勢調査(小地域) 2010/10/01"</div><div><br></div><div>You can then choose a smaller area and download a high-resolution mesh as a shapefile. That file's field definitions can be found here:</div><div><br></div><div><a href="http://e-stat.go.jp/SG2/eStatFlex/help/content/downloaddata/A002005212010.pdf" target="_blank">http://e-stat.go.jp/SG2/eStatFlex/help/content/downloaddata/A002005212010.pdf</a><br></div><div><br></div><div>Here is one such shapefile in QGIS, overlaid on Bing aerial imagery: <a href="http://i.imgur.com/7z1dhn4.jpg" target="_blank">http://i.imgur.com/7z1dhn4.jpg</a></div><div><br></div><div>Although the polygons are well-indexed, they do not seem to correspond to postal codes.</div><div><br></div><div>Is anyone aware of a means of mapping the data included in this shapefile to postal codes? I would be very glad to share the results of my efforts under an open license, should I prove able to solve this problem (E-Stat's license seems to make this possible).</div><div><br></div><div>Thanks very much!</div><span><font color="#888888"><div><br></div><div>Tom Lee</div></font></span></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Talk-ja mailing list<br>
<a href="mailto:Talk-ja@openstreetmap.org">Talk-ja@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-ja" target="_blank">https://lists.openstreetmap.org/listinfo/talk-ja</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Satoshi IIDA<br>mail: <a href="mailto:nyampire@gmail.com" target="_blank">nyampire@gmail.com</a><br>twitter: @nyampire</div>
</div>