#! /bin/sh

DB=${1:-geoville}

monitor $DB << EOF

/*=============================================================*/
/* gv2-dyn-info.pq                                             */
/*                                                             */
/* Define dynamic display entries for display off the          */
/* gv2 relations, which use the new "geo-ext" types.           */
/*=============================================================*/

append geo_dyninfo (relname="Intersection",relattr="geo_pnt2",
   bboxattr="None", dynfunc="make_pnt2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Property",relattr="geo_pgn2",
   bboxattr="geo_bbox", dynfunc="make_pgn2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Property_vw",relattr="geo_pgn2",
   bboxattr="geo_cbox", dynfunc="make_pgn2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="myoid")\g

append geo_dyninfo (relname="PropertyTax_vw",relattr="geo_pnt2",
   bboxattr="geo_cbox", dynfunc="make_pnt2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="myoid")\g

append geo_dyninfo (relname="Property_centr",relattr="geo_pnt2",
   bboxattr="None", dynfunc="make_pnt2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Property_bound",relattr="geo_pln2",
   bboxattr="geo_bbox", dynfunc="make_pln2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Road",relattr="geo_pln2",
   bboxattr="None", dynfunc="make_pln2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Road_edge",relattr="geo_pln2",
   bboxattr="geo_bbox", dynfunc="make_pln2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Road_text",relattr="geo_pln2",
   bboxattr="geo_bbox", dynfunc="make_pln2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Hydrog_edge",relattr="geo_pln2",
   bboxattr="geo_bbox", dynfunc="make_pln2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Hydrog_text",relattr="geo_pln2",
   bboxattr="geo_bbox", dynfunc="make_pln2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Neatline",relattr="geo_pln2",
   bboxattr="geo_bbox", dynfunc="make_pln2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

append geo_dyninfo (relname="Mapsheet",relattr="geo_pnt2",
   bboxattr="None", dynfunc="make_pnt2_shape",
   dynfile="$GEOHOME/geo-ext/Geo2Shapes.o", the_oid="None")\g

EOF
