Next Article in Journal
Shedding Light on Explainable AI: Insights, Challenges, and the Future of Infrastructure Management
Next Article in Special Issue
More Effort Is Needed to Mitigate Spatial Inequality in Rural China’s Healthcare Accessibility: Evidence from a High-Resolution, Multi-Scale and Time-Sensitive Assessment
Previous Article in Journal
Invariant Spatial Relation-Based Road Network Graphics Retrieval for GPS Art
Previous Article in Special Issue
Spatial and Social Equity in Access to Emergency Service Facilities—An Opportunity–Outcome Perspective
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

GeoJed: A Geospatial Grid Model for Data Acquisition and Spatial–Quality Assessment of Healthcare Services in Jeddah

Department of Information Systems, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 22254, Saudi Arabia
ISPRS Int. J. Geo-Inf. 2026, 15(3), 99; https://doi.org/10.3390/ijgi15030099
Submission received: 4 December 2025 / Revised: 2 February 2026 / Accepted: 21 February 2026 / Published: 27 February 2026

Abstract

The limited availability of structured and consistent health-facility information poses challenges for assessing service accessibility and quality in rapidly growing cities, particularly in the Middle East. Although digital map platforms provide extensive public data, such information is often fragmented and not directly suitable for systematic spatial analysis. This study presents GeoJed, a framework designed to automate the collection, organisation, and spatial analysis of healthcare facility information from digital map platforms. The framework is demonstrated through a case study in Jeddah, Saudi Arabia, highlighting its applicability for large-scale and reproducible spatial analysis of healthcare services. Using the resulting GeoJedHF dataset, a baseline analysis was conducted to illustrate the analytical value of the collected data, including the construction of an initial Patient Satisfaction Index (PSI) that integrates service availability with user-reported quality indicators derived from a multilingual sentiment model (XLM-RoBERTa). The results reveal clear spatial variations between districts in both facility distribution and perceived service quality. Overall, GeoJed establishes a reusable and extensible process for facility-level spatial data acquisition and analysis, with potential applications in accessibility assessment, urban planning, and service evaluation.

1. Introduction

Healthcare is an essential component of urban planning and directly affects quality of life [1]. As cities grow in size and population, the fair distribution of clinics and hospitals becomes critical to ensure that all residents can find and reach services [2]. Jeddah, one of the largest cities in Saudi Arabia, has experienced rapid urban expansion in recent decades [3]. This growth raises important questions about whether healthcare services are evenly distributed across the city and whether their quality meets the needs of residents [4,5]. Digital platforms such as Google Maps now provide rich, real-time data that allow these questions to be studied in new ways [6].
In this study, the term “healthcare facilities” refers to publicly accessible medical service providers, including hospitals, clinics, and specialised treatment centres, as represented in digital map platforms.
Previous studies of healthcare services often relied on government statistics or official reports [7]. While useful, such sources are sometimes outdated and may not capture all active facilities [8]. In addition, many studies have focused mainly on counting the number of facilities rather than assessing their quality from the perspective of patients [2]. Online user ratings and textual reviews provide a valuable new opportunity to measure both service availability and perceived quality, but very few studies have combined these sources with spatial analysis [9]. Therefore, the primary objective of this research is to establish an automated and reusable framework for collecting and organising spatial facility data, which can support a range of downstream analyses, including accessibility assessment and service quality evaluation, without being limited to a specific analytical model.
An initial experiment was conducted to test the suitability of online map data as a source for healthcare facilities in Jeddah. Queries were submitted to the Google Maps Places API using healthcare-related keywords, including hospitals, clinics, and health centres, as illustrated in Figure 1, in accordance with the terms of service (https://cloud.google.com/maps-platform/terms, accessed on 24 February 2026) and for academic research purposes.
This attempt revealed a critical limitation: each request returns a maximum of 60 results, regardless of how many facilities exist in the target area. As a result, a single query produces incomplete coverage and fails to reflect the true distribution of healthcare services in Jeddah. To address this limitation and achieve a high coverage, the city was divided into a grid system, with each cell used as the basis for location-specific data collection. This approach is utilized to produce a more representative dataset that better captures the geographic diversity of facilities across the city.
The main aim of this study is to develop and apply a method for collecting and analysing healthcare facility data in Jeddah using location-based digital sources. The focus is on building an automated and reusable framework (GeoJed) that divides the city into uniform grid cells and retrieves facility data from Google Maps to form an up-to-date dataset (GeoJedHF). Further, a baseline experiment was also conducted to demonstrate how the collected data can be utilised to develop an initial indicator for patient satisfaction, referred to as the Patient Satisfaction Index (PSI).
Based on the above, the study addressed the following research question:
RQ: How can an automated, grid-based approach be developed and applied to collect and analyse healthcare facility data for understanding spatial distribution in a large city like Jeddah? Accordingly, the study introduces the following contributions:
The rest of the paper is organised as follows. Section 2 reviews related work. Section 3 presents the methodology, including the grid framework, data collection, and the design of PSI. Section 4 reports the results and analysis. Section 5 provides the discussion and limitations. Section 6 concludes the paper and suggests directions for future research.

2. Related Studies

Several studies have explored large-scale spatial data collection using location-based digital sources such as Google Places and OpenStreetMap, demonstrating their potential for capturing urban points of interest and supporting data-driven spatial analysis [10,11,12]. In parallel, a substantial body of research has examined healthcare accessibility using spatial and GIS-based methods to identify inequalities in service provision and population coverage across different urban and regional contexts [13,14,15,16]. Other studies have focused on evaluating service quality through user-generated content and online reviews, showing that ratings and textual feedback from platforms such as Google Maps can serve as proxies for perceived quality and patient experience [6,17,18,19]. However, recent reviews indicate that existing approaches remain fragmented, with limited automation and weak integration between spatial data collection, accessibility assessment, and service quality evaluation, particularly in local and underrepresented contexts such as Middle Eastern cities [5,20,21].
Building on these works, some studies have explored different frameworks for automated spatial data collection and urban analytics using online sources such as Google Places and Google Popular Times. Wenceslau et al. [22] proposed a methodology for matching and comparing official governmental records with alternative sources such as Google Places to assess the reliability of unofficial urban data in Belo Horizonte, Brazil. Their approach demonstrated the feasibility of using web-based business information for urban analysis but still involved manual verification and data cleaning. More recently, Barrena-Herrán et al. [23] developed a fully automated pipeline to collect and analyse citywide activity patterns in a coastal city in northern Spain using Google Popular Times, integrating temporal and spatial dimensions through centroid-based aggregation. Both studies highlight progress toward automated data acquisition but primarily address general urban dynamics rather than public service analytics. The proposed GeoJed framework extends these efforts by introducing a fully automated, grid-based system specifically designed for collecting healthcare-related spatial data in Jeddah. Through its component, GeoJedHF, the framework generates a reproducible dataset that captures healthcare facility locations and attributes directly from digital sources, which minimises manual intervention and duplication. Unlike centroid-based or partially sampled approaches, GeoJed systematically queries all grid cells, ensuring full spatial coverage while reducing manual data preparation and post hoc data matching.
Within healthcare, Aunimo et al. [6] applied sentiment analysis to over 55,000 Google Maps reviews of primary healthcare centres in Finland and a coastal region of Spain, examining public sentiment. Their findings highlighted the value of online reviews as indicators of perceived service quality and patient experience. Similarly, Laghbi and Al Dhoayan [9] analysed 8084 reviews of pharmacies in Riyadh, Saudi Arabia, using sentiment analysis and statistical models to explore public perception and satisfaction. Another work has also explored the integration of sentiment analysis with spatial modelling at multiple scales, highlighting the importance of scale effects in interpreting review-based indicators [24]. While both studies successfully utilised API-based data to assess healthcare quality and patient sentiment, they lacked spatial integration and focused primarily on perception rather than geographic coverage. In contrast, the GeoJed framework couples automated spatial data collection with user-created content to enable experiments on patient satisfaction. The resulting GeoJedHF dataset serves as a foundation for computing a preliminary satisfaction indicator, demonstrating how collected data can later support broader measures of healthcare quality.
Several studies have examined healthcare accessibility and spatial planning within the city of Jeddah, highlighting persistent inequalities in service distribution. Murad [25] was among the first to apply GIS tools for evaluating hospital service areas, demonstrating how spatial analysis could identify underserved districts based on travel-time zones and patient demand. Later, Murad [5] expanded this approach by developing a comprehensive geodatabase that integrated health facility locations, population data, and transportation networks, using network analysis to delineate catchment areas and assess spatial coverage. Khashoggi and Murad [4,26] further advanced this line of research by employing the Two-Step Floating Catchment Area (2SFCA) method to measure healthcare accessibility across Jeddah, revealing a clear imbalance between central and peripheral districts. Complementary work by Murad and Khashoggi [27] utilised GIS-based hotspot analysis to visualise the spatial distribution of chronic diseases such as diabetes and asthma, thereby connecting service distribution with population health outcomes. Collectively, these studies established a strong foundation for spatial healthcare research in Jeddah, yet they all relied on static, government-sourced datasets and manual GIS operations. None of them incorporated automated, API-driven data collection or dynamic updates. This limitation emphasises the need for a new framework that can continuously retrieve, process, and analyse healthcare-related data using digital and crowd-sourced sources—a gap directly addressed by the GeoJed framework introduced in this study.
This study makes three key advancements compared with prior research:
  • Complete automation in spatial data collection. Previous studies depended on static and manually curated data from government sources. GeoJed introduces a fully automated, reproducible, grid-based pipeline for data acquisition and processing using Google Maps APIs.
  • Focused application to healthcare services. Earlier GIS-based analyses in Jeddah primarily examined accessibility or disease mapping. This research specifically targets healthcare facilities, establishing the GeoJedHF dataset that consolidates spatial and descriptive information into a structured and reusable form.
  • Dynamic and extensible local framework. Unlike static one-time analyses, the proposed framework enables continuous data updates and can be extended to other service domains or replicated across different Saudi or international cities, offering a scalable foundation for future spatial data analytics.

3. Methodology

Figure 2 presents a high-level overview of the GeoJed methodology and its GeoJedHF component prior to the detailed description of each processing stage.
An initial trial showed that direct queries returned only partial coverage of healthcare facilities in Jeddah, as illustrated in Figure 1. This limitation motivated the introduction of a grid-based spatial framework to ensure more comprehensive data collection across the city.
The idea was to divide Jeddah into a set of uniform square cells, with each cell treated as a separate unit for data retrieval. By issuing location-specific queries centred on each cell, the process was able to cover both central and peripheral areas, resulting in a broader and more representative dataset of healthcare facilities.
The following subsection describe the construction of this grid, the method of labelling each cell, and the calculation of centroids, which later served as the query points for data collection.

3.1. Grid Framework Construction

To solve the problem of limited results in the initial trial and to ensure wider coverage, Jeddah was divided into a uniform grid system. Each grid cell was defined by its latitude and longitude boundaries and treated as an independent unit for data retrieval. By running separate queries for each cell, the process captured a more complete and spatially diverse set of healthcare facilities across the city.
This section explains how the grid was built and prepared for later analysis. The process had three main parts:
  • Jeddah Boundary Extraction: Identifying and extracting the administrative boundary of Jeddah from open-access GeoJSON data.
  • Grid Construction and Labelling: Creating a uniform set of square cells covering the study area, keeping only those intersecting with the city boundary, and assigning unique identifiers to each cell.
  • Centroid Calculation: Computing the geographic centre of each grid cell to use as the input point for later queries.
The following subsections describe each of these steps in detail.

3.1.1. Jeddah Boundary Extraction

The first step was to identify the administrative boundary of Jeddah, which provided the base shape for the grid framework. For this purpose, the SAU-ADM2 geoBoundaries (https://www.geoboundaries.org/, accessed on 24 February 2026) was used. This dataset contains polygons for all second-level administrative divisions in Saudi Arabia, including governorates and major cities. Details on how this boundary was obtained are provided in Appendices Appendix A and Appendix B, and a summary of the extraction process is illustrated in Figure 3. First, the file with ADM2 polygons was loaded and the unique regions were inspected. Next, a filtering step selected the entries for Jeddah. Finally, the polygon for Jeddah was isolated for later analysis.
The extracted boundary is stored in the geometry field of the GeoJSON file, which contains ordered pairs of longitude and latitude. A short example is shown in Listing 1. These coordinates produced the map in Figure 4, which correctly represents the administrative extent of Jeddah.
Listing 1. Excerpt of a GeoJSON file showing Jeddah’s boundary.
"geometry": {
    "coordinates": [
         [38.9384, 21.9712]  ,   [39.1964, 21.9376],
         [39.3682, 21.2052]  ,  …  ,   [38.9384, 21.9712]]}

3.1.2. Grid Construction and Labelling

The grid was built by first defining a bounding box B around Jeddah’s boundary. This box was calculated directly from the extracted city polygon. Formally, it is written as:
B = [ x min , y min , x max , y max ] ,
where x min and x max are the minimum and maximum longitude, and y min and y max are the minimum and maximum latitude.
Table 1 lists the coordinates of the bounding box for Jeddah. Each row shows one of the four corner points.
This bounding box was then divided into a uniform grid. Each grid cell was defined as:
C i j = [ x i , y j , x i + s , y j + s ] , i , j Z ,
where
x i = x min + i · s , y j = y min + j · s ,
The indices i and j show the column and row positions of the grid. The fixed side length of each cell is defined as
s = 0.1 ° .
This grid resolution was selected as a practical trade-off between spatial granularity and API query constraints. Smaller cells would substantially increase the number of queries and amplify redundancy due to overlapping search radii, whereas larger cells could reduce spatial detail and risk incomplete coverage because of Google Places API result limits. Therefore, the chosen cell size ensures full city coverage with manageable computational overhead. This choice is operational rather than optimal, and alternative grid resolutions may be explored in future extensions of the GeoJed framework.
The subdivision started at the south-west corner ( x min , y min ) and moved east and north by s until the north-east corner ( x max , y max ) was reached. At first, this covered the whole bounding box B, but a spatial filter kept only those cells that intersected with the actual boundary of Jeddah. This step ensured that the final grid stayed inside the city’s limits.
The set of valid cells can be written as:
G r i d = { C i j C i j P } ,
where C i j is a grid cell, P is the polygon of Jeddah’s boundary, and ∩ means geometric intersection. This means that only the cells overlapping with P are included in the final grid.
Figure 5 shows this result, with the bounding box B in purple and the retained grid cells in red on top of Jeddah’s boundary.
To make the grid clear and consistent, each retained grid cell was given two identifiers. The first was a sequential cell number, which simply numbered the cells (e.g., cell1, cell2, …). The second was a structured grid_id, which encoded the position of the cell by its row index and column index. The row index increased from south to north, and the column index increased from west to east. For example, the identifier JED-R10-C1 refers to the cell located in row 10 and column 1, as illustrated in Figure 6. The numbers inside the cells are the sequential cell number, while the labels along the edges indicate the row and column indices.

3.1.3. Centroid Calculation

Each retained cell C i j needed one representative point for data queries. Since queries require only a single latitude–longitude coordinate, the centroid of each cell was chosen.
Here we distinguish between the grid cell C i j , which is a square polygon defined by its four corners, and the centroid c i j , which is the point at the geometric centre of C i j . The centroid is calculated as:
c i j = x i + s 2 , y j + s 2 ,
where ( x i , y j ) is the south-west corner of the cell, and s is the side length.
By definition, c i j is equally distant from all four corners. Each centroid was stored along with the coordinates of its cell and later used as the query location for retrieving healthcare facilities.
Figure 7 shows how the centroid c i j is derived from the bounding box of C i j and used as the representative query point.

3.2. GeoJedHF: Data Collection

This part focused on collecting information about healthcare facilities across the predefined grid covering Jeddah. To ensure full coverage, the data collection process had four main components:
The following subsections describe each component in detail.

3.2.1. Search Radius

To make sure all facilities inside each grid cell were captured, the search area was defined as a circular buffer centred on the cell centroid. Each cell had a side length of s = 0.1 ° , which equals about 11.13 km in latitude (since one degree is about 111.32 km [28]). As shown in Figure 8, the distance from the centroid to an edge is half of s (about 5.566 km), and the distance to a corner is about 5.566 2 + 5.566 2 7.87  km.
A radius of 8 km was therefore chosen. This value is slightly larger than the diagonal distance, which ensured that the circle covered the full square cell and all of its corners.
Table 2 shows these geometric measures.
Figure 8 shows this relationship, where the blue square is a sample grid cell and the red dashed circle is the 8 km search radius. The circle fully contains the cell, making sure no healthcare facility was missed.

3.2.2. Facility Data Retrieval

The Google Nearby Search API was then used to collect data on healthcare facilities such as clinics, hospitals, and health centres. Each request to the API was built with four parameters: centroid latitude, centroid longitude, radius, and a healthcare-related keyword.
To maximise results, a pagination mechanism was used. The API returns up to three pages (about 20 results per page), so as many as 60 facilities could be retrieved for a single grid cell. This returned several attributes for each facility. Implementation details of the API, including request construction, pagination, and example responses, are provided in Appendix C.
Figure 9 shows the process and the attributes. The key fields are:
  • name: facility name;
  • lat, lon: geographic coordinates;
  • rating: average user rating (1–5 scale);
  • user_ratings_total: number of ratings submitted;
  • place_id, reference: unique identifiers;
  • types: classification (e.g., hospital, clinic);
  • vicinity: short description of location;
  • MC_id: an internally assigned identifier introduced in this study to uniquely index facilities within the GeoJedHF dataset.
Each facility was linked back to its grid cell by adding the identifiers cell_number and grid_id. This way, every entry in the dataset could be traced to its spatial unit in the grid framework.

3.2.3. Review Retrieval

In addition to these attributes, user reviews were collected using the Google Place Details API. This step added qualitative feedback to complement the numerical indicators (ratings and counts).
Each request to the Place Details API required the place_id of a facility. The API returned up to five reviews per facility, usually the most recent or most relevant.
The reviews were stored in a separate field of the dataset, linked to each facility using its place_id, cell_number, and grid_id. These textual reviews were utilised in two subsequent analyses: (i) sentiment analysis using natural language processing (NLP) (see Section 3.2.5), and (ii) incorporation into the Patient Satisfaction Index (PSI) baseline computation (see Section 3.3).

3.2.4. Data Cleaning and Preprocessing

After the retrieval step, the dataset contained 583 entries of healthcare facilities across 55 grid cells. Since some facilities appeared more than once, duplicate records were removed by checking both the facility name and geographic coordinates. After this step, 295 unique facilities were kept.
Next, the dataset was checked for valid geographic coordinates and unique place_id values. No invalid entries were found. Five facilities did not have ratings or review counts, but they were still included as valid healthcare facilities that had not yet received user feedback. At this point, the dataset still contained 295 entries.
The types field provided by the API included a variety of labels, some of which were not related to healthcare (such as beauty_salon, store, or spa). To make the dataset consistent, filtering was applied to keep only medical facilities. Entries were kept if their types field included at least one of the following: hospital, dentist, or physiotherapist. Other categories, such as pharmacies, were excluded.
After filtering, the dataset was reduced to 216 valid healthcare facilities. This cleaned dataset was then used as the final version of GeoJedHF for later analysis.

3.2.5. Sentiment Analysis of Reviews

To include user opinions in the analysis, the textual reviews collected through the Place Details API were classified by sentiment. The goal was to see whether each review expressed a positive, neutral, or negative view of the healthcare facility.
For this task, the twitter-xlm-roberta-base-sentiment (https://huggingface.co/cardiffnlp/twitter-xlm-roberta-base-sentiment, accessed on 24 February 2026) (a multilingual transformer-based model) was used. This model was trained on a large dataset of tweets in multiple languages, including Arabic and English. It has been shown to perform well on short texts that often mix languages, making it suitable for user reviews. Other studies have also confirmed the effectiveness of this type of multilingual model for sentiment tasks [29,30,31].
Before classification, the review texts were normalised. Empty or missing reviews were marked as neutral. The model was applied in batches, and very long texts were shortened to 512 tokens (the model’s maximum input length).
For each review, the classifier produced both a sentiment label (positive, neutral, or negative) and a confidence score. The results for all reviews of a facility were then aggregated to compute proportions of each sentiment category.
Formally, for a facility f, the proportion of sentiment k was:
p k ( f ) = # reviews of type k for f # total reviews for f , k { positive , neutral , negative } .
Figure 10 shows the workflow of this process: starting from review retrieval, passing through classification, and ending with sentiment aggregation at the facility level.

3.3. PSI Baseline

The Patient Satisfaction Index (PSI) was created as a metric to capture patient-perceived quality of healthcare services in Jeddah. It combines two components: the normalised rating score, where each facility’s star rating on the 1–5 scale was rescaled to the interval [ 0 , 1 ] , and the positive sentiment proportion p ˜ , representing the share of reviews classified as positive in the sentiment analysis step.
For a given facility f, the raw rating r ( f ) was transformed as:
r ˜ ( f ) = r ( f ) 1 4 ,
where r ( f ) is the raw rating (1–5) and r ˜ ( f ) is the normalised rating in [ 0 , 1 ] .
The sentiment component was already expressed as a proportion between 0 and 1, so no further scaling was required.
The PSI for facility f was then calculated as a weighted sum of the two components:
P S I ( f ) = α · r ˜ ( f ) + ( 1 α ) · p ˜ ( f ) ,
where α [ 0 , 1 ] controls the relative weight assigned to the normalised rating compared with the sentiment proportion.
The weighting parameter α was not intended to represent an optimised or definitive importance between ratings and sentiment. Instead, the selected values α { 0.3 , 0.5 , 0.7 } were used to conduct a sensitivity analysis that examines the robustness of PSI-based rankings under different weighting assumptions. Lower values of α emphasise user sentiment, whereas higher values assign greater importance to numerical ratings. This approach allows the stability of facility rankings to be assessed without introducing additional assumptions or external weighting schemes. More advanced objective weighting methods, such as Analytic Hierarchy Process or entropy-based weighting, require expert judgement or auxiliary variables and are therefore left for future extensions of the PSI framework.
When facilities had the same PSI value, the number of submitted reviews was used to give priority to facilities with more feedback.
To test how stable the PSI rankings were, the selected three values of α were used. For each value, facilities were ranked, and the Top-N and Bottom-N facilities were compared. The consistency of these lists across values of α was measured with the Jaccard similarity index:
J ( A , B ) = | A B | | A B | ,
where A and B are two sets of facilities.
The results of this robustness test are presented later in the results section.

4. Results and Analysis

4.1. Grid Framework

To enable spatial analysis, the study area of Jeddah was divided into a uniform grid framework. A total of 55 cells were created, each with fixed dimensions of 0.1 ° × 0.1 ° , ensuring consistency across the study area. Each cell was assigned a unique identifier (cell_number) along with a structured grid label (grid_id) denoting its row and column position. This framework provided the spatial basis for linking healthcare facilities to specific geographic units.
Table 3 presents a sample of the resulting GeoJed, including their unique identifiers and bounding coordinates. While the grid was designed to cover the entire administrative boundary of Jeddah, it is important to note that several peripheral cells extend partially beyond the official boundary. As shown earlier in Figure 5, facilities were retrieved using the centroid of each grid cell with an approximate radius of 8 km. Consequently, some centres located just outside the administrative boundary of Jeddah were included in the dataset, as they fell within the coverage of the corresponding cell centroid.

4.2. GeoJedHF Retrieval

Healthcare facilities were retrieved using an 8 km radius query around each grid centroid, yielding a combined total of 583 entries. Because the search areas of neighbouring cells overlapped, many facilities were returned more than once. After systematic deduplication based on facility name and geographic coordinates, the dataset was reduced to 295 unique healthcare facilities. This refined dataset formed the foundation for subsequent spatial and quality analyses.
The retrieved attributes (described earlier in Section 3.2.2) were linked to their corresponding grid cells. Table 4 provides an example record from the GeoJedHF dataset after integration with the grid framework.

4.3. Spatial Distribution of Retrieved Facilities

As shown in Figure 11, the retained healthcare facilities revealed a highly skewed spatial pattern: a small number of cells concentrate most services, whereas many cells contain few (or zero) facilities.
Figure 12 shows the Top-15 grid cells by facility count. The leading cell (JED-R6-C3) hosts 30 facilities, followed by JED-R7-C2 (28), JED-R7-C3 (27), and JED-R8-C2 (25). Beyond these peaks, counts drop quickly; most other cells in the Top-15 host fewer than 20 facilities each, and many cells have ≤5 facilities.
The overall spatial structure (Figure 13) maps the number of facilities per cell across the Jeddah grid. A clear cluster emerges along the central urban corridor and adjacent coastal strip (roughly longitudes 39.10–39.30 and latitudes 21.50–21.65), while several northern and southern peripheral cells are sparsely populated or empty. This pattern indicates a potential oversupply within the urban core contrasted with underserved peripheral districts.

4.4. Review Retrieval

To enrich the dataset with qualitative user feedback, reviews were retrieved for each facility, up to five recent or relevant reviews per facility. A total of 216 healthcare facilities were queried, yielding 1027 reviews. Of these, 858 were non-empty textual comments, while the remainder were ratings without accompanying text. Almost all facilities had at least one review, with 93.1% returning the maximum of five reviews. The non-empty reviews contained on average 27 words. Most reviews were in Arabic (83.1%), with the remainder (16.9%) in non-Arabic languages.
To illustrate the nature of these reviews, consider three representative cases (translated from Arabic comments).
A very short entry such as “Closed centre” was automatically classified as neutral by the sentiment model, even though the user assigned a rating of 1; here, the numerical score provides the more reliable signal. Another example shows a long negative comment—“Poor service at reception …with unprofessional staff”—which received a star rating of 3. This illustrates that sentiment analysis adds value by aligning the text with the expressed dissatisfaction rather than the middling score alone. Finally, explicitly positive feedback such as “Respectable centre with good service, and the specialist was highly professional” came with a rating of 5, where the agreement between text and score was straightforward and sufficient. These examples highlight the complementarity between numeric ratings and sentiment classification.

4.5. Service Quality Analysis

4.5.1. Ratings Analysis

Across the 216 facilities, only one facility lacked a rating entry. The overall distribution shown in Figure 14 is skewed toward higher scores of 3.0 to 5.0. The unweighted mean rating is 3.96. When weighting each facility’s rating r by its number of user ratings n using ( r × n ) / n , the overall score increases to 4.11. Figure 15 shows that most facilities cluster in the 3–5 range with fewer than 1000 reviews; a few centres attract thousands of reviews while maintaining high averages.

4.5.2. Review Sentiment Analysis

Each review was automatically labelled as positive, neutral, or negative using the multilingual transformer model xlm-roberta-base-sentiment. This model has been shown to perform well on short texts that often mix languages, making it suitable for user reviews. The facility-level proportions were then computed. Most facilities were dominated by positive sentiment (in many cases > 70%), but some examples showed mixed or negative sentiment.
The labelling step served as a baseline for constructing the index PSI, and while effective, its reliability requires further evaluation. Although previous studies have confirmed the effectiveness of this type of multilingual model for sentiment tasks [29,30,31], further work is needed to refine and evaluate the model in order to determine the extent to which such automatic sentiment predictions can be relied upon in this dataset. Figure 16 illustrates the sentiment composition across facilities.

4.6. PSI Baseline

The PSI was applied as a composite index to evaluate healthcare facilities across Jeddah. It integrates two complementary components: the normalised facility rating r ˜ and the proportion of positive reviews p ˜ obtained from sentiment classification. These two dimensions together provide a combined view of numerical ratings and qualitative patient feedback, enabling comparative analysis of facilities.
The PSI was computed using the formulation introduced earlier (see Section 3.3). For this study, α { 0.3 , 0.5 , 0.7 } was applied to control the weighting between ratings and sentiment. Lower values of α give greater emphasis to patient opinions, while higher values favour star ratings. Facilities with identical PSI values were ranked using the number of submitted reviews (user_ratings_total) as a tie-breaker.

4.6.1. Facility Rankings by PSI

Table 5 presents the Top-10 facilities (upper panel) and the Bottom-10 facilities (lower panel) for α = 0.5 . Entries with no reviews and no rating were excluded from subsequent analyses.

4.6.2. Stability Analysis

To assess robustness, we compared Top and Bottom facility rankings across α values using the Jaccard index (see Section 3.3). Figure 17 illustrates the overlaps between Top-10/Bottom-10 and Top-50/Bottom-50 lists. The Top-10 facilities remained identical across all α values (Jaccard = 1.00). For the Top-50, the overlap decreased as α diverged (0.79 for 0.3 vs. 0.5; 0.67 for 0.5 vs. 0.7; 0.52 for 0.3 vs. 0.7). Bottom-ranked facilities were more sensitive to weighting changes, with Jaccard dropping to 0.43, reflecting their greater dependence on small variations in ratings and review counts.
Rank trajectories provide another view of stability. Figure 18 shows that the highest-ranked facilities remain stable across α values, while after the top ranks some facilities show minor changes, and towards the lower end of the Top-50 the variations become more evident. In contrast, Figure 19 shows greater fluctuation among Bottom-50 facilities, indicating higher sensitivity to weighting.

4.6.3. Spatial Distribution of PSI

To analyse spatial variation in patient-perceived healthcare quality, PSI values were examined across grid cells. Two complementary views are presented: boxplots showing the distribution of PSI per facility within each grid, and a grid-level map providing an overall spatial perspective of Jeddah.
Figure 20, Figure 21 and Figure 22 present boxplots of PSI per facility within each grid cell for α . The blue dots represent the PSI values of individual facilities. The red diamonds denote cell means, and the dashed green line marks the global mean. Only populated grid cells containing at least one evaluated facility are shown. The global mean increases gradually from 0.62 ( α = 0.3 ) to 0.66 ( α = 0.5 ) and 0.69 ( α = 0.7 ).
To provide a spatial overview, Figure 23 shows the grid-level PSI distribution for α = 0.5 . Results for α = 0.3 and α = 0.7 showed similar patterns and are provided in Appendix D. The map highlights consistently higher PSI scores in central and coastal areas, while peripheral grids show lower values. Cells without any evaluated facilities were excluded from the analysis to avoid bias from empty values.

5. Discussion and Limitations

The results show that the grid-based method proved effective in collecting and linking healthcare facility data across Jeddah. The city was divided into 55 grid cells that covered the full area and ensured clear and systematic data organisation. After removing duplicate entries, 295 unique facilities were identified, and 216 of them had user reviews suitable for analysis.
Most facilities were located along the central and coastal areas of the city, while outer areas had fewer or no services. This shows that central parts of Jeddah are better served than the edges. In terms of quality, most ratings and reviews were positive, which means that users generally expressed satisfaction. When these two measures were combined in the Patient Satisfaction Index (PSI), the highest-ranked facilities stayed the same even when the weighting changed, showing stable top results. The lowest-ranked facilities, however, were more sensitive to small changes.
Within the scope of the current analysis, GeoJed is used primarily as an automated framework for spatial data collection and organisation rather than a full demand–supply accessibility model. Accordingly, the absence of population-based indicators (e.g., per-capita availability or population density) constitutes a limitation of the current analysis and should be addressed in future extensions.
The reliance on Google Maps data may introduce biases related to user activity levels and commercial visibility, which can affect the representativeness of reviews across different areas.
Building on this, the main contribution of this study is the automated system for collecting data. The method turns a city boundary into cells and uses the centre of each cell as a search point. This design solves the API result limits and makes it easy to repeat the process for other cities or at later times. The same method can also be used to collect other kinds of urban data, such as restaurants, schools, or shops, by only changing the search keywords.
The dataset GeoJedHF can also be updated regularly. Because each facility has a fixed ID (place_id), the process can be repeated every month or year to find new facilities, closed ones, or changes in ratings. This makes it possible to track how healthcare quality changes over time. On the other hand, the PSI is only a starting point; it can be improved by checking some reviews manually, using better Arabic sentiment models, and adding new factors like service cost, accessibility, or waiting time.
From a planning view, the spatial patterns and PSI results can help local authorities find underserved areas, plan where to open new facilities, and compare the quality of services across the city. The same grid method can also help businesses and investors understand where services are lacking and where new opportunities might exist.
In short, this research introduces an automated and flexible method that can collect, analyse, and visualise healthcare data for any city using open digital sources.
Although the study achieved its goals, some limitations should be noted. First, the Google Places API has strict limits: each search returns up to 60 results and up to five reviews per place. This means that smaller or less-known facilities may not appear in the data. Some reviews were very short, which may reduce the accuracy of the sentiment model. Further work could include labeling the data and conduct comparative studies to check advanced and more recent models.
Second, the grid cells were created using degrees of latitude and longitude, not exact distances in kilometres. This can cause small distortions in size or distance, although the effect is small within Jeddah. Because the search radius was 8 km, a few facilities outside the official boundary were also included. This choice ensured full coverage but may slightly blur the city limits.
Third, the PSI was designed as a simple baseline that combines only ratings and positive review ratios with one fixed weight. While the top-ranked facilities were stable, the low-ranked ones were more affected by changes in weight. Using more factors or advanced weighting methods in future versions would make the index more reliable.
Fourth, the analysis used only one data source (Google Maps). Differences in user activity or rating habits between areas might affect results. combining this data with other open sources would provide a more comprehensive dataset.
Finally, the current index measures how users feel about healthcare quality, not actual service performance. Real-world factors such as distance, cost, staff capacity, or patient outcomes were not included but should be explored to provide a more complete view of healthcare quality in Jeddah.

6. Conclusions and Future Work

This study aimed to develop an automated and structured method for collecting and analysing healthcare facility data in Jeddah. The main goal was to create a process that supports both spatial coverage and data reliability. Rather than focusing only on numerical results, the research focused on designing a reusable framework that can support future studies and applications.
Three main outcomes were achieved. First, the proposed spatial framework, called GeoJed, was developed to divide Jeddah into consistent geographic cells. This grid ensured complete coverage of the city and provided a clear reference system that connects every facility to its specific location.
Second, the data collection process was automated using the Google Places API. Each grid cell acted as a search area, enabling the efficient retrieval of healthcare facilities, including both public and private providers. The resulting dataset, named GeoJedHF, forms an up-to-date and reusable data source that can be refreshed to monitor changes over time.
Third, an additional experiment introduced the Patient Satisfaction Index (PSI) as a baseline measure of perceived service quality. The PSI combined user ratings and review sentiment to reflect patient experiences and served as an initial step towards measuring perceived healthcare quality.
The study presented a complete and practical framework that automates data collection, ensures spatial consistency, and links user feedback with spatial analysis. The same approach can be applied to other cities and adapted for different service types such as education, retail, or transportation.
Future work can progress in three directions. First, the data collection framework can be expanded beyond Jeddah to other Saudi or international cities. The same grid design can be reused by simply changing the city boundary and search parameters, allowing consistent comparisons between different urban areas. The grid method can also support other business or research purposes, such as mapping restaurants, schools, or commercial outlets.
Second, the GeoJedHF dataset can be updated regularly to monitor how healthcare services change over time. This can reveal new openings, closures, and changes in user satisfaction. This makes the dataset not only a static collection of points but a living source of information that can support both city planners and business analysts. Beyond healthcare, GeoJedHF also represents a broader methodological contribution. The same grid system and automated data collection process can be applied to other sectors, such as education, retail, or hospitality, to explore how different services are distributed within a city. In this way, the approach offers a flexible framework that can be reused and adapted in future studies, both within and beyond Jeddah.
Third, the PSI baseline should be further improved by exploring the performance of different sentiment models, especially those designed for Arabic text. A practical next step would be to manually annotate a sample of the existing reviews to create reliable “gold standard” labels. This reference data can then be used to evaluate and compare multiple sentiment models, helping identify which provides the most accurate and consistent predictions for Arabic healthcare reviews. The selected model could then be applied to refine the PSI calculation and produce a more reliable assessment of patient satisfaction.

Funding

The project was funded by KAU Endowment (WAQF) at King Abdulaziz University, Jeddah, Saudi Arabia.

Data Availability Statement

The data supporting the findings of this study are publicly available. The grid-based spatial framework (GeoJed_v2) (https://github.com/althabiti/GeoJed/blob/main/GeoJed_v2.csv, accessed on 24 February 2026) and the final healthcare dataset (GeoJedHF_v7) (https://github.com/althabiti/GeoJed/blob/main/GeoJedHF_v7.csv, accessed on 24 February 2026) are accessible online.

Acknowledgments

The author, therefore, acknowledges with thanks WAQF and the Deanship of Scientific Research (DSR) for technical and financial support.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Example of GeoJSON Structure

To illustrate the data structure of the boundary files used in this study, an example created using the geojson.io (https://geojson.io, accessed on 24 February 2026) platform is provided in Figure A1. On the left-hand side, the interface allows users to draw or visualise boundaries, while on the right-hand side, the corresponding JSON structure is displayed. This demonstrates how geographic coordinates are stored to represent the outline of Jeddah’s boundary.
Figure A1. Example of drawing Jeddah’s boundary using geojson.io and the corresponding JSON output.
Figure A1. Example of drawing Jeddah’s boundary using geojson.io and the corresponding JSON output.
Ijgi 15 00099 g0a1
Figure A2 further illustrates how individual coordinates in the JSON structure correspond to specific points on the boundary map, with their latitude and longitude values displayed.
Figure A2. Link between individual coordinates in the GeoJSON file and points on the boundary map.
Figure A2. Link between individual coordinates in the GeoJSON file and points on the boundary map.
Ijgi 15 00099 g0a2

Appendix B. Retrieving the SAU-ADM2 geoBoundaries Dataset

The boundary data for Jeddah was extracted from the SAU-ADM2 geoBoundaries dataset. The steps for obtaining this dataset are as follows:
  • Visit the geoBoundaries platform (https://www.geoboundaries.org, accessed on 24 February 2026).
  • Search for Saudi Arabia and navigate to the ADM2 dataset page, which provides administrative level 2 boundaries.
  • The dataset is accessible via geoBoundaries (https://www.geoboundaries.org/api/current/gbOpen/SAU/ADM2/, accessed on 24 February 2026).
  • Within this page, the field gjDownloadURL provides the direct download link to the file:
  • Downloading this file produces the GeoJSON dataset used in this study.

Appendix C. Nearby Search Implementation Details

This section explains the collection procedure of healthcare facilities (hospitals, polyclinics, clinics, and medical centres) within a spatial grid over Jeddah using the Google Places Nearby Search API. Multi-page responses were handled through pagination, and each facility was linked to its corresponding grid context.
Inputs
  • Access key;
  • Keyword query (translated): “hospital OR clinic OR medical center”;
  • GeoJed centroids: grid_id, center_lat, center_lon;
  • Radius: 8 km.
Request execution: For each grid cell centroid, a Nearby Search request is issued with the specified radius. When the response advertises additional results via next_page_token, the subsequent pages are retrieved and merged with the initial set. From each record, key attributes are extracted and augmented with the corresponding cell identifiers.
Request construction: The request was constructed following the standard Nearby Search format starting with the URL (https://maps.googleapis.com/maps/api/place/nearbysearch/json, accessed on 24 February 2026):
  • URL?location=<centroid_lat>,<centroid_lon>
  • &radius=8000
  • &keyword=<keyword>
  • &key=<API_KEY>
Field extraction and grid context: From each JSON response, the following attributes were extracted:
  • name;
  • geometry.location.lat, geometry.location.lng;
  • rating, user_ratings_total;
  • place_id, reference;
  • types;
  • vicinity.
Each record was enriched with its respective cell_id and grid_id.
FieldDescriptionExample (Excerpt)
nameFacility nameDalia Clinic
lat, lonFacility coordinates21.5607861, 39.1568181
cell_id, grid_idGrid cell identifiersJED-R7-C2
ratingAverage star rating4.6
user_ratings_totalNumber of ratings676
place_id, referenceProvider identifiersChIJ0V6oPgfQwxURarahRQ9w1jo
typesActivity categorieshospital, hair_care, dentist, doctor, health
vicinityNearby address string3478 Prince Saudi Al Faisal St AR Rawdah District 7376, Jeddah

Appendix D. Additional PSI Maps

Appendix D includes the additional grid-level PSI distributions for α = 0.3 and α = 0.7 . These figures confirm that spatial patterns remain consistent across different weightings, with central and coastal cells performing better than peripheral areas.
Figure A3. Grid-level PSI distribution in Jeddah for α = 0.3 .
Figure A3. Grid-level PSI distribution in Jeddah for α = 0.3 .
Ijgi 15 00099 g0a3
Figure A4. Grid-level PSI distribution in Jeddah for α = 0.7 .
Figure A4. Grid-level PSI distribution in Jeddah for α = 0.7 .
Ijgi 15 00099 g0a4

References

  1. Pineo, H.; Zimmermann, N.; Davies, M. Integrating health into the complex urban planning policy and decision-making context: A systems thinking analysis. Palgrave Commun. 2020, 6, 21. [Google Scholar] [CrossRef]
  2. Guagliardo, M.F. Spatial accessibility of primary care: Concepts, methods and challenges. Int. J. Health Geogr. 2004, 3, 3. [Google Scholar] [CrossRef] [PubMed]
  3. Miky, Y.; Al Shouny, A.; Abdallah, A. Studying the impact of urban management strategies and spatiotemporal dynamics of LULC on land surface temperature and SUHI formation in Jeddah, Saudi Arabia. Sustainability 2023, 15, 15316. [Google Scholar] [CrossRef]
  4. Khashoggi, B.F.; Murad, A. Use of 2SFCA method to identify and analyze spatial access disparities to healthcare in Jeddah, Saudi Arabia. Appl. Sci. 2021, 11, 9537. [Google Scholar] [CrossRef]
  5. Murad, A. Using GIS for determining variations in health access in Jeddah City, Saudi Arabia. ISPRS Int. J. Geo-Inf. 2018, 7, 254. [Google Scholar] [CrossRef]
  6. Aunimo, L.; Oprescu, A.M.; Kudryavtsev, D.; Munoz Saavedra, L.; Romero Ternero, M.d.C. Perceived Quality of Service in Primary Health Care Based on Google Maps Reviews Before, During, and After the COVID-19 Pandemic: Sentiment Analysis. J. Med. Internet Res. 2025, 27, e70410. [Google Scholar] [CrossRef]
  7. World Health Organization. Monitoring the Building Blocks of Health Systems: A Handbook of Indicators and Their Measurement Strategies; World Health Organization: Geneva, Switzerland, 2010. [Google Scholar]
  8. Brovelli, M.A.; Zamboni, G. A new method for the assessment of spatial accuracy and completeness of OpenStreetMap building footprints. ISPRS Int. J. Geo-Inf. 2018, 7, 289. [Google Scholar] [CrossRef]
  9. Laghbi, Y.A.; Al Dhoayan, M. Examining How Customers Perceive Community Pharmacies Based on Google Maps Reviews: Multivariable and Sentiment Analysis. Explor. Res. Clin. Soc. Pharm. 2024, 15, 100498. [Google Scholar] [CrossRef]
  10. Mara, F.; Anselmi, C.; Deri, F.; Cutini, V. The Divergent Geographies of Urban Amenities: A Data Comparison Between OpenStreetMap and Google Maps. Sustainability 2025, 17, 9016. [Google Scholar] [CrossRef]
  11. Milias, V.; Psyllidis, A. Assessing the influence of point-of-interest features on the classification of place categories. Comput. Environ. Urban Syst. 2021, 86, 101597. [Google Scholar] [CrossRef]
  12. Quinn, S.; Condon, D. Inclusion of Latino-oriented local businesses in popular online maps: An empirical study in the Inland Northwest of the United States. J. Community Inform. 2022, 18, 84–114. [Google Scholar] [CrossRef]
  13. Weiss, D.J.; Nelson, A.; Vargas-Ruiz, C.; Gligorić, K.; Bavadekar, S.; Gabrilovich, E.; Bertozzi-Villa, A.; Rozier, J.; Gibson, H.S.; Shekel, T.; et al. Global maps of travel time to healthcare facilities. Nat. Med. 2020, 26, 1835–1838. [Google Scholar] [CrossRef] [PubMed]
  14. Wang, J.; Su, Y.; Chen, Z.; Tang, L.; Wang, G.; Wang, J. Assessing the Spatial Accessibility of Urban Medical Facilities in Multi-Level and Multi-Period Scales Based on Web Mapping API and an Improved Potential Model. ISPRS Int. J. Geo-Inf. 2022, 11, 545. [Google Scholar] [CrossRef]
  15. Ahmed, N.; Chu, E.; Mustafa, F.; Javanmard, R.; Jui, J.; Lee, J. Understanding inequalities in spatial accessibility to multi-tier healthcare for older adults in rapidly aging Bangladesh. J. Transp. Health 2025, 44, 102121. [Google Scholar] [CrossRef]
  16. Obeidat, B.; Alourd, S. Healthcare equity in focus: Bridging gaps through a spatial analysis of healthcare facilities in Irbid, Jordan. Int. J. Equity Health 2024, 23, 52. [Google Scholar] [CrossRef]
  17. Tse, M.P.; Dhalla, I.; Nayyar, D. Google star ratings of Canadian hospitals: A nationwide cross-sectional analysis. BMJ Open Qual. 2024, 13, e002713. [Google Scholar] [CrossRef]
  18. Zitek, T.; Bui, J.; Day, C.; Ecoff, S.; Patel, B. A cross-sectional analysis of Yelp and Google reviews of hospitals in the United States. J. Am. Coll. Emerg. Physicians Open 2023, 4, e12913. [Google Scholar] [CrossRef]
  19. Nurfaizah, R.J.; Ahsan, M.; Le, M.H. A hybrid approach to hospital quality monitoring based on Google Maps reviews: Integrating p-control charts and BERT. Int. J. Data Netw. Sci. 2025, 9, 1081–1106. [Google Scholar] [CrossRef]
  20. Wood, S.M.; Alston, L.; Beks, H.; McNamara, K.; Coffee, N.T.; Clark, R.A.; Wong Shee, A.; Versace, V.L. The application of spatial measures to analyse health service accessibility in Australia: A systematic review and recommendations for future practice. BMC Health Serv. Res. 2023, 23, 330. [Google Scholar] [CrossRef]
  21. Nikolova, S.; Aleksandrova, T. Geospatial Insights into Healthcare Accessibility in Europe: A Scoping Review of GIS Applications. Healthcare 2025, 13, 2865. [Google Scholar] [CrossRef]
  22. Wenceslau, R.; Junior, C.A.D.; Smarzaro, R. Challenges for matching spatial data on economic activities from official and alternative sources. In Proceedings of the XVIII Brazilian Symposium on Geoinformatics (GEOINFO 2017); Brazilian Computer Society (SBC): Salvador, Brazil, 2017; pp. 17–27. [Google Scholar]
  23. Barrena-Herrán, M.; Modrego-Monforte, I.; Grijalba, O. Revealing Spatiotemporal Urban Activity Patterns: A Machine Learning Study Using Google Popular Times. ISPRS Int. J. Geo-Inf. 2025, 14, 221. [Google Scholar] [CrossRef]
  24. Zhang, J.; Rui, J.; Cai, C. Scale-Dependent environmental influences on urban green space sentiment: Integrating multimodal social media analysis and explainable spatial models. J. Environ. Manag. 2026, 397, 128293. [Google Scholar] [CrossRef] [PubMed]
  25. Murad, A.A. Creating a GIS application for local health care planning in Saudi Arabia. Int. J. Environ. Health Res. 2004, 14, 185–199. [Google Scholar] [CrossRef] [PubMed]
  26. Jiang, X.; Wei, W.; Zeng, L.; Ma, L.; Liu, X.; Zou, J.; Zeng, Z. Assessment of healthcare accessibility in guangdong-Hong Kong-Macao greater bay area. Sustain. Horizons 2023, 6, 100057. [Google Scholar]
  27. Murad, A.; Khashoggi, B.F. Using GIS for disease mapping and clustering in Jeddah, Saudi Arabia. ISPRS Int. J. Geo-Inf. 2020, 9, 328. [Google Scholar]
  28. Lescano, A.G.; Garcia, H.H.; Gilman, R.H.; Guezala, M.C.; Tsang, V.C.; Gavidia, C.M.; Rodriguez, S.; Moulton, L.H.; Green, J.A.; Gonzalez, A.E. Swine cysticercosis hotspots surrounding Taenia solium tapeworm carriers. Am. J. Trop. Med. Hyg. 2007, 76, 376–383. [Google Scholar] [CrossRef]
  29. Conneau, A.; Khandelwal, K.; Goyal, N.; Chaudhary, V.; Wenzek, G.; Guzmán, F.; Grave, E.; Ott, M.; Zettlemoyer, L.; Stoyanov, V. Unsupervised cross-lingual representation learning at scale. arXiv 2019, arXiv:1911.02116. [Google Scholar]
  30. Barbieri, F.; Anke, L.E.; Camacho-Collados, J. XLM-T: Multilingual language models in Twitter for sentiment analysis and beyond. arXiv 2021, arXiv:2104.12250. [Google Scholar]
  31. Barbieri, F.; Camacho-Collados, J.; Neves, L.; Espinosa-Anke, L. TweetEval: Unified benchmark and comparative evaluation for tweet classification. arXiv 2020, arXiv:2010.12421. [Google Scholar] [CrossRef]
Figure 1. Example of an initial query submitted to the platform.
Figure 1. Example of an initial query submitted to the platform.
Ijgi 15 00099 g001
Figure 2. Overview of the methodology.
Figure 2. Overview of the methodology.
Ijgi 15 00099 g002
Figure 3. Workflow for extracting Jeddah boundary from the ADM2 dataset.
Figure 3. Workflow for extracting Jeddah boundary from the ADM2 dataset.
Ijgi 15 00099 g003
Figure 4. Extracted administrative boundary of Jeddah.
Figure 4. Extracted administrative boundary of Jeddah.
Ijgi 15 00099 g004
Figure 5. Bounding box B and the final set of retained grid cells after intersecting with Jeddah’s boundary.
Figure 5. Bounding box B and the final set of retained grid cells after intersecting with Jeddah’s boundary.
Ijgi 15 00099 g005
Figure 6. Grid labelling scheme showing sequential cell numbering (R, C). Blue numbers represent cell IDs, green labels denote row indices (R), and orange labels denote column indices (C).
Figure 6. Grid labelling scheme showing sequential cell numbering (R, C). Blue numbers represent cell IDs, green labels denote row indices (R), and orange labels denote column indices (C).
Ijgi 15 00099 g006
Figure 7. Centroid c i j of each grid cell C i j .
Figure 7. Centroid c i j of each grid cell C i j .
Ijgi 15 00099 g007
Figure 8. Comparison of a grid cell (blue square) with the 8 km search radius (red circle), example from cell JED-R10-C2.
Figure 8. Comparison of a grid cell (blue square) with the 8 km search radius (red circle), example from cell JED-R10-C2.
Ijgi 15 00099 g008
Figure 9. Overview of the data collection process using the Nearby Search API, with input parameters and returned attributes.
Figure 9. Overview of the data collection process using the Nearby Search API, with input parameters and returned attributes.
Ijgi 15 00099 g009
Figure 10. Pipeline for deriving sentiment proportions from user reviews.
Figure 10. Pipeline for deriving sentiment proportions from user reviews.
Ijgi 15 00099 g010
Figure 11. (Left): distribution of all retrieved healthcare facilities across Jeddah. (Right): example of overlap between two adjacent cells (JED-R7-C3 and JED-R8-C3), illustrating duplicate facilities (highlighted in red) due to intersecting query areas.
Figure 11. (Left): distribution of all retrieved healthcare facilities across Jeddah. (Right): example of overlap between two adjacent cells (JED-R7-C3 and JED-R8-C3), illustrating duplicate facilities (highlighted in red) due to intersecting query areas.
Ijgi 15 00099 g011
Figure 12. Top 15 grid cells by number of healthcare facilities.
Figure 12. Top 15 grid cells by number of healthcare facilities.
Ijgi 15 00099 g012
Figure 13. Healthcare facilities per grid cell over the Jeddah boundary. Warmer tones denote higher counts; white cells have zero facilities.
Figure 13. Healthcare facilities per grid cell over the Jeddah boundary. Warmer tones denote higher counts; white cells have zero facilities.
Ijgi 15 00099 g013
Figure 14. Distribution of star ratings across healthcare facilities.
Figure 14. Distribution of star ratings across healthcare facilities.
Ijgi 15 00099 g014
Figure 15. Relationship between average ratings and total number of user ratings.
Figure 15. Relationship between average ratings and total number of user ratings.
Ijgi 15 00099 g015
Figure 16. Sentiment distribution across facilities (Positive = green, Neutral = grey, Negative = red).
Figure 16. Sentiment distribution across facilities (Positive = green, Neutral = grey, Negative = red).
Ijgi 15 00099 g016
Figure 17. Stability of PSI rankings across α values using Jaccard similarity. Higher values indicate greater stability (i.e., more overlap between rankings).
Figure 17. Stability of PSI rankings across α values using Jaccard similarity. Higher values indicate greater stability (i.e., more overlap between rankings).
Ijgi 15 00099 g017
Figure 18. Rank changes of Top-50 centres across α . Flatter lines indicate higher stability.
Figure 18. Rank changes of Top-50 centres across α . Flatter lines indicate higher stability.
Ijgi 15 00099 g018
Figure 19. Rank changes of Bottom-50 centres across α . Greater shifts reflect higher sensitivity.
Figure 19. Rank changes of Bottom-50 centres across α . Greater shifts reflect higher sensitivity.
Ijgi 15 00099 g019
Figure 20. Distribution of PSI per facility by grid cell ( α = 0.3 ).
Figure 20. Distribution of PSI per facility by grid cell ( α = 0.3 ).
Ijgi 15 00099 g020
Figure 21. Distribution of PSI per facility by grid cell ( α = 0.5 ).
Figure 21. Distribution of PSI per facility by grid cell ( α = 0.5 ).
Ijgi 15 00099 g021
Figure 22. Distribution of PSI per facility by grid cell ( α = 0.7 ).
Figure 22. Distribution of PSI per facility by grid cell ( α = 0.7 ).
Ijgi 15 00099 g022
Figure 23. Grid-level PSI distribution in Jeddah for α = 0.5 . Results for α = 0.3 and α = 0.7 were similar.
Figure 23. Grid-level PSI distribution in Jeddah for α = 0.5 . Results for α = 0.3 and α = 0.7 were similar.
Ijgi 15 00099 g023
Table 1. Corner coordinates of Jeddah’s bounding box B.
Table 1. Corner coordinates of Jeddah’s bounding box B.
VertexLongitude (X)Latitude (Y)
( x min , y min ) 38.930020.8916
( x max , y min ) 39.454220.8916
( x min , y max ) 38.930022.3228
( x max , y max ) 39.454222.3228
Table 2. Geometric measures of grid cells and chosen radius.
Table 2. Geometric measures of grid cells and chosen radius.
MeasureValue ( ° )Value (km)
Half side length (centre to edge)0.055.566
Diagonal (centre to corner)0.07077.87
Selected radius0.07198.00
Table 3. Sample of GeoJed grid cells.
Table 3. Sample of GeoJed grid cells.
grid_idmin_lonmin_latmax_lonmax_latcenter_latcenter_lon
JED-R10-C138.9321.7939.0321.8921.841638.98
JED-R11-C138.9321.8939.0321.9921.941638.98
JED-R6-C639.4321.3939.5321.4921.441639.48
JED-R7-C639.4321.4939.5321.5921.541639.48
Table 4. Example record retrieved from the Nearby Search API and linked with the grid framework. Additional fields (e.g., reviews, sentiments, and PSI) will be added in later steps.
Table 4. Example record retrieved from the Nearby Search API and linked with the grid framework. Additional fields (e.g., reviews, sentiments, and PSI) will be added in later steps.
FieldExample Value
nameMira Medical Center
lat21.5762
lon39.1573
cellcell8
grid_idJED-R7-C2
rating4.4
user_ratings_total134
place_idChIJIz…EqM4
typesdentist, hospital, doctor, health…
vicinity3600 Hamad Al Jaser, Jeddah
Table 5. Top-10 (upper panel) and Bottom-10 (lower panel) facilities by PSI ( α = 0.5 ).
Table 5. Top-10 (upper panel) and Bottom-10 (lower panel) facilities by PSI ( α = 0.5 ).
RankMC_idgrid_idUsers r ˜ p ˜ PSI 0.5
1MC045JED-R8-C2511.0001.0001.000
2MC115JED-R7-C3151.0001.0001.000
3MC027JED-R7-C211.0001.0001.000
214MC194JED-R7-C419550.4500.0000.225
215MC065JED-R9-C240.3750.0000.188
216MC169JED-R3-C410.0000.0000.000
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Althabiti, S. GeoJed: A Geospatial Grid Model for Data Acquisition and Spatial–Quality Assessment of Healthcare Services in Jeddah. ISPRS Int. J. Geo-Inf. 2026, 15, 99. https://doi.org/10.3390/ijgi15030099

AMA Style

Althabiti S. GeoJed: A Geospatial Grid Model for Data Acquisition and Spatial–Quality Assessment of Healthcare Services in Jeddah. ISPRS International Journal of Geo-Information. 2026; 15(3):99. https://doi.org/10.3390/ijgi15030099

Chicago/Turabian Style

Althabiti, Saud. 2026. "GeoJed: A Geospatial Grid Model for Data Acquisition and Spatial–Quality Assessment of Healthcare Services in Jeddah" ISPRS International Journal of Geo-Information 15, no. 3: 99. https://doi.org/10.3390/ijgi15030099

APA Style

Althabiti, S. (2026). GeoJed: A Geospatial Grid Model for Data Acquisition and Spatial–Quality Assessment of Healthcare Services in Jeddah. ISPRS International Journal of Geo-Information, 15(3), 99. https://doi.org/10.3390/ijgi15030099

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop