Import kleptogs coastline into postgres:
jburgess@tilegen:~/coastlines$ shp2pgsql -s 900913 -I -g way processed_p shoreline_a | psql -q gis
Shapefile type: Polygon
Postgis type: MULTIPOLYGON[2]
NOTICE: CREATE TABLE will create implicit sequence "shoreline_a_gid_seq" for serial column "shoreline_a.gid"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "shoreline_a_pkey" for table "shoreline_a"
addgeometrycolumn
-------------------------------------------------------------
public.shoreline_a.way SRID:900913 TYPE:MULTIPOLYGON DIMS:2
(1 row)
gis=> alter table shoreline_a alter column way set not null;
ALTER TABLE
gis=> CLUSTER shoreline_a_way_gist on shoreline_a;
CLUSTER
gis=# grant select on shoreline_a to tile;
...
coast-poly
postgis
gis
false
(select way from shoreline_a) as "coast-poly"
-20037508,-19929239,20037508,19929239