|
@@ -40,7 +40,7 @@ int read_areas(struct Map_info *Map)
|
|
|
if ((options.option == O_COMPACT) || (options.option == O_FD) ||
|
|
|
(options.option == O_PERIMETER)) {
|
|
|
Vect_get_area_points(Map, area_num, Ppoints);
|
|
|
- perimeter = Vect_line_geodesic_length(Ppoints);
|
|
|
+ perimeter = Vect_get_area_perimeter(Map, area_num);
|
|
|
}
|
|
|
|
|
|
found = 0;
|