Available Area Management

Available Area Management

Available Area Management

Objective

Source.Immo uses a priority-based logic to automatically determine the available area of a real estate listing based on the information provided by the real estate data source.

This logic allows the system to populate a missing available area using information from individual units, the building, or the land, depending on the available data and property category.

1. Order of Priority

The system applies the following rules in order:

  1. Available Area (AvailableArea): If this information is already provided, the existing value is preserved without modification.

  2. Unit Areas: If the available area is missing, the system attempts to calculate it using the individual units associated with the listing.

  3. Land or Building Area: If the available area cannot be determined from the units, the system uses either the land area or the building area, depending on the property category.

Once an available area has been determined, the subsequent rules are no longer applied.

2. Calculating Available Area from Units

When a listing does not have an available area specified, Source.Immo examines the individual units associated with the listing.

For each unit with a specified area, the system performs the following operations:

  • Adds the unit's area to the total available area.

  • Identifies the smallest area among the units included in the calculation.

  • Retains the unit of measurement from the first unit with a specified area.

If the total calculated area is greater than zero, the following values are assigned to the listing:

  • Available Area (AvailableArea): The sum of the areas of all units with a specified area.

  • Minimum Available Area (AvailableAreaMin): The smallest area among the units included in the calculation.

  • Unit of Measurement (AvailableAreaUnitCode): The unit of measurement associated with the first unit that has a specified area.

Example

A commercial listing includes three units:

UnitArea
Unit A1,200 sq. ft.
Unit B2,500 sq. ft.
Unit C1,800 sq. ft.

Source.Immo automatically determines:

  • Available Area: 5,500 sq. ft.

  • Minimum Available Area: 1,200 sq. ft.

  • Unit of Measurement: Square feet (sq. ft.)

Important: Units without a specified area are excluded from the calculation. The system does not attempt to estimate their area.

3. Using the Land Area

If no available area has been determined from the units, Source.Immo checks the listing's property category.

For listings categorized as Land (LOT), the system uses the land area when this information is available.

The values are assigned as follows:

  • Available Area: Land area.

  • Minimum Available Area: Same as the land area.

  • Unit of Measurement: Unit of measurement associated with the land area.

This rule applies exclusively to listings categorized as LOT.

4. Using the Building Area

For all listings with a category other than Land (LOT), Source.Immo uses the building area when the previous rules have not produced an available area.

The values are assigned as follows:

  • Available Area: Building area.

  • Minimum Available Area: Same as the building area.

  • Unit of Measurement: Unit of measurement associated with the building area.

This rule may apply to commercial, industrial, or residential listings, depending on the property categories supported by the real estate data source.

5. Summary of Priority Rules

PriorityConditionArea Used
1Available area is already specifiedOriginal value
2Available area is missing, but unit areas are providedSum of unit areas
3No area calculated and property category is LOTLand area
4No area calculated and property category is not LOTBuilding area

6. Special Cases and Limitations

Available Area Already Specified

When an available area is already provided in the listing data, Source.Immo does not recalculate it, even if area information is also available for individual units, the building, or the land.

Units Without an Area

Units without a specified area are excluded from the calculation. If none of the units has a usable area, the system proceeds to the next applicable rule.

Zero or Negative Total Unit Area

The calculated unit area is used only when the sum of all specified unit areas is strictly greater than zero.

Different Units of Measurement

The system retains the unit of measurement associated with the first unit that has a specified area. No automatic conversion between square feet and square metres is performed by this logic.

It is therefore important that all unit areas use consistent units of measurement.

No Available Area

If none of the available data sources can provide an area, Source.Immo leaves the available area unspecified.

Minimum Available Area

When the available area is calculated from individual units, the minimum available area corresponds to the smallest unit area included in the calculation.

When the available area comes from the land or building dimensions, the minimum available area is set to the same value as the available area.


Conclusion

Source.Immo always prioritizes the available area provided directly by the real estate data source.

When this information is missing, the system first attempts to calculate the available area using the individual units associated with the listing. As a fallback, it uses the land area or building area, depending on the property category.

This approach helps ensure that an available area can be determined for as many listings as possible while prioritizing the most specific information provided by the real estate data source.