how is coastline measured