Sabah district boundary conversion report

Prepared: 12 November 2026, Malaysia time

For: the data owner and people who need to use or review the district boundaries

Source: Sabah_ESRI.zip / district_2025

Writing guidance: ISO 24495-1:2023, Plain language — Part 1

Decision

The conversion checks passed. All 30 district features and their attribute values were preserved. Both versions contain 27 Polygon features and 3 MultiPolygon features. All source and converted geometries are valid.

Use district_2025.geojson for web maps. It uses WGS 84 longitude and latitude, as required by RFC 7946 GeoJSON. Its coordinates differ from the source because the source uses metres in a local projected coordinate system. All 40 rings also reverse direction to follow GeoJSON's ring orientation rules. These are expected changes, so this file is not numerically identical to the shapefile.

Use district_2025.original-crs.geojson when you need the original coordinate values and vertex order. It preserves every source coordinate exactly as a binary floating-point number. It also preserves the source bounds and attributes exactly. This is legacy GeoJSON with an explicit original coordinate system; it is not RFC 7946 GeoJSON. Some web map tools accept only RFC 7946.

What to open

Results

CheckOriginal shapefileConverted resultFinding
Feature count3030 in both filesExact match
Feature sequenceSource record orderSame record orderMatch by position and all attributes
Geometry types27 Polygon; 3 MultiPolygonSame in both filesExact match per feature
AttributesThree fields, 30 rowsAll field names and values preservedExact match
Coordinate pairs55,105, including ring closureSame numberNo added or removed vertices
Rings4040Same parts and grouping
Original-coordinate fileMetres, source orderSame coordinates and orderExact binary float match
Original-coordinate boundsSource record and file boundsSame boundsExact match
Web ring directionSource convention40 rings reversedExpected RFC 7946 change
Web coordinate comparisonSource projected independentlyMaximum difference 7.993606e-15 degreesWithin 1e-12 degree tolerance
Web per-feature boundsIndependently projected sourceMaximum difference 8.881784e-16 degreesWithin tolerance
Web boundary distanceIndependently projected sourceMaximum Hausdorff distance 7.105427e-15 degreesWithin tolerance
Geometry validity30 valid30 validNo repair needed or applied

The shapefile layer advertises Polygon. Individual features can be Polygon or MultiPolygon; the comparison checks the individual types. Hausdorff distance measures the largest nearest-point distance between two boundaries. These degree-based differences measure conversion consistency, not ground accuracy.

Attribute names and values

The original field names are District_N, District_C, Area (km². The area field's name is already shortened in the shapefile. It was kept as supplied. District codes remain strings, and the recorded area values were copied without recalculation. The source field widths and decimal settings are recorded in comparison.json. GeoJSON does not preserve DBF storage widths or the shapefile's sidecar metadata as a database schema.

Bounding boxes

Each bounding box lists minimum x, minimum y, maximum x and maximum y.

Bounds in different coordinate systems cannot be compared directly. The test compares source metre bounds with the original-coordinate copy, then separately compares transformed source bounds with the web file.

How the conversion was checked

The native equality checks require zero coordinate difference. The web coordinate and bounding checks use an absolute tolerance of 1e-12 degrees. The comparison includes all 55,105 coordinate pairs; the coordinate samples shown in the page are only for inspection.

Spatial accuracy and limits

The conversion uses the published Timbalai 1948 to WGS 84 (1) transformation, with a reported accuracy of 19 metres. Its area includes East Malaysia onshore and offshore. The available operations with smaller accuracy values apply to Brunei or the South China Sea and do not cover all of Sabah. The selected operation was pinned explicitly; no ballpark transformation was allowed.

The converted northern extent is about 7.676185° N. This lies about 0.006185° (roughly 690 m) beyond the operation's published northern area limit of 7.67° N. The conversion was retained and this limit is disclosed. The 19 m figure is a transformation accuracy estimate within its applicable area, not a guarantee of source survey accuracy or accuracy outside that area. Keep the original-coordinate copy and obtain an approved local transformation or survey controls if greater absolute accuracy is needed.

The visual check confirms relative alignment between these two representations. The added overlap section provides a Google Maps street/satellite basemap for visual context. It does not establish agreement with satellite imagery, ground control or legally authoritative district limits. Both conversion and reference transformation ultimately use PROJ, so their agreement is not an independent validation of the datum model. Source completeness, inter-district gaps/overlaps, political or legal status and the recorded areas were not independently audited.

The original-coordinate copy is exact for the tested feature data, not a byte-for-byte replacement for the shapefile package. Original files remain in the source folder. Projection metadata, QGIS metadata, DBF field widths and the index files remain available there.

Plain-language approach

The requested standard is ISO 24495-1:2023, rather than ISO/IEC 24495:2023. It is guidance for plain-language communication, not a GIS accuracy test or a prescribed report template.

This report applies its four governing principles: relevant information, information readers can find, language readers can understand, and information readers can use. The report identifies its readers, starts with the decision, gives clear file choices, places measurements in a comparison table, defines technical terms, explains limits and provides practical review steps.

This is a principles-based application of the public guidance. It is not a certified or clause-by-clause conformance assessment. Evaluation by the intended readers has not yet taken place; their feedback is needed to assess how well the report supports actual use.

Reproduce or review the work

Run run-comparison.ps1 from PowerShell. Its gisRoot parameter defaults to the installed OSGeo4W folder and can be changed if necessary. The script recreates the two generated GeoJSON files, measurements, page and report from the extracted source. It requires the installed GDAL/OGR, pyproj and Shapely Python packages. It does not modify the extracted source files. The Google Maps section uses Maps JavaScript API and a local Node.js server on 127.0.0.1:8765; run Open comparison.cmd to launch it. The browser loads the Google Maps API using the key in googleapi.txt. Keep that key file beside the server; it is excluded from the downloadable ZIP. District attributes are not uploaded by the comparison code.

Source and output SHA-256 hashes, exact conversion arguments, the pinned transformation pipeline and per-feature results are in comparison.json. Use those hashes to check whether the files have changed since this comparison. Browser screenshots and verification are point-in-time evidence and must be regenerated if data or page code changes.

References