ubuntu postgis 追記

適当なshpファイルを見つけてきてshp2pgsqlして、DB作って突っ込んでみたら入らない。権限まわりの問題。テンプレートから直す。

dink@vaio-tz:~$ sudo su - postgres
postgres@vaio-tz:~$ psql template_postgis
template_postgis=# GRANT ALL ON geometry_columns TO PUBLIC;
template_postgis=# GRANT ALL ON spatial_ref_sys TO PUBLIC;
template_postgis=# \q

もっかいこのテンプレートからDB作り直すよ...