Sabah and Sarawak boundary comparison

Choose a state and boundary layer. Compare the original shapefile with its converted GeoJSON, inspect individual features, and check their overlap on Google Maps or OpenStreetMap.

Loading comparison data…

Review source issues and their locations

Original shapefile Source geometry displayed in WGS 84

Converted GeoJSON Orange boundaries; dashed original overlay in teal

Original boundary

Converted boundary

Original overlay

North is up · longitude / latitude

Drag either map to pan both views together. Use the buttons, wheel or keyboard to zoom. These offline maps check relative alignment; matching outlines do not prove survey accuracy.

Overlap on Google Maps

Compare the selected layer against roads, towns and imagery. Original boundaries are thick yellow; converted boundaries are thin red, so both remain visible over satellite imagery. Select a feature above or click a boundary to highlight it.

Original: thick yellowConverted: thin red

Choose a dataset to view its features.

Google Maps loads when this section is viewed.

Both basemaps need internet access and the local launcher. Switch basemaps to compare the same selected boundaries. The basemap provides geographic context; it is not an authoritative boundary or survey reference.

All features

What the checks mean

Read this layer’s report · All dataset results

Download web GeoJSON · Download original-coordinate GeoJSON

Every feature

Select a row to focus the maps. Vertex totals include closing coordinates. Scroll the table for more rows or columns.

NameID / codeGeometryVerticesAttributesNative coordinatesWeb delta (degrees)Validity
Selected feature measurements and coordinate samples
Method and downloadable evidence

The original view comes from a direct source read. Every original coordinate and attribute is checked against a separate binary SHP/DBF read. The converted view uses the actual output. Web comparison permits complete ring reversal to meet RFC 7946 orientation conventions. It also permits the reported GDAL self-touching ring splits for Selangau district and Limbang division, after checking every boundary segment. Raw source ring structure is retained in the original-coordinate copies; geometry validity issues and web normalizations are listed separately.

Machine-readable comparison · Feature comparison CSV

Source issues explained and located

Detailed checker summary

Why can both pictures look the same and still have a problem? Conversion can copy a border exactly, including a tiny loop or crossing. Matching pictures show that the source was preserved; they do not prove that the outline is ready for automatic geofencing.

A “ring” means a closed border. “Ring self-intersection” means that the border comes back to touch or cross itself in a way the checker does not accept. It can be so small that it disappears when zoomed out. Select an area below to see the actual problem magnified.

Shape problems are different from location errors. A tiny loop does not mean the whole district is shifted. No coordinates have been moved or repaired here. Review any proposed repair against the authoritative boundary before using it for geofencing.