2008年8月26日火曜日

基盤地図情報 5b神奈川県のPostGISでのマップファイル


MAP
NAME kanagawa_pgis_map
STATUS ON
SIZE 600 300
EXTENT -83624.557161 -96269.254733 -3366.679476 -36305.074927
UNITS meters
IMAGECOLOR 255 255 255
IMAGETYPE png
FONTSET "fonts.txt"

WEB
IMAGEPATH "/home/user/ka-map/htdocs/tmp/kacache/"
IMAGEURL "/ka-map/tmp/kacache/"
END

LEGEND
TRANSPARENT TRUE
LABEL
TYPE TRUETYPE
FONT vl-gothic
COLOR 0 0 0
ENCODING UTF-8
SIZE 10
OFFSET 0 -4
END
END

SCALEBAR
TRANSPARENT TRUE
END


LAYER
NAME kukaku
GROUP kukaku
TYPE POLYGON
STATUS ON
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=kanagawa host=localhost user=user password=password"
DATA "the_geom from gyoseikukaku"
METADATA
"group_title" "行政区画"
END
CLASS
NAME "行政区画"
STYLE
COLOR 255 255 204
OUTLINECOLOR 204 204 204
END
END
END

LAYER
NAME suigaisen
GROUP suigaisen
TYPE LINE
STATUS ON
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=kanagawa host=localhost user=user password=password"
DATA "the_geom from suigai"
METADATA
"group_title" "水涯線"
END
CLASS
NAME "水涯線"
STYLE
COLOR 102 204 204
SIZE 1
END
END
END

LAYER
NAME kaigansen
GROUP kaigansen
TYPE LINE
STATUS ON
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=kanagawa host=localhost user=user password=password"
DATA "the_geom from kaigansen"
METADATA
"group_title" "海岸線"
END
CLASS
NAME "海岸線"
STYLE
COLOR 102 204 204
SIZE 1
END
END
END

LAYER
NAME kenchiku
GROUP kenchiku
TYPE LINE
STATUS ON
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=kanagawa host=localhost user=user password=password"
DATA "the_geom from kenchikua"
MAXSCALEDENOM 50000
METADATA
"group_title" "建築物"
END
CLASS
NAME "建築物"
STYLE
COLOR 153 204 153
SIZE 1
END
END
END

LAYER
NAME doro
GROUP doro
TYPE LINE
STATUS ON
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=kanagawa host=localhost user=user password=password"
DATA "the_geom from doro"
MAXSCALEDENOM 100000
METADATA
"group_title" "道路"
"opacity" "50"
"queryable" "true"
"fields" "name:名前"
END
CLASS
NAME "道路"
STYLE
COLOR 204 204 102
SIZE 1
END
END
TEMPLATE temp_kamakura_shp.html
END

LAYER
NAME testudo
GROUP tetsudo
TYPE LINE
STATUS ON
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=kanagawa host=localhost user=user password=password"
DATA "the_geom from kido"
METADATA
"group_title" "鉄道"
"queryable" "true"
"fields" "name:名前"
END
CLASS
NAME "鉄道"
STYLE
COLOR 51 51 51
SIZE 1
END
END
TEMPLATE temp_kamakura_shp.html
END

LAYER
NAME kukaku2
GROUP kukaku2
TYPE ANNOTATION
STATUS OFF
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=kanagawa host=localhost user=user password=password"
DATA "the_geom from gyoseikukaku"
LABELITEM "name"
METADATA
"group_title" "住所1"
"queryable" "true"
"searchfield" "name"
"fields" "name:住所"
END
CLASS
NAME "住所1"
LABEL
MINFEATURESIZE 100
TYPE TRUETYPE
FONT vl-gothic
ENCODING UTF-8
SIZE 8
END
END
TEMPLATE temp_kamakura_shp.html
END

LAYER
NAME kukakuten
GROUP kukakuten
TYPE POINT
STATUS ON
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=kanagawa host=localhost user=user password=password"
DATA "the_geom from gyoseiten"
LABELITEM "name"
METADATA
"group_title" "行政区画代表点"
"queryable" "true"
"searchfield" "name"
"fields" "name:住所"
END
CLASS
NAME "行政区画代表点"
STYLE
COLOR 255 255 255
SIZE 1
END
LABEL
MINFEATURESIZE 100
TYPE TRUETYPE
FONT vl-gothic
ENCODING UTF-8
SIZE 8
END
END
TEMPLATE temp_kamakura_shp.html
END

END #MAP END

0 件のコメント: