Created
November 4, 2016 00:41
-
-
Save kashitan/192a4cdc2b27c46f614fc41939544279 to your computer and use it in GitHub Desktop.
位置参照情報ダウンロードサービス(http://nlftp.mlit.go.jp/isj/)からダウンロードしたをデータを格納するテーブル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 位置参照情報ダウンロードサービス(http://nlftp.mlit.go.jp/isj/)から | |
-- ダウンロードしたをデータを格納するテーブル | |
CREATE TABLE loc_ref_info( | |
pref varchar(100) -- 都道府県名 | |
, city varchar(100) -- 市区町村名 | |
, town varchar(100) -- 大字・町丁目名 | |
, block varchar(100) -- 街区符号・地番 | |
, coord_no integer -- 座標系番号 | |
, x numeric -- X座標 | |
, y numeric -- Y座標 | |
, lat numeric -- 緯度 | |
, lon numeric -- 経度 | |
, display integer -- 住居表示フラグ | |
, representative integer -- 代表フラグ | |
, before_update integer -- 更新前履歴フラグ | |
, after_update integer -- 更新後履歴フラグ | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment