Skip to content

Migrate table 3.2 to a new Land Use table with simplified land uses #375

Description

@drorgivton

MAVAT's 3.2 which holds all the changes to the land uses has hundreds of different uses.

We want to bucket them under meaningful and simplified categories.

Pre-conditions: Table 3.2 is in the database.

  • Create a resource based on this mapping from MAVAT_land_use to MEIRIM_land_use https://docs.google.com/spreadsheets/d/1K-RyQJkjq3fxaqs5sHfOVkue2rNINOS-mwGRrA5M3d0/edit#gid=805926489

  • create a new db table, Plan_land_use, with the following fields:
    land_use (text), area (decimal) , is_new_value (boolean)

  • add A new backend method that returns the MAVAT_land_use with parameter of MEIRIM_land_use

  • add a new backend method that takes plan's table 3.2 and creates the Plan_land_use with it. The method should aggregate land-uses of the same meirim_land_use name

  • extend the crawler with the above method - on new and changed plans

  • create Plan_land_use for the existing plans

table_3_2_designations.csv

Metadata

Metadata

Assignees

Labels

PlansPlan search functionalityWIP

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions