DeveloperGuidelines = GIS Module = == How to add a new Layer type == Add to {{{models/_gis.py}}} {{{ gis_layer_types=[] # Provide layer-specific options in it's own table: db.define_table('gis_layer_newlayertype', SQLField('modified_on','datetime',default=now), SQLField('layer',length=64), SQLField('field')) db.gis_layer_newlayertype.layer.requires=IS_IN_DB(db,'gis_layer.uuid','gis_layer.name') }}} ---- DeveloperGuidelines