Sarawak divisions 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 12 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: LIMBANG. 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.

Measurements

CheckResult
Features12
Geometry types{'Polygon': 9, 'MultiPolygon': 3}
Raw source vertices166206
Web vertices166207
Raw source rings26
Web rings27
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', 'SIBU', 'LIMBANG', 'BETONG']
Invalid converted geometries['SRI AMAN', 'SIBU', '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 AMAN15335 / 5335TrueTrueFalseRing Self-intersection[111.112280781834 1.3101912839874] / Ring Self-intersection[111.112280781834 1.3101912839874]
SIBU213575 / 13575TrueTrueFalseRing Self-intersection[112.722225675923 2.61136282758404] / Ring Self-intersection[112.722225675923 2.61136282758404]
LIMBANG314924 / 14925TrueTrueTrueRing Self-intersection[115.331942842937 4.29944926008297] / Valid Geometry
KUCHING440379 / 40379TrueTrueFalseValid Geometry / Valid Geometry
SERIAN93475 / 3475TrueTrueFalseValid Geometry / Valid Geometry
SAMARAHAN109323 / 9323TrueTrueFalseValid Geometry / Valid Geometry
SARIKEI157719 / 7719TrueTrueFalseValid Geometry / Valid Geometry
BETONG285078 / 5078TrueTrueFalseRing Self-intersection[111.677509602265 1.46833723172837] / Ring Self-intersection[111.677509602265 1.46833723172837]
BINTULU3020656 / 20656TrueTrueFalseValid Geometry / Valid Geometry
MIRI8513608 / 13608TrueTrueFalseValid Geometry / Valid Geometry
MUKAH8917859 / 17859TrueTrueFalseValid Geometry / Valid Geometry
KAPIT9914275 / 14275TrueTrueFalseValid 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