1 Intruduction

Today, coal is still the most widely used fuel type in energy production and industry. Mines, and especially underground mines, contain so many hazardous environments such as flammable, explosive, dusty, hot, wet, humid, and poorly lit. In addition, those working in these closed and narrow environments are at risk of collision, jamming, and material falling on them. Out of the other reasons of coal mine accidents are lack of risk evaluation, production pressure, not taking lessons from previous accidents, insufficiency in supervision (internal audit) services in mining businesses, ineffective supervision of public agencies, lack of vocational training, workplace safety culture, and psychosocial hazards [1]. Researches show that the majority of accidents occur in coal mines due to the reasons stated, and unfortunately injuries and deaths in mining workplaces, especially in developing countries, still take place at an alarming rate [2,3,4,5,6,7,8].

Every year, 350,000 workers in the world and 1200 workers in Turkey lose their lives because of occupational accidents. The ILO also estimates that 395 million workers worldwide sustained non-fatal work injuries [1, 9]. The numbers of workers’ deaths per 100,000 tonnes coal production in occupational accidents in Zonguldak Hard Coal Field are 2.83 in private and illegal pits and 2.03 in Turkish Hardcoal Authority [10]. Mining is one of the fields where deaths related to occupational accidents are most commonly seen in Turkey.

Underground mining workplaces are in the category of very dangerous workplaces according to the European Union regulations. European Social Policies, the judgment C-84/94 of 12 November 1996 of The European Court of Justice (ECJ), and the World Health Organization (WHO) gave the following definition for health. Health is the state of complete physical, mental and social well-being and not merely the absence of disease or infirmity. This definition emphasizes the psychosocial state of employees. Therefore, it is important to carry out risk analyses in terms of occupational health and safety and to take actions quickly. These analyses also include visual elements [3, 4, 11]. In addition, mining workplaces are always under high risk not only in terms of human and environmental factors but also the accidents that may occur as a result of these risks. These can cause serious physical and mental damage and even lead to death [12, 13].

ISO, the International Organization for Standardization based in central Geneva, has published a guide at an international level titled ISO 45003 “Psychological Health and Safety in the Workplace” in 2021, which provides guidance on psychosocial hazards and risks in the workplace under the ISO 45001 Occupational Health and Safety Management Systems Standard [14].

Psychosocial hazards are factors that cause more stress than the employee can cope with. According to ISO 45003, psychosocial risk is the likelihood of exposure to psychosocial hazards related to work and the severity of injury and health impairment that these hazards can cause (ISO 45003, p. 3, Article 1). A study conducted on 252 miners in Pakistan identified high job demands and pressure in the workplace as sources of psychosocial risks affecting musculoskeletal disorders [15].

In the assessment of psychosocial risks in the workplace, incidents are approached with reactive and proactive methods. The proactive approach aims to take precautions by anticipating accidents, dangers, and risks, and to eliminate or minimize the damage that may occur as a result [16,17,18]. But unfortunately, in risky applications, such as underground coal mining, there are often unpredictable hazards and events. It is not practical to pre-plan for every possible contingency underground, and therefore making proactive assessments challenging [18].

The aim of the reactive approach is generally based on the examination of the situation after the near-miss or accident and to take various measures as a result of this examination [3, 16,17,18]. As a result of post-event evaluations, harm to the employee, and loss of time, work, and equipment cannot be prevented in the first step. Hence, it is important to adopt a reactive approach to develop protective strategies and precautions for unexpected events or to prevent future incidents or accidents.

Managers in mine workplaces can use spatiotemporal GIS techniques to conduct reactive risk assessments based on criminology tactics and strategy. This allows for immediate intervention in disruptions to production planning, rapid responses to unexpected events, and urgent updates to risk management plans. By re-examining production planning, solutions to the problems can be found [19, 20].

The abovementioned situations require that accidents occurring in underground mine workplaces be examined with a reactive approach and their temporal dimension. Spatiotemporal GIS provides a powerful support mechanism for decision makers, especially in the public sector, in terms of safety [21,22,23,24,25,26]. Thus, smart technologies increase mining efficiency in underground coal mines and reduce workload and accidents [27,28,29]. By using space and time analysis and 3D visualization technology, the spatiotemporal model of mine accidents is strategically made understandable. Applications primarily require time-based modeling, analysis, and visualization of the geometric and/or semantic changes of geographical phenomena. For the temporal pattern, this situation should be evaluated in such a way for receiving answers in all its dimensions for such questions as “where and when did the change occur,” “what kind of change occurred,” “what is the rate of change,” “what was the changeover period,” “what is the duration of change,” “did the change occur in different places at the same time or at different times in the same place,” “why did it happen,” and “how did it happen” [21].

There are many important studies carried out with spatiotemporal GIS in different fields, which will serve as examples for the investigation of mining accidents. A list of some of the important ones is given in Table 1.

Table 1 Examples from spatiotemporal GIS studies in the literature

When Table 1 is examined, it is seen that the study contents are directed to four basic data groups that constitute the input to the Temporal GIS [46]. These are as follows:

  • Data on motion and moving objects, such as storm motion,

  • Discrete events such as trafic accidents,

  • Observations based on station or sensor records installed on them, such as a river,

  • Data on change, such as a forest fire

All given temporal GIS structures are applicable for mine transportation, mine accidents, mine ventilation, and mine fire. This study utilized the discrete events structure for mine accidents. Unfortunately, spatial and temporal analysis and GIS mapping techniques are not used for a reactive risk assessment regarding accidents in mine workplaces today. In this case, decision-making managers try to reach a conclusion by evaluating each event independently or making assumptions that do not go beyond predicting the relationship between events.

As with crime analysis, identifying the regions where accidents occur most frequently on maps and supporting these maps with some graphics and visual models can ensure that risk assessments always have a high success rate. This situation will increase efficiency by ensuring that employees and authorized personnel are assigned the correct number of tasks at the right time and place, and so accidents will be prevented. For this study, accidents occuring due to production dynamics in deep coal mining, one of the highly work class, are handled for the purpose of reactive risk assessment in the form of discrete events and data on spatial change; and therefore, a database has been created. The results are evaluated from the perspective of tactics and strategies adapted from criminological science.

2 Materials and Methods

2.1 Spatial and Temporal Data Infrastructure

Spatial-temporal analysis and modelling, it is generally considered to be a synthesis of GIS that defines space and models linked to dynamic processes in the natural environment [47,48,49,50]. In order to create spatial models, it is necessary to obtain data about the environment in which the processes ocur. The use of spatial models in temporal analyses allows the intelligibility of such analyses and the rapid reaction of the directors at the decision maker level to the assessment of risks.

In mining workplaces, a Mining Information System (MIS) can be used for spatial data infrastructure, which defines the underground environment well. In this study, an MIS was utilized, which was created with the microstation software infrastructure for the Turkish Hard Coal Enterprise operating in Zonguldak-Kozlu and is active. The subject was examined for the Kozlu region in the Zonguldak hard coal basin of Turkey, which is shown in Fig. 1. The analysis focused on four underground production panels operating at deep elevations between 2020 and 2022 in the region. Studies on production panels where accidents are analyzed, between depths average of – 300 m/ − 460 m sea level, coal seam thicknesses varying between 2.30 and 8.30 m, and an average inclination angle of 32°. The average daily production progress in the panels was 0.2 m. Space–time analyses were made by evaluating 227 accident data that occurred during production in different shifts together with 3D cartographic models derived from mine production maps (MPM).

Fig. 1
figure 1

Zonguldak-Kozlu Hard Coal Basin and application area of the study

The spatial data presented in Fig. 2 was obtained from MPMs and accident reports. Since MPMs are legal graphic documents reflecting the status of the mining enterprise from the past to the present, it is difficult to turn them into any other documents or change them. All current applications should be applied on these original graphic MPMs. Mining has been carried out in Zonguldak since 1895 and thousands of MPM have been produced. Underground topographical measurement data are first drawn on these graphic documents. Subsequently, the document is digitally scanned to obtain a raster image and vector data topology is created by raster to vector conversion (Fig. 3). Vector models are used for their 3D cartographic representations. This implimentation allows the MPMs to be used in the Mine Information System. In addition, documents of accident reports are also digitally scanned, and drawings and attribute data describing the accident and the scene are associated with the 3D cartographic models.

Fig. 2
figure 2

Spatiotemporal data structure of the implementation

Fig. 3
figure 3

Underground mine panels, galleries, and wells in the 3D cartographical model used for Zonguldak-Kozlu Basin in the implementation

Temporal data presented in Fig. 2 can be classified into two types of functional time: processing time (recording time) and valid time (accident time, event time). Transaction time indicates the date when the event is recorded in the database, while valid time indicates the time period during which the event exists. In temporal GIS applications that analyze discrete events, it is necessary to have both record types in the database, depending on the type of query, to avoid confusion. Events that involve both types of time are referred to as double time. Additionally, it is possible to refer to the time of measurement. When the exact time of an accident is unknown, it is estimated based on the time of field measurements taken after the accident [50].

For the accident analysis with spatiotemporal GIS, the MPM of the relevant production panels taken from MIS is given in Fig. 3. These vector models were converted from scanned images of the MPMs given in Fig. 4. In this cartographic model, accidents in the production panels are shown by placing them in their real positions. In the second stage of the study, there are prepared 3D cartographic models of the mine panel produced by the longwall method on the coal seam called “Acilik” in Fig. 5. 3D cartographic model of the panel that produces mines using the slicing longwall method on the extra thick coal seam called “Çay” is shown in Fig. 6. In the vector models of the panels, the production date is written on the monthly production area and displayed as parcel sectors. The width value of each parcel on the map, measured from the vector map, gives a monthly production velocity (meters/month). In addition, the depths of production carried out below sea level are recorded on the cartographic models. With these height values and the panel width values measured from the cartographic model, the slope of the parcel, which is the monthly production area on the panel, and the slope angle studied are determined.

Fig. 4
figure 4

The application’s spatial data structure involves converting MPM raster data to vector data. Scanned graphic map image of the “Acilik” coal seam taken from the MIS database and converted into a 3D vector model

Fig. 5
figure 5

3D cartoraphical vector models of longwall panels in coal seam called “Acilik”

Fig. 6
figure 6

3D cartoraphical vector models of slicing longwall panels of the 5th floor in coal seam called “Çay”

The first step for the accident data was to group the attribute data in the accident reports and transfer them to the database. In terms of ethics, the personal information of the employees was not used in the project, and their ID numbers were determined by tagging them to be used instead. In this way, the attribute data in each row has been made special and distinguishable for each event. Event date has been recorded in the database in accordance with ISO 8601:2004 standards [47, 51, 52], in “DD/MM/YYYY” format and event time in “hh:mm” format. The explanation of the data in the created attribute table is given in Table 2.

Table 2 Descriptions of the attribute data table imported from accident reports

2.2 Methods Used for Spatiotemporal Analysis

The process of converting spatial and temporal data into information using statistical methods is referred to as analysis in GIS applications [53,54,55]. Unlike querying from a database, new information is obtained as a result of analysis. Injury accidents that occurred during deep underground mining practices were examined in this study. Spatial and temporal data were obtained by using vector and temporal data regarding 3D cartographic models of production areas and accident reports. These data were evaluated with tactics and strategies of spatial and temporal GIS developed from criminological science. The use of criminology in spatial and temporal GIS stems from the overlap between crime analyses and analyses of events such as accidents, diseases, natural events, and fires that occur in a specific location. The mining accidents dealt with in this study are evaluated against the act of crime in the criminology.

Crime analysis in criminology is typically divided into two categories: tactical and strategic [56]. Tactical use involves analyzing crime data to prevent future incidents. The evaluation and analysis produced for tactical use aim to answer the questions of how, where, and when. The information produced for strategic use, based on the analyses, can be used by senior managers to make decisions and identify and prevent crime tendencies and types. When analyzing a crime, three basic applications are prominent [57].

  1. 1.

    Proactive approaches to early offense prevention.

  2. 2.

    Reactive approaches to elucidating existing offenses: Involve profiling crimes and criminals, including studying the methods used to commit crimes, the regions in which they occur, and the time periods in which they are committed. To clarify mine accidents, it is necessary to profile the accidents and victims, and analyze the time periods and practices involved.

  3. 3.

    Determination of crime tendencies: Economic, social, and cultural changes in society can lead to changes in the types of crimes committed over the long term. Determining the trends in mining accidents, including the type of accidents that occur during each shift and time period, will be effective in preventing future accidents.

In criminology, it is important to analyze and classify (by classification here is meant not the classification of the type of crime, but the method, time, or manner in which it was committed) events related to crimes. Failure to do so may lead decision-makers to assume that all events are independent of each other or to make unfounded assumptions [57]. Assessments made with crime analysis will always have a high success rate. Therefore, efficiency and productivity will increase by assigning the appropriate number of employees and authorized personnel at the right time and place to prevent crimes. The same applies to mining workplaces. The crime analysis phase involves the following steps.

  1. 1.

    Data collection methods may include mathematical data, observations, and questionnaires.

  2. 2.

    Data classification is a crucial stage in preparing data for analysis in a GIS structure. GIS applications enable relationship analyses between individuals, crime mapping, and statistical analyses using crime-related data.

  3. 3.

    Analysis involves evaluating classified data within the framework of the questions to be answered and associating complex information structures that may appear independent. The methods used for analysis vary depending on the nature of the question or the intended audience. Various methods can be employed in crime analysis, taking into consideration the intended audience. For instance, maps can be used to identify regions with the highest crime rates, and these maps can be accompanied by graphics and displayed in public areas for the benefit of the community. For this reason, Gottlieb (1998) and Gürer (2004) highlight two main issues in data analysis [57, 58]. Firstly, they draw attention of analyses that use mapping techniques to make geographical associations and regional evaluations. Secondly, they address the frequency of similar events, the determination of the similarities of the factors in the events, and the techniques that allow for different queries to be made from the available data.

  4. 4.

    Announcement of offenses to the relevant parties

  5. 5.

    Feedback and evaluation

In this study, the tactics and strategies used for steps of the analysis of injury accidents and developed for crime analyses in crimonology are given in Fig. 7, and subsections presented more details.

Fig. 7
figure 7

Method flowchart for this study

2.2.1 Kernel Density Tactical and Strategic Analysis

A probability density function is used for kernel density spatiotemporal analysis. It is the process of determining the density of points falling within a circle with a defined radius and the point density changing as it moves away from this source. With this analysis, useful results can be obtained in determining the places where accidents in underground mine workplaces are hot spots or where they occur frequently. A kernel function is used to properly fit a conical surface to each accident point vector data. Where Xi is n number of independent identically distributed population samples, the kernel estimator of the probability density function can be calculated from Eq. 1 [59].

$$\widehat{{f}_{h}}\left(x\right)= \frac{1}{nh} \sum_{i=1}^{n}K (\frac{x-{x}_{i}}{h})$$
(1)

In this equation, K is the kernel function and h is the window width, smoothing parameter, or bandwidth. The kernel function determines the weights of the estimation together with the bandwidth. Usually, K is a probability density function. Barrier affect can be used to determine a population-based core density in underground mining areas. For example, in a longwall production area, gate roads may or may not be taken into account. If not, a pixel-based density zone map is created by calculating a density value on the production area, whereas when you take gate roads into consideration, only the population density within the road (for example, sensor density) is calculated and mapped (Fig. 8).

Fig. 8
figure 8

Estimation of kernel density without a barrier (a) and with a barrier (b) in gate roads of a mine production area

2.2.2 Hot Spot Tactical and Strategic Analysis

Hotpoint spatiotemporal analysis is used to determine the intensity and distribution of events occurring in an area over a specific time period. This analysis method uses statistical methods to test whether events are random, which regions are more exposed to events, and whether events are spatially correlated with each other. Given a set of weighted features, Getis-Ord identifies statistically significant hot spots and cold spots for the spatial distribution of accidents with the help of the Gi* statistic. Equations 2, 3, and 4 provide the formula for the Getis-Ord statistic [40, 60].

$${Z(G}_{i}^{*})=\frac{{\sum }_{j=1}^{n}{w}_{i,j}-\overline{X }\sum_{j=1}^{n}{w}_{i,j}}{S \sqrt{\frac{\left[n\sum_{j=1}^{n}{w}_{i,j}^{2}-{\left(\sum_{j=1}^{n}{w}_{i,j}\right)}^{2}\right]}{n-1}}}$$
(2)
$$\overline{X }=\frac{\sum_{j=1}^{n}{x}_{j}}{n}$$
(3)
$$S=\sqrt{\frac{\sum_{j=1}^{n}{x}_{j}^{2}}{n}-{\left(\overline{x }\right)}^{2}}$$
(4)

In these equations, xj represents the attribute value for object j; wi, represents the spatial weight matrix between objects i and j, if the distance from a neighbor j to the feature i is within the distance, wij = 1; otherwise wij = 0; n represents the number of features. In pattern analyses such as hot spots, it is necessary to first define a null hypothesis. The pattern analysis assumes complete spatial randomness as the null hypothesis, for either the features themselves or the values associated with those features. The z scores and p values from the pattern analysis tools indicate whether you can reject the null hypothesis. The p value represents the probability that the observed spatial pattern was created by a random process when using pattern analysis tools. A small p value indicates that it is highly unlikely that the observed spatial pattern is the result of random processes, allowing for the rejection of the null hypothesis (Fig. 9).

Fig. 9
figure 9

z scores, p values, and confidence levels of normal distribution [61]

For instance, if the p value is low and the z score is high for the relationship between location and the number of injuries during the analysis of the pattern of injuries in accidents that occur in a hazardous mine production panel, it is assumed that the injuries are not random and that there is a problem originating from the location [61].

As can be seen from Fig. 9, the critical z score values for a 95% confidence level are − 1.96 and + 1.96. The uncorrected p value associated with a 95% confidence level is 0.05 (0.95 = 1 − p). For example, if the z score of accidents occurring in an underground mine production panel is 0.7 and falls between − 1.96 and + 1.96, the uncorrected p value will be greater than 0.05. Therefore, the null hypothesis cannot be rejected for the pattern of accidents observed within the panel because the pattern observed could be the outcome of random spatial processes.

The z score (in standardized normal distribution is the standard deviations value) returned by the Gi statistic for each feature in the dataset indicates the intensity of clustering of high or low values. High values (hot spots) and low values (cold spots) define statistically significant spatial clusters, and the z score and p value and confidence level are generated for each feature in the input feature class [62, 63]. The z scores and p values indicate the spatial clustering of features with high or low values. Hot spot analyses work by examining each feature within the context of its neighboring features. A feature with a high value may not necessarily be a statistically significant hot spot. For a feature to be considered a statistically significant hot spot, it must have a high value and be surrounded by other features with high values. The sum of a feature and its neighbors is compared proportionally to the sum of all features. If the local sum is significantly different from the expected local sum and this difference cannot be attributed to random chance, a statistically significant z score is obtained.

The results of Gi* statistics at different confidence levels provide outputs on which hot spot is more effective than the others [64]. When interpreting the results of the hot spot analysis at different confidence levels, a hot spot at a 99% confidence level means that it is a more risky place for events than a hot spot at 95% and 90% confidence levels. In this method, the application is implemented by selecting appropriate parameters in the point layer containing the locations of the events. The search window size, weighting factor, and the selected statistical test are considered parameters. The output map shows results colored with warm and cold colors according to the intensity of the events. In the output map display, points are specified as hot points, cold points, or neutral points (Fig. 10). Hot spots are regions where events are concentrated according to the application structure and are spatially correlated and do not occur randomly. (However, it cannot be said here whether the event is temporally random or not. The normal distribution structure should be examined with time series.) Cold points are areas where events are few or infrequent. Neutral points are regions where events are randomly distributed and statistically significant results do not occur.

Fig. 10
figure 10

Input data and output map of an example hot spot analysis

2.2.3 Buffer Point Density Tactical and Strategic Analysis

In buffer point density analysis, a spatial analysis is performed based on examining the distances of an event to other surrounding events [65]. In the process, a new buffer zone with a polygon feature is created at an impact radius (for instance, when considering the width of the excavation area in a mine production panel) around an event that is considered as a reference. This region is mapped as an occlidian buffer (on a 2D plane) or a geodesic buffer (on an ellipsoid, sphere, or geoid). In the underground mining production area, the geographical detail or event in the point vector data structure is accepted as the center and a circle of the desired radius is created.

The composite structures of the buffers formed when all the buffers within a certain radius of action in the circle type related to the point data of each event are resolved are evaluated as regions where events are concentrated and not random. In Fig. 11, the buffer point density for point data type events on a longwall type mining production panel, for example, points where the dust density is high on the panel, is shown as an example.

Fig. 11
figure 11

Distribution of spatial point data (a), buffer point density in an impact radius selected for spatial data (b), and display on the longwall type mine production panel (c)

2.2.4 80–20 Tactical and Strategic Analysis

The 80–20 (Crime Analysis and Safety) spatiotemporal analysis method was developed for GIS applications, benefiting from the science of criminology. The 80–20 rule, also known as the Pareto principle, is an inference that claims that 80% of the consequences of events arise from 20% of all possible causes for any event. In practice, cluster positions are determined by creating a graduated symbolological layer based on the spatial locations of the input features and the number of events. As a result of this analysis, a cumulative percentage area is calculated to identify event locations that occur disproportionately. The 80–20 rule is based on the principle that the vast majority of events occur in a small minority position. It is a theoretical concept that, according to criminology, 80% of events (e.g., crimes) occur in 20% of locations (e.g., crime scenes). GIS applications support this concept [63, 66].

2.2.5 Tactical and Strategic Analysis of the Number of Accident Incidents

The number of accident incidents method is the counting of events that occur in a certain place and time by enclosing them in a polygon. To do this, point data representing events are collected in polygons to create a new layer. Since a polygon (parcels) is the geometric shape of a longwall mine production panel at the end of a month on the mine production map (MPM), in this application, parcels on 3D cartographic models showing monthly production in underground hard coal production areas were used. Monthly progress rates may vary depending on production conditions. For this reason, production parcels in the form of polygons of different sizes are formed on the map according to the monthly production rate (Fig. 12). The number of events and event types occurring within these polygons can be separated. If focused on a specific type of event in the production areas of mining enterprises, this method can produce useful results in terms of risk management and safety.

Fig. 12
figure 12

Topographically measured monthly production polygons in a longwall panel in an underground production zone

2.2.6 Time Series and Space–Time Cube Tactical and Strategic Analyses

Time series analyses focus on purely temporal analysis of localized data. Geostatistics and spatial statistics deal mostly with the spatial description of data. These methods are extensions of time series methods in the spatial domain [66, 67]. Widely used conventional static GIS neglects the fundamental dynamics of natural processes over time. It does not account for important cross-correlations and causal dependencies in the combined space/time domain. Therefore, it significantly limits the practitioner’s understanding of the situation of interest. This situation reduces the predictability capabilities of GIS. In the common absolute conceptualization, for a three-dimensional ZGIS, two dimensions constitute the Euclidean space and one dimension constitutes the time orthogonal. In space and time, the concept of movement (or inactivity) is responsible for relating space and time.

Space and time help reveal the locations, situations, and histories of objects for meaningful explanations. It also helps develop models to make predictions through space and time relationships, empirical regressions, computational simulations, or machine learning algorithms. With time-sensitive layers, changes and trends of measurements over time can be determined. Thanks to temporal GIS models created with temporal analysis methods, the flow of events over time can be monitored and examined in detail, allowing temporal inferences to be made. The behavior of time series data for observations measured regularly over time is investigated with trend analysis methods. Trend analysis is performed with parametric t-test and non-parametric Mann–Kendall test. The t-test is a parametric statistical trend test that assumes the variable has a normal distribution. The Pearson correlation coefficient between observations and time is determined and calculated to test the null hypothesis according to the t-distribution. The Mann–Kendall test, on the other hand, makes no assumptions about the distribution of the variable. The Mann–Kendall test is a non-parametric test based on ranks used to evaluate the presence and significance of a trend, and is frequently used to detect trends in time series data [68]. Mann–Kendall statistics are used in temporal GIS. The Mann–Kendall test is based on the null hypothesis that the sampled data are independent and uniformly distributed. This means that there is no correlation in the trend between data points. The alternative hypothesis is that a trend exists in the data. Mann–Kendall statistics are also used for analyses performed by creating a space–time cube. The first step in the Mann–Kendall method is to calculate the variable S, which is the sum of the differences between the data points shown in Eq. 5.

$$S=\sum_{i=1}^{n-1}\sum_{j=i+1}^{n}Sgn({x}_{j}-{x}_{i})$$
(5)

In the equation, n is the number of points in the data group, Xi is the data value in time series i, and Xj is the data value in time series j. The sign of the (Xi – Xj) value is determined as in Eq. 6. When n ≥ 8, the S statistic is approximately normally distributed with mean and variance (corrected for ties) and is determined as in Eq. 7.

$$Sgn\left({x}_{j}-{x}_{i}\right)=\left\{\begin{array}{c}+1, {x}_{j}-{x}_{i}>0\\ 0, {x}_{j}-{x}_{i}=0\\ -1, {x}_{j}-{x}_{i}<0\end{array}\right.$$
(6)
$$V(S)=\frac{n\left(n-1\right)\left(2n+5\right)-{\sum }_{i=1}^{m}{t}_{i}({t}_{i}-1)(2{t}_{i}+5)}{18}$$
(7)

In Eq. 7, ti is the number of ties in time series i; n, number of data points; m, number of connected groups. A linked group is a set of sample data with the same value. In cases where the sample size is n > 10, the standard normal test statistic is calculated using the equation Zs. The normally distributed S statistic allows the calculation of the standardized test statistic value (Zs) and the Mann–Kendall test, and the Zs statistics are calculated as shown in Eq. 8.

$${Z}_{s}=\left\{\begin{array}{c}\frac{S-1}{\sqrt{V(S)}},S>0\\ 0,S=0\\ \frac{S+1}{\sqrt{V(S)}},S<0\end{array}\right.$$
(8)

The standardized Zs statistic has a normal distribution, with a mean of 0 and a variance of 1. A positive or negative value of Zs indicates increasing or decreasing trends respectively [29, 30]. The significance of the trend is determined by the z-test (see Fig. 8). For example, if the z score is greater than + 1.96 or less than − 1.96 at a 95% confidence level and the p value is less than 0.5, the trend is considered significant. Space–time cube and time series analysis applications are used as one of the most effective methods for dynamic visualization. The base of a space cube represents the location in space, and the height represents time. The space–time cube consists of trajectories and location time prisms that show movement between locations within a time period. The basis of space–time cube and temporal analysis is based on Mann–Kendall statistics. A series of points are collected in space time bins and summarized in a data structure. In this way, cubes of point input features are formed, with x and y dimensions representing space and t dimension representing time. A summary area statistic is calculated by counting the points in each compartment of the cube, and the trend of the time interval values at each location is measured using the Mann–Kendall statistics and the time series graph is plotted. In Fig. 13, the space–time cube model is given on the underground mine production map.

Fig. 13
figure 13

Examining the events occurring on the panels in an underground mine production area with space–time cubes and time series on the mine production map

Space–time cubes that are displayed on MPMs summarize events that occur in specific time periods in mine production panels. Events that occurred at different time are identified by their X,Y horizontal Euclidean coordinates and time dimension, and have been represented by red dots in Fig. 13. Mann–Kendall statistics are used to color the events on space–time cubes. If events occur in different locations during the same time period, they are summarized in red on the horizontal cubes. If events occur in the same location during different time periods, they are summarized in red on the vertical cubes.

3 Results and Discussion

In the spatiotemporal analysis, the distribution of injury levels was first examined, and the findings are given in Fig. 14 as a thematic map. According to this analysis, 72 of the accidents involved “calf and foot injuries” known as K6. The incidence of this type of accident in the total number of accidents is 33%. After K6, the highest injury levels are followed by K5 (hand and finger injuries) with 31%, K7 (head injuries) with 13%, K4 (shoulder and upper arm injuries) with 13%, K1 (neck and spine injuries) with 7%, K3 (hip and knee cap injuries) with 2%, and K2 (rib cage injuries) with 1%. It has been determined that 64% of a total of 227 accidents seen in Fig. 14 occur in injury types called K5 and K6. It is thought that this situation is caused by the equipment they work with and that they are inexperienced and/or have low education level in the use of this equipment. It may also be an indicator of carelessness in their use due to psychosocial problems.

Fig. 14
figure 14

Distribution map and graph of the injury types according to production areas

In total, 225 of the injured employees are primary, secondary and high school graduate workers, and two of them are university graduate technical personnel. The distribution analysis results of the injured according to the years of experience are given in Fig. 15. Based on this analysis, 74 workers, which accounts for 33% of all injured workers, have been working in this occupation for a decade.

Fig. 15
figure 15

Distribution map and graph of injured personnel by year of experience

The second place is seen as those who have been working for 11 years with 40 employees, and those who have been employed for 1 year with 39 employees in the third place. It cannot be said that the high rate of accidents among employees with 10 and 11 years of experience is due to their lack of adequate training. On the contrary, it is thought that this is an indication that there are some psychosocial problems in employees with 10 and 11 years of experience. It can be said that the situation of 32 new recruits and 39 people with 1 year of experience stems from the lack of training and experience regarding the working environment and method.

Production in the basin is carried out as three shifts. The first shift is a production shift, between 00:00 and 08:00. The second shift is a repair and preparation shift, between 08:00 and 16:00. The third shift is also a production shift, and it operates between 16:00 and 00:00. The spatiotemporal distribution of the accidents in these shifts is given in Fig. 16. In total, 37% of the accidents occurred during shift 2. Shift 3 is in the second place with 33%, and shift 1 is in the third place with 30%. The graphs of the accident numbers according to the hours in the working period of each shift and kernel density maps of accidents in shifts are presented in Fig. 17.

Fig. 16
figure 16

The distribution map and graph of accidents by shifts

Fig. 17
figure 17

Kernel density analysis and number of accidents in shifts

Considering the distribution of accidents according to hours, it is noticed that an increase in the number of accidents was detected in the first hours of the shift in shifts 1 and 3. In shift 2, the accident increase was determined at noon in the middle of the working period, and when the density analysis results are evaluated, it is understood that the accidents intensified in the Çay coal seam 2020 panel in the fifth slice of slicing longwall production. This situation may stem from reasons such as not being able to adapt to the place and work, loss of concentration, and lack of attention as employees start work in the evening and night hours in shift 1 and shift 3, and coinciding with an hour close to lunch in shift 2.

As another application of spatial and temporal analysis, the production rates in underground coal production areas with a dynamic structure were evaluated. The monthly production rates of 2019 and 2020 production panels in the two coal seams, which were determined by cartographic models in the study, are given in Table 3. In addition, a thematic vector map was produced as a result of the application made with the number of events analysis (Fig. 18). The increase in the number of accidents occurring in monthly production progress is shown in dark red on this map.

Table 3 Monthly production progress rates of underground mine panels in the implementation
Fig. 18
figure 18

Spatiotemporal analysis of the number of accidents per monthly production

When the map in Fig. 18 is examined, it is seen that the number of accidents increases in the months when the production rate increases (24.1, 16.6, 11.8, and 10.8 m/month) and when the monthly production rate is as low as 2 m/month. In terms of occupational safety, this implies that the number of accidents decreases in the months when production is carried out at normal speeds. It is thought that being in a struggle for reaching the planned speed in the months when the production decreases or the desire to get an extra premium at the end of the year when the production is intense dominates this situation and constitutes a psychosocial problem.

According to 80–20, a GIS analysis technique developed on a basic theory of criminology science, it is foreseen that 80% of crimes occur in 20% of the space. This spatial and temporal GIS analysis technique has also been used in the assessment of accidents in underground deep coal mines and the assessment results are presented in Fig. 19. Findings verify this theory. It is seen that nearly 80% (181 accidents) of the accidents occurred in the 2019 and 2020 panels of the Çay coal seam, where the slicing longwall method is applied, which constitutes about 20% of the space.

Fig. 19
figure 19

80–20 tactical and strategic analysis of accidents in spatial and temporal aspects

Optimized hot spot and buffer analyses were also performed to confirm this finding (Figs. 20, 21, and 22). Also, findings reveal the dangers of production of the fifth floor slice of the Çay coal seam, which is very risky and difficult to apply for the years 2019 and 2020, and the adaption difficulties of the employees to the production place and method.

Fig. 20
figure 20

Spatiotemporally optimized hot spot analysis of accidents

Fig. 21
figure 21

Graph of p and z scores in optimized hot spot analysis of accidents

Fig. 22
figure 22

Spatiotemporal 5-m diameter buffer analysis of accidents

Statistical results for the hot spot analysis of accidents are presented graphically in Fig. 21. In hotspot analysis, a low negative z score and a small p-value indicate spatial clustering of low values. The higher (or lower) the z score, the more intense the clustering. A z score close to 0 indicates no significant spatial clustering [61, 69]. The graph in Fig. 21 shows that in the production panels where accidents are examined, both low and high values exhibit spatial clustering. The null hypothesis is rejected and it is observed that accidents are clustered in a significant (unfavorable) spatial structures in production panels. Accidents the mine roadways in rock, it was determined that the p values were greater than 0.1 and the null hypothesis was accepted and these accidents were random.

3D space–time cube analyses on the temporal development of occupational accidents are possible. In this application, in order to evaluate occupational accidents, the occurrence dates of 227 accident data were taken into account, and space–time cubes were created for the accidents that occurred in a 2-year time period. While creating the space–time cube, monthly progress was taken into consideration as time steps and spatial–temporal density analyses of the accidents were made with the cubes created.

In Fig. 23, the cubes obtained according to the space–time analysis of the accidents are shown on the raster cartographic models. A summary field statistic was calculated by counting the points in each division of the space–time cubes in this application, and the trend of the time interval values at each location was measured using the Mann–Kendall statistic (red cubes obtained on the bars in Fig. 23).

Fig. 23
figure 23

3D space–time cube analysis of accidents in Çay and Acilik coal seam panels, and time series graph of accidents

When time series of the space–time cube analyses in Fig. 23 were examined, it was determined that the z scores of the normal distribution were between – 1.96 and 1.96 at the 95% statistical confidence level and the p value (probability) was < 0.05 (Fig. 24). These statistical values show that accidents occur randomly and individually, and are not a mass accident. However, when the time series graph in Fig. 23 is examined, it has been determined that production stopped during the COVID-19 pandemic period between March 30, 2020, and June 1, 2020; and therefore, there were no work accidents.

Fig. 24
figure 24

In time series graph of accidents in Çay and Acilik coal seam panels, the z scores indicate with 95% confidence that the accidents were of a random nature [61]

In the space–time cube analysis, accident densities that occurred in the same time period but in different places have been determined. In each production panel, it is seen that the accidents are concentrated in the time period close to the new year. Cubes, shortly before Christmas 2019, 2020, and 2021, turn red and create a hot spot. When the reason for the concentration of accidents in the time period coinciding with the end of the year is investigated, it is noticed that the company made an extra payment to its employees in exchange for targeted gross production on December 27, apart from the salary, called Annual Bonus Incentives. This creates a positive effect for employees as well as psychosocial pressure which leads to the risks.

4 Conclusion

Upon examining the findings of the hot spot analysis and kernel density analysis, it was determined that the sliced longwall production areas on the Çay coal seam create hot spots and density. In these analyses, low p values and high z scores indicate a higher incidence of accidents in these areas. This phenomenon has also been identified in the 80–20 analysis map, buffer point density analysis map, and accident frequency analysis maps. In particular, it is necessary to increase the level of in-service training of the personnel working in this field. According to the Mann–Kendall statistic, space–time and time series analysis was conducted for accidents that frequently occur in certain regions, and statistically significant hotspots (red cubes) were observed in the cubes during the time period corresponding to the new year. It is seen that the Annual Bonus Incentives, which are repeated every year and given before New Year’s, create a high demand for work and put pressure on work speed, so psychosocial risks for employees are increasing. It has been identified that as a result of this problems such as inability to concentrate sufficiently and loss of concentration arise during shifts at certain time intervals by kernel density and shift analyses.

It is observed that in shift 2, known as the Repair and Preparation shift between 08:00 and 16:00, work accidents intensify before noon, while in other shifts, the intensity is at the start of the shifts. It is thought that it will be beneficial for the prevention of accidents by warning the employees to be more careful before the lunch breaks in shift 2, and during the starting times of the other shifts. In addition, these issues should be particularly emphasized in the training provided within the scope of occupational health and safety services.

Similar results were achieved within the scope of the “Capacity Building of Occupational Physicians for the Assessment and Prevention of Psychosocial Risks in Mining Sector” project [70], which started on February 1, 2021, in the Zonguldak Hard Coal Basin with the financial support of the European Union and the Republic of Türkiye, aiming to contribute to the psychosocial safety of mine workers (Project number: EuropeAid/162207/ID/ACT/TR, Contract number: TREESP1.1OHSMS/P-03/13, Contract value: EUR 188686). In this examination conducted with occupational safety specialists and employees, it was determined that employees have to cope with stress because of the tasks they need to complete in order to receive their salaries and bonuses, which creates psychosocial risks [71].

According to the results obtained from temporal and spatial analyses, accidents may vary depending on the time and the working environment in underground workplaces. For safety reasons, it is necessary to make the spatiotemporal GIS applications continuous in these workplaces and to present the results obtained as a report to the decision-makers by making new analyses according to the changing working area and conditions.

When the results of the Incident Number Analysis application and the monthly production progress rates were compared, the relations between the monthly production progress on the panels and the intensity of the accidents were found. It is seen that there is an increase in the number of accidents at low and high speeds and a decrease in the number of accidents at average speed levels. For this reason, it is recommended that the monthly panel progress determined in the implementation project be carried out according to the procedure without changing the production rates.

With this study, it is also aimed to contribute to risk management and assessment studies with 3D cartographical mine model and spatiotemporal analyses to accidents. When the application is evaluated in terms of national and international mining safety legislations within the scope of occupational health and safety, it has been seen that the application of this kind of approach in accidents in deep coal mines is important. It is thought that with this approach, measures can be taken for unexpected events or for the prevention of future events or accidents, protective strategies can be developed, production can be replanned, and decision-makers can respond quickly to events.