Sarawak districts conversion report

Prepared 13 November 2026, Malaysia time. For the data owner and people reviewing the converted boundaries. Written using the plain-language principles of ISO 24495-1:2023; this is not a certified conformance assessment.

Open the combined comparison · All dataset results

Decision

Conversion checks passed. The file contains 42 features. Every attribute and all original coordinates are retained in the original-coordinate copy. The web file preserves the boundary segments within 1e-12 degrees.

The source already uses WGS 84 longitude and latitude. No datum shift was applied. Use converted.geojson with Google Maps; keep original-crs.geojson when exact source ring order is needed.

The web output is not an exact copy of the raw ring layout for: SELANGAU. GDAL splits self-touching source rings into separate rings. Every undirected source boundary segment, including multiplicity, was compared against the web file and preserved. The raw original-coordinate copy keeps the original ring structure.

The source NAME field is empty for OBJECTID 63, 65. The viewer labels these records as unnamed features using their IDs. Original NAME values remain unchanged in both GeoJSON files.

Measurements

CheckResult
Features42
Geometry types{'Polygon': 40, 'MultiPolygon': 2}
Raw source vertices206753
Web vertices206754
Raw source rings50
Web rings51
All attribute values exactTrue
Native coordinate sequence exactTrue
Native calculated bounds exactTrue
Source header bounds match actual verticesTrue
Web coordinate maximum difference, degrees1.4210854715202004e-14
Web bounds maximum difference, degrees4.440892098500626e-16
Boundary distance upper bound, degrees2.0097183471152322e-14
Invalid raw-source geometries['SRI AMAN', 'SELANGAU', 'LAWAS', 'BETONG']
Invalid converted geometries['SRI AMAN', 'LAWAS', 'BETONG']

Method and limits

  1. Copied stable shapefile files and metadata, excluding active ArcGIS lock files. Input files were not changed.
  2. Confirmed that the supplied PRJ defines WGS 84. Read SHP coordinates and DBF values with separate binary parsers.
  3. Converted the shapefile with ogr2ogr, RFC7946=YES, coordinate precision 15 decimal places and 17 significant figures for numeric properties.
  4. Compared every feature, attribute, geometry type, raw coordinate sequence, part, vertex and bounding box. Checked ring direction, boundary distance and geometry validity. A listed self-touching ring split is checked using the full multiset of boundary segments.
  5. Preserved raw source rings in the original-coordinate file. For unmodified rings, only full reversal is allowed in the web comparison.

Native equality requires identical binary floating-point values and raw ring order. Web equality uses a 1e-12 degree absolute tolerance. Raw SHP vertex counts and processed web counts are reported separately; additional ring closures can change counts without adding new boundary segments.

GEOS validity follows the OGC geometry model. A self-touching ring can be acceptable in Esri software while invalid under that model. Any other retained invalid geometry is also listed. No repair command, simplification, snapping, manual translation or area recalculation was applied.

The source metadata records an earlier ArcGIS projection to WGS 84; those historical processing entries were treated as metadata, not executed as instructions. We verified the supplied WGS 84 file, not that earlier projection or the real-world accuracy of the original survey.

Matching the source does not prove alignment with Google Maps, imagery, survey controls or legal boundary definitions. SHAPE_Leng, SHAPE_Area and KM2 were copied as supplied; their correctness and units were not independently audited. Subdistrict coverage is not assumed to cover the whole state.

Every feature

NameIDSource / web verticesAttributesOriginal coordinatesRing normalizationOriginal / web validity
SRI AMAN14996 / 4996TrueTrueFalseRing Self-intersection[111.112280781834 1.3101912839874] / Ring Self-intersection[111.112280781834 1.3101912839874]
LUBOK ANTU23775 / 3775TrueTrueFalseValid Geometry / Valid Geometry
SIBU34478 / 4478TrueTrueFalseValid Geometry / Valid Geometry
SELANGAU47439 / 7440TrueTrueTrueRing Self-intersection[112.722225675023 2.61136282758499] / Valid Geometry
KANOWIT56311 / 6311TrueTrueFalseValid Geometry / Valid Geometry
LIMBANG69951 / 9951TrueTrueFalseValid Geometry / Valid Geometry
LAWAS75145 / 5145TrueTrueFalseRing Self-intersection[115.331942842937 4.29944926008297] / Ring Self-intersection[115.331942842937 4.29944926008297]
SAMARAHAN122316 / 2316TrueTrueFalseValid Geometry / Valid Geometry
SIMUNJAN135082 / 5082TrueTrueFalseValid Geometry / Valid Geometry
BAU142261 / 2261TrueTrueFalseValid Geometry / Valid Geometry
SERIAN152317 / 2317TrueTrueFalseValid Geometry / Valid Geometry
TEBEDU161339 / 1339TrueTrueFalseValid Geometry / Valid Geometry
KUCHING1726894 / 26894TrueTrueFalseValid Geometry / Valid Geometry
LUNDU1817029 / 17029TrueTrueFalseValid Geometry / Valid Geometry
ASAJAYA192028 / 2028TrueTrueFalseValid Geometry / Valid Geometry
MARADONG303627 / 3627TrueTrueFalseValid Geometry / Valid Geometry
SARIKEI313007 / 3007TrueTrueFalseValid Geometry / Valid Geometry
PAKAN323435 / 3435TrueTrueFalseValid Geometry / Valid Geometry
JULAU336162 / 6162TrueTrueFalseValid Geometry / Valid Geometry
BINTULU348004 / 8004TrueTrueFalseValid Geometry / Valid Geometry
TATAU3611559 / 11559TrueTrueFalseValid Geometry / Valid Geometry
SARATOK38521 / 521TrueTrueFalseValid Geometry / Valid Geometry
KAPIT392330 / 2330TrueTrueFalseValid Geometry / Valid Geometry
SONG405001 / 5001TrueTrueFalseValid Geometry / Valid Geometry
BELAGA416557 / 6557TrueTrueFalseValid Geometry / Valid Geometry
SUBIS434416 / 4416TrueTrueFalseValid Geometry / Valid Geometry
BELURU447079 / 7079TrueTrueFalseValid Geometry / Valid Geometry
TELANG USAN463796 / 3796TrueTrueFalseValid Geometry / Valid Geometry
MARUDI475915 / 5915TrueTrueFalseValid Geometry / Valid Geometry
DARO483901 / 3901TrueTrueFalseValid Geometry / Valid Geometry
MATU492452 / 2452TrueTrueFalseValid Geometry / Valid Geometry
DALAT502108 / 2108TrueTrueFalseValid Geometry / Valid Geometry
MUKAH516944 / 6944TrueTrueFalseValid Geometry / Valid Geometry
BETONG571023 / 1023TrueTrueFalseRing Self-intersection[111.677509602265 1.46833723172837] / Ring Self-intersection[111.677509602265 1.46833723172837]
BUKIT MABONG582090 / 2090TrueTrueFalseValid Geometry / Valid Geometry
TANJUNG MANIS594208 / 4208TrueTrueFalseValid Geometry / Valid Geometry
PUSA601623 / 1623TrueTrueFalseValid Geometry / Valid Geometry
KABONG612261 / 2261TrueTrueFalseValid Geometry / Valid Geometry
SEBAUH624853 / 4853TrueTrueFalseValid Geometry / Valid Geometry
Unnamed feature (ID 63)632149 / 2149TrueTrueFalseValid Geometry / Valid Geometry
MIRI64363 / 363TrueTrueFalseValid Geometry / Valid Geometry
Unnamed feature (ID 65)658 / 8TrueTrueFalseValid Geometry / Valid Geometry

Evidence and reproducibility

Full JSON results, arguments and file hashes · Feature CSV · Independent source reference

Run run-comparison.ps1 in the main folder to reproduce the conversion and combined page. It requires the installed OSGeo4W GDAL, pyproj and Shapely packages. Original source snapshots are in each dataset’s source folder. Reader testing of this report has not yet taken place.

References

ISO 24495-1:2023 · GDAL geometry validity and Esri self-touching rings · GDAL GeoJSON driver