Files
rogaining_srv/rog/mapping.py

26 lines
611 B
Python
Raw Normal View History

2022-02-22 20:21:57 +05:30
from django.contrib.gis.utils import LayerMapping
location_mapping = {
2022-03-01 14:49:16 +05:30
'loc_id' : 'location_id',
'loc_name' : 'location_name',
2022-02-28 17:51:56 +05:30
'category': 'category',
'zip':'zip',
'address':'address',
'prefecture':'prefecture',
'area':'area',
'city':'city',
'photos':'photos',
'videos':'videos',
'webcontents':'webcontents',
'status':'status',
2022-03-01 13:08:59 +05:30
'portal':'portal',
2022-02-28 17:51:56 +05:30
'group':'group',
'phone':'phone',
'fax':'fax',
'email':'email',
'facility':'facility',
'remark':'remark',
'tags':'tags',
'parammeters':'parammeters',
2022-02-22 20:21:57 +05:30
'geom': 'MULTIPOLYGON',
}