コード例 #1
0
config.single_year_requests = [
    # absolute value
    #
    #               {'dataset':'gridcell',
    #                'image_type':'openev_map',
    #                'attribute':{'indicator_name': 'urbansim.gridcell.population',
    #                             'legend_scheme':{'range':[0, 10, 50, 100],
    #                             'color':['#b2b2aea3', '#ccff00ff','#ffcc00ff','#ff6500ff','#ff0000ff']}
    #
    ##                             'scale':[-5000, 250000]
    #                             }
    #                },
    #
    #               {'dataset':'gridcell',
    #                'image_type':'openev_map',
    #                'attribute':{'indicator_name': 'urbansim.gridcell.number_of_jobs as employment',
    #                              'legend_scheme':{'range':[0, 500, 5000, 25000],
    #                              'color':['#b2b2aea3', '#ccff00ff','#ffcc00ff','#ff6500ff','#ff0000ff']}
    #
    ##                             'scale':[1000, 200000]
    #                             }
    #                },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name': 'urbansim.faz.population',
            #                              'scale':[1, 60000]
        }
    },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name': 'urbansim.faz.population_per_acre',
            #                              'scale':[1, 60000]
        }
    },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name':
            'psrc.faz.number_of_jobs_without_resource_construction_sectors as employment',
            #                              'scale':[1, 60000]
        }
    },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name': 'psrc.faz.number_of_jobs_per_acre',
            #                              'scale':[1, 60000]
        }
    },

    #                 ##change value
    #               {'dataset':'gridcell',
    #                'image_type':'openev_map',
    #                'attribute':{'indicator_name': 'population_change(DDDD-00)',
    #                             'operation':'change',
    #                             'arguments':['urbansim.gridcell.population'],
    ##                             'scale':[-5000, 250000]
    #                             }
    #                },
    #
    #               {'dataset':'gridcell',
    #                'image_type':'openev_map',
    #                'attribute':{'indicator_name': 'psrc.gridcell.absolute_number_of_jobs_change as employment_change(DDDD-00)',
    #                             'scale':[1000, 200000]
    #                             }
    #                },
    #
    #               {'dataset':'gridcell',
    #                'image_type':'openev_map',
    #                'attribute':{'indicator_name': 'psrc.gridcell.percent_population_change as percent_population_change(DDDD-00)',
    ##                             'scale':[1000, 200000]
    #                             }
    #                },
    #
    #               {'dataset':'gridcell',
    #                 'image_type':'openev_map',
    #                 'attribute':{'indicator_name': 'psrc.gridcell.percent_number_of_jobs_change as percent_employment_change(DDDD-00)',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },

    #
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name': 'population_change(DDDD-00)',
            'operation': 'change',
            'arguments': ['urbansim.faz.population'],
            #                              'scale':[-2000, 40000]
        }
    },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name': 'employment_change(DDDD-00)',
            'operation': 'change',
            'arguments': ['urbansim.faz.number_of_jobs'],
            #                              'scale':[-2000, 40000]
        }
    },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name':
            'psrc.faz.percent_population_change as percent_population_change(DDDD-00)',
            #                             'scale':[1000, 200000]
        }
    },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name':
            'psrc.faz.percent_number_of_jobs_change as percent_employment_change(DDDD-00)',
            #                              'scale':[-30000, 30000]
        }
    },

    ###difference (this scenario - baseline)

    #               {'dataset':'gridcell',
    #                 'image_type':'openev_map',
    #                 'attribute':{'indicator_name': 'psrc.gridcell.absolute_population_difference_from_baseline as population_difference_from_baseline',
    #                              'scale':[-30000, 30000]
    #                              }
    #                },
    #
    #               {'dataset':'gridcell',
    #                 'image_type':'openev_map',
    #                 'attribute':{'indicator_name': 'psrc.gridcell.absolute_number_of_jobs_difference_from_baseline as employment_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
    #               {'dataset':'gridcell',
    #                 'image_type':'openev_map',
    #                 'attribute':{'indicator_name': 'psrc.gridcell.percent_population_difference_from_baseline as percent_population_difference_from_baseline',
    #                              'scale':[-30000, 30000]
    #                              }
    #                },
    #
    #               {'dataset':'gridcell',
    #                 'image_type':'openev_map',
    #                 'attribute':{'indicator_name': 'psrc.gridcell.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name':
            'psrc.faz.absolute_population_difference_from_baseline',
            #                              'scale':[-30000, 30000]
        }
    },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name':
            'psrc.faz.percent_population_difference_from_baseline',
            #                              'scale':[-30000, 30000]
        }
    },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name':
            'psrc.faz.absolute_number_of_jobs_difference_from_baseline as absolute_employment_difference_from_baseline',
            #                              'scale':[-30000, 30000]
        }
    },
    {
        'dataset': 'faz',
        'image_type': 'map',
        'attribute': {
            'indicator_name':
            'psrc.faz.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline',
            #                              'scale':[-30000, 30000]
        }
    },
    {
        'dataset': 'zone',
        'image_type': 'map',
        'attribute': {
            'indicator_name':
            'psrc.zone.travel_time_hbw_am_drive_alone_to_cbd',
            'scale': [-10, 110]
        }
    },
    #{'dataset':'zone',
    #'image_type':'map',
    #'attribute':{'indicator_name':'psrc.zone.generalized_cost_weighted_access_to_employment_hbw_am_drive_alone',
    #'scale':[-1000, 8000]
    #}
    #},
    {
        'dataset': 'zone',
        'image_type': 'map',
        'attribute': {
            'indicator_name':
            'psrc.zone.employment_within_20_minutes_travel_time_hbw_am_drive_alone',
            #                              'scale':[-1000, 7000]
        }
    },
]
コード例 #2
0
config.single_year_requests = [
                # absolute value
#
               {'dataset':'gridcell',
                'image_type':'openev_map',
                'attribute':{'indicator_name': 'urbansim.gridcell.population',
                             'legend_scheme':{'range':[0, 10, 50, 100], 
                             'color':['#b2b2aea3', '#ccff00ff','#ffcc00ff','#ff6500ff','#ff0000ff']}
                             
#                             'scale':[-5000, 250000]
                             }
                },   

               {'dataset':'gridcell',
                'image_type':'openev_map',
                'attribute':{'indicator_name': 'urbansim.gridcell.number_of_jobs as employment',
                              'legend_scheme':{'range':[0, 500, 5000, 25000], 
                              'color':['#b2b2aea3', '#ccff00ff','#ffcc00ff','#ff6500ff','#ff0000ff']}

#                             'scale':[1000, 200000]
                             }
                }, 
#                {'dataset':'faz',
#                 'image_type':'map',
#                 'attribute':{'indicator_name':'urbansim.faz.population',
#                              'scale':[1, 60000]
#                              }
#                },
#                
#               {'dataset':'faz',
#                 'image_type':'map',
#                 'attribute':{'indicator_name':'urbansim.faz.number_of_jobs as employment',
#                              'scale':[1, 60000]
#                              }
#                },
                
#                 ##change value
               {'dataset':'gridcell',
                'image_type':'openev_map',
                'attribute':{'indicator_name': 'population_change(DDDD-00)',
                             'operation':'change',
                             'arguments':['urbansim.gridcell.population'],
#                             'scale':[-5000, 250000]
                             }
                },   

               {'dataset':'gridcell',
                'image_type':'openev_map',
                'attribute':{'indicator_name': 'psrc.gridcell.absolute_number_of_jobs_change as employment_change(DDDD-00)',
                             'scale':[1000, 200000]
                             }
                }, 

               {'dataset':'gridcell',
                'image_type':'openev_map',
                'attribute':{'indicator_name': 'psrc.gridcell.percent_population_change as percent_population_change(DDDD-00)',
#                             'scale':[1000, 200000]
                             }
                }, 

               {'dataset':'gridcell',
                 'image_type':'openev_map',
                 'attribute':{'indicator_name': 'psrc.gridcell.percent_number_of_jobs_change as percent_employment_change(DDDD-00)',
#                              'scale':[-30000, 30000]
                              }
                },                 
                
#
#               {'dataset':'faz',
#                 'image_type':'map',
#                 'attribute':{'indicator_name': 'population_change(DDDD-00)',
#                              'operation':'change',
#                              'arguments':['urbansim.faz.population'],
#                              'scale':[-2000, 40000]
#                              }
#                },
#
#               {'dataset':'faz',
#                 'image_type':'map',
#                 'attribute':{'indicator_name': 'employment_change(DDDD-00)',
#                              'operation':'change',
#                              'arguments':['urbansim.faz.number_of_jobs'],
#                              'scale':[-2000, 40000]
#                              }
#                },
#
#               {'dataset':'faz',
#                'image_type':'map',
#                'attribute':{'indicator_name': 'psrc.faz.percent_population_change as percent_population_change(DDDD-00)',
##                             'scale':[1000, 200000]
#                             }
#                }, 
#
#               {'dataset':'faz',
#                 'image_type':'map',
#                 'attribute':{'indicator_name': 'psrc.faz.percent_number_of_jobs_change as percent_employment_change(DDDD-00)',
##                              'scale':[-30000, 30000]
#                              }
#                },                 

                
                 ###difference (this scenario - baseline)

               {'dataset':'gridcell',
                 'image_type':'openev_map',
                 'attribute':{'indicator_name': 'psrc.gridcell.absolute_population_difference_from_baseline as population_difference_from_baseline',
                              'scale':[-30000, 30000]
                              }
                },
                
               {'dataset':'gridcell',
                 'image_type':'openev_map',
                 'attribute':{'indicator_name': 'psrc.gridcell.absolute_number_of_jobs_difference_from_baseline as employment_difference_from_baseline',
#                              'scale':[-30000, 30000]
                              }
                }, 
               {'dataset':'gridcell',
                 'image_type':'openev_map',
                 'attribute':{'indicator_name': 'psrc.gridcell.percent_population_difference_from_baseline as percent_population_difference_from_baseline',
                              'scale':[-30000, 30000]
                              }
                },
                
               {'dataset':'gridcell',
                 'image_type':'openev_map',
                 'attribute':{'indicator_name': 'psrc.gridcell.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline',
#                              'scale':[-30000, 30000]
                              }
                }, 

#               {'dataset':'faz',
#                 'image_type':'map',
#                 'attribute':{'indicator_name': 'psrc.faz.absolute_population_difference_from_baseline',
##                              'scale':[-30000, 30000]
#                              }
#                }, 
#               {'dataset':'faz',
#                 'image_type':'map',
#                 'attribute':{'indicator_name': 'psrc.faz.percent_population_difference_from_baseline',
##                              'scale':[-30000, 30000]
#                              }
#                }, 
#                
#               {'dataset':'faz',
#                 'image_type':'map',
#                 'attribute':{'indicator_name': 'psrc.faz.absolute_number_of_jobs_difference_from_baseline as employment_difference_from_baseline',
##                              'scale':[-30000, 30000]
#                              }
#                }, 
#               {'dataset':'faz',
#                 'image_type':'map',
#                 'attribute':{'indicator_name': 'psrc.faz.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline',
##                              'scale':[-30000, 30000]
#                              }
#                }, 
    ]
コード例 #3
0
config.single_year_requests = [
    # absolute value
    #
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "urbansim.gridcell.population",
            "legend_scheme": {
                "range": [0, 10, 50, 100],
                "color": ["#b2b2aea3", "#ccff00ff", "#ffcc00ff", "#ff6500ff", "#ff0000ff"],
            }
            #                             'scale':[-5000, 250000]
        },
    },
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "urbansim.gridcell.number_of_jobs as employment",
            "legend_scheme": {
                "range": [0, 500, 5000, 25000],
                "color": ["#b2b2aea3", "#ccff00ff", "#ffcc00ff", "#ff6500ff", "#ff0000ff"],
            }
            #                             'scale':[1000, 200000]
        },
    },
    #                {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name':'urbansim.faz.population',
    #                              'scale':[1, 60000]
    #                              }
    #                },
    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name':'urbansim.faz.number_of_jobs as employment',
    #                              'scale':[1, 60000]
    #                              }
    #                },
    #                 ##change value
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "population_change(DDDD-00)",
            "operation": "change",
            "arguments": ["urbansim.gridcell.population"],
            #                             'scale':[-5000, 250000]
        },
    },
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "psrc.gridcell.absolute_number_of_jobs_change as employment_change(DDDD-00)",
            "scale": [1000, 200000],
        },
    },
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "psrc.gridcell.percent_population_change as percent_population_change(DDDD-00)",
            #                             'scale':[1000, 200000]
        },
    },
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "psrc.gridcell.percent_number_of_jobs_change as percent_employment_change(DDDD-00)",
            #                              'scale':[-30000, 30000]
        },
    },
    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'population_change(DDDD-00)',
    #                              'operation':'change',
    #                              'arguments':['urbansim.faz.population'],
    #                              'scale':[-2000, 40000]
    #                              }
    #                },
    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'employment_change(DDDD-00)',
    #                              'operation':'change',
    #                              'arguments':['urbansim.faz.number_of_jobs'],
    #                              'scale':[-2000, 40000]
    #                              }
    #                },
    #
    #               {'dataset':'faz',
    #                'image_type':'map',
    #                'attribute':{'indicator_name': 'psrc.faz.percent_population_change as percent_population_change(DDDD-00)',
    ##                             'scale':[1000, 200000]
    #                             }
    #                },
    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.percent_number_of_jobs_change as percent_employment_change(DDDD-00)',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
    ###difference (this scenario - baseline)
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "psrc.gridcell.absolute_population_difference_from_baseline as population_difference_from_baseline",
            "scale": [-30000, 30000],
        },
    },
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "psrc.gridcell.absolute_number_of_jobs_difference_from_baseline as employment_difference_from_baseline",
            #                              'scale':[-30000, 30000]
        },
    },
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "psrc.gridcell.percent_population_difference_from_baseline as percent_population_difference_from_baseline",
            "scale": [-30000, 30000],
        },
    },
    {
        "dataset": "gridcell",
        "image_type": "openev_map",
        "attribute": {
            "indicator_name": "psrc.gridcell.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline",
            #                              'scale':[-30000, 30000]
        },
    },
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.absolute_population_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.percent_population_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.absolute_number_of_jobs_difference_from_baseline as employment_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
]
コード例 #4
0
config.single_year_requests = [
                # absolute value
#
#               {'dataset':'gridcell',
#                'image_type':'openev_map',
#                'attribute':{'indicator_name': 'urbansim.gridcell.population',
#                             'legend_scheme':{'range':[0, 10, 50, 100], 
#                             'color':['#b2b2aea3', '#ccff00ff','#ffcc00ff','#ff6500ff','#ff0000ff']}
#                             
##                             'scale':[-5000, 250000]
#                             }
#                },   
#
#               {'dataset':'gridcell',
#                'image_type':'openev_map',
#                'attribute':{'indicator_name': 'urbansim.gridcell.number_of_jobs as employment',
#                              'legend_scheme':{'range':[0, 500, 5000, 25000], 
#                              'color':['#b2b2aea3', '#ccff00ff','#ffcc00ff','#ff6500ff','#ff0000ff']}
#
##                             'scale':[1000, 200000]
#                             }
#                }, 

                {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name':'urbansim.faz.population',
#                              'scale':[1, 60000]
                              }
                },
                {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name':'urbansim.faz.population_per_acre',
#                              'scale':[1, 60000]
                              }
                },
                
               {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name':'psrc.faz.number_of_jobs_without_resource_construction_sectors as employment',
#                              'scale':[1, 60000]
                              }
                },
               {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name':'psrc.faz.number_of_jobs_per_acre',
#                              'scale':[1, 60000]
                              }
                },
                
#                 ##change value
#               {'dataset':'gridcell',
#                'image_type':'openev_map',
#                'attribute':{'indicator_name': 'population_change(DDDD-00)',
#                             'operation':'change',
#                             'arguments':['urbansim.gridcell.population'],
##                             'scale':[-5000, 250000]
#                             }
#                },   
#
#               {'dataset':'gridcell',
#                'image_type':'openev_map',
#                'attribute':{'indicator_name': 'psrc.gridcell.absolute_number_of_jobs_change as employment_change(DDDD-00)',
#                             'scale':[1000, 200000]
#                             }
#                }, 
#
#               {'dataset':'gridcell',
#                'image_type':'openev_map',
#                'attribute':{'indicator_name': 'psrc.gridcell.percent_population_change as percent_population_change(DDDD-00)',
##                             'scale':[1000, 200000]
#                             }
#                }, 
#
#               {'dataset':'gridcell',
#                 'image_type':'openev_map',
#                 'attribute':{'indicator_name': 'psrc.gridcell.percent_number_of_jobs_change as percent_employment_change(DDDD-00)',
##                              'scale':[-30000, 30000]
#                              }
#                },                 
                
#
               {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name': 'population_change(DDDD-00)',
                              'operation':'change',
                              'arguments':['urbansim.faz.population'],
#                              'scale':[-2000, 40000]
                              }
                },

               {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name': 'employment_change(DDDD-00)',
                              'operation':'change',
                              'arguments':['urbansim.faz.number_of_jobs'],
#                              'scale':[-2000, 40000]
                              }
                },

               {'dataset':'faz',
                'image_type':'map',
                'attribute':{'indicator_name': 'psrc.faz.percent_population_change as percent_population_change(DDDD-00)',
#                             'scale':[1000, 200000]
                             }
                }, 

               {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name': 'psrc.faz.percent_number_of_jobs_change as percent_employment_change(DDDD-00)',
#                              'scale':[-30000, 30000]
                              }
                },                 

                
                 ###difference (this scenario - baseline)

#               {'dataset':'gridcell',
#                 'image_type':'openev_map',
#                 'attribute':{'indicator_name': 'psrc.gridcell.absolute_population_difference_from_baseline as population_difference_from_baseline',
#                              'scale':[-30000, 30000]
#                              }
#                },
#                
#               {'dataset':'gridcell',
#                 'image_type':'openev_map',
#                 'attribute':{'indicator_name': 'psrc.gridcell.absolute_number_of_jobs_difference_from_baseline as employment_difference_from_baseline',
##                              'scale':[-30000, 30000]
#                              }
#                }, 
#               {'dataset':'gridcell',
#                 'image_type':'openev_map',
#                 'attribute':{'indicator_name': 'psrc.gridcell.percent_population_difference_from_baseline as percent_population_difference_from_baseline',
#                              'scale':[-30000, 30000]
#                              }
#                },
#                
#               {'dataset':'gridcell',
#                 'image_type':'openev_map',
#                 'attribute':{'indicator_name': 'psrc.gridcell.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline',
##                              'scale':[-30000, 30000]
#                              }
#                }, 

               {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name': 'psrc.faz.absolute_population_difference_from_baseline',
#                              'scale':[-30000, 30000]
                              }
                }, 
               {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name': 'psrc.faz.percent_population_difference_from_baseline',
#                              'scale':[-30000, 30000]
                              }
                }, 
                
               {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name': 'psrc.faz.absolute_number_of_jobs_difference_from_baseline as absolute_employment_difference_from_baseline',
#                              'scale':[-30000, 30000]
                              }
                }, 
               {'dataset':'faz',
                 'image_type':'map',
                 'attribute':{'indicator_name': 'psrc.faz.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline',
#                              'scale':[-30000, 30000]
                              }
                }, 
                {'dataset':'zone',
                 'image_type':'map',
                 'attribute':{'indicator_name':'psrc.zone.travel_time_hbw_am_drive_alone_to_cbd',
                              'scale':[-10, 110]
                              }
                 },
                #{'dataset':'zone',
                 #'image_type':'map',
                 #'attribute':{'indicator_name':'psrc.zone.generalized_cost_weighted_access_to_employment_hbw_am_drive_alone',
                              #'scale':[-1000, 8000]
                              #}
                 #},

                {'dataset':'zone',
                 'image_type':'map',
                 'attribute':{'indicator_name':'psrc.zone.employment_within_20_minutes_travel_time_hbw_am_drive_alone',
#                              'scale':[-1000, 7000]                              
                              }
                 },

                
    ]
コード例 #5
0
config.single_year_requests = [
    # absolute value
    #
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name': 'urbansim.gridcell.population',
            'legend_scheme': {
                'range': [0, 10, 50, 100],
                'color': [
                    '#b2b2aea3', '#ccff00ff', '#ffcc00ff', '#ff6500ff',
                    '#ff0000ff'
                ]
            }

            #                             'scale':[-5000, 250000]
        }
    },
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name': 'urbansim.gridcell.number_of_jobs as employment',
            'legend_scheme': {
                'range': [0, 500, 5000, 25000],
                'color': [
                    '#b2b2aea3', '#ccff00ff', '#ffcc00ff', '#ff6500ff',
                    '#ff0000ff'
                ]
            }

            #                             'scale':[1000, 200000]
        }
    },
    #                {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name':'urbansim.faz.population',
    #                              'scale':[1, 60000]
    #                              }
    #                },
    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name':'urbansim.faz.number_of_jobs as employment',
    #                              'scale':[1, 60000]
    #                              }
    #                },

    #                 ##change value
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name': 'population_change(DDDD-00)',
            'operation': 'change',
            'arguments': ['urbansim.gridcell.population'],
            #                             'scale':[-5000, 250000]
        }
    },
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name':
            'psrc.gridcell.absolute_number_of_jobs_change as employment_change(DDDD-00)',
            'scale': [1000, 200000]
        }
    },
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name':
            'psrc.gridcell.percent_population_change as percent_population_change(DDDD-00)',
            #                             'scale':[1000, 200000]
        }
    },
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name':
            'psrc.gridcell.percent_number_of_jobs_change as percent_employment_change(DDDD-00)',
            #                              'scale':[-30000, 30000]
        }
    },

    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'population_change(DDDD-00)',
    #                              'operation':'change',
    #                              'arguments':['urbansim.faz.population'],
    #                              'scale':[-2000, 40000]
    #                              }
    #                },
    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'employment_change(DDDD-00)',
    #                              'operation':'change',
    #                              'arguments':['urbansim.faz.number_of_jobs'],
    #                              'scale':[-2000, 40000]
    #                              }
    #                },
    #
    #               {'dataset':'faz',
    #                'image_type':'map',
    #                'attribute':{'indicator_name': 'psrc.faz.percent_population_change as percent_population_change(DDDD-00)',
    ##                             'scale':[1000, 200000]
    #                             }
    #                },
    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.percent_number_of_jobs_change as percent_employment_change(DDDD-00)',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },

    ###difference (this scenario - baseline)
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name':
            'psrc.gridcell.absolute_population_difference_from_baseline as population_difference_from_baseline',
            'scale': [-30000, 30000]
        }
    },
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name':
            'psrc.gridcell.absolute_number_of_jobs_difference_from_baseline as employment_difference_from_baseline',
            #                              'scale':[-30000, 30000]
        }
    },
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name':
            'psrc.gridcell.percent_population_difference_from_baseline as percent_population_difference_from_baseline',
            'scale': [-30000, 30000]
        }
    },
    {
        'dataset': 'gridcell',
        'image_type': 'openev_map',
        'attribute': {
            'indicator_name':
            'psrc.gridcell.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline',
            #                              'scale':[-30000, 30000]
        }
    },

    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.absolute_population_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.percent_population_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
    #
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.absolute_number_of_jobs_difference_from_baseline as employment_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
    #               {'dataset':'faz',
    #                 'image_type':'map',
    #                 'attribute':{'indicator_name': 'psrc.faz.percent_number_of_jobs_difference_from_baseline as percent_employment_difference_from_baseline',
    ##                              'scale':[-30000, 30000]
    #                              }
    #                },
]