<s> from django . contrib . gis . db import models <EOL> class OGRDatasetCollection ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:255> , blank = False ) <EOL> class OGRDataset ( models . Model ) : <EOL> collection = models . ForeignKey ( OGRDatasetCollection , null = False ) <EOL> location = models . TextField ( blank = False , null = False ) <EOL> checksum = models . CharField ( max_length = <NUM_LIT:32> , blank = False , null = False ) <EOL> name = models . CharField ( max_length = <NUM_LIT:255> , blank = False , null = False , db_index = True ) <EOL> human_name = models . TextField ( blank = True , null = True , db_index = True ) <EOL> extent = models . PolygonField ( srid = <NUM_LIT> ) <EOL> class OGRLayer ( models . Model ) : <EOL> dataset = models . ForeignKey ( OGRDataset ) <EOL> name = models . CharField ( max_length = <NUM_LIT:255> , db_index = True ) <EOL> human_name = models . TextField ( blank = True , null = True , db_index = True ) <EOL> extent = models . PolygonField ( srid = <NUM_LIT> ) </s>
