Пример #1
0
def jurisdict_default_style(request):
    # no keyword
    keyword = 'jurisdict'
    layer_default_style.delay(keyword)
    messages.error(request,
                   "Updating Default Style of Jurisdiction Shapefiles")
    return HttpResponseRedirect(reverse('data_management'))
Пример #2
0
def sar_default_style(request):
    keyword = 'SAR'
    layer_default_style.delay(keyword)
    messages.error(request, "Updating Default Style of SAR")
    return HttpResponseRedirect(reverse('data_management'))
Пример #3
0
def dem_cov_default_style(request):
    # no keyword
    keyword = 'dem_'
    layer_default_style.delay(keyword)
    messages.error(request, "Updating Default Style of DEM Coverage")
    return HttpResponseRedirect(reverse('data_management'))
Пример #4
0
def rl_default_style(request):
    keyword = 'PhilLiDAR2'
    layer_default_style.delay(keyword)
    messages.error(request, "Updating Default Style of Resource Layers")
    return HttpResponseRedirect(reverse('data_management'))