refactor demo task for land_parcels (up to line 511)