Skip to content

Add sample grid ref data - #13

Merged
ccbblin merged 3 commits into
masterfrom
add-sample-grid-ref-data
Jul 24, 2026
Merged

Add sample grid ref data#13
ccbblin merged 3 commits into
masterfrom
add-sample-grid-ref-data

Conversation

@ccbblin

@ccbblin ccbblin commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

add sample test data from sample grid reference work linz/topographic-system#157

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown

Changes Summary

Total Features Changed: 6
Datasets Affected: 3
Git Diff Lines: 143

Feature Changes Preview

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          1624000,
          5424000
        ]
      },
      "properties": {
        "fid": 1,
        "id": "e63f16a2-dd89-49ae-8b85-a40bfe6a1eff",
        "example_point_id": "019e2986-0000-7aaa-8000-0000000000a1",
        "text_string": "Example Trig 26",
        "full_text": "Example Trig 26"
      },
      "id": "testcarto_text:feature:1:I"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          1648000,
          5424000
        ]
      },
      "properties": {
        "fid": 2,
        "id": "6c5ca960-c40e-4083-bf8a-3a39f8d38cf0",
        "example_point_id": "019e2986-0000-7aaa-8000-0000000000a2",
        "text_string": "Example Trig 27",
        "full_text": "Example Trig 27"
      },
      "id": "testcarto_text:feature:2:I"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [
                1612000,
                5442000
              ],
              [
                1636000,
                5442000
              ],
              [
                1636000,
                5406000
              ],
              [
                1612000,
                5406000
              ],
              [
                1612000,
                5442000
              ]
            ]
          ]
        ]
      },
      "properties": {
        "id": "019e2986-1a78-776d-8b32-c5b7a712f871",
        "created_at": "2026-05-15T14:45:15+12",
        "updated_at": "2026-05-15T14:45:15+12",
        "t50_fid": 6222867,
        "type": "testmapsheet",
        "sheet_code": "BQ26",
        "sheet_name": "Nelson",
        "published_version": "1.05",
        "x_origin": 1612000,
        "y_origin": 5442000,
        "published_at": "2023-01-01T00:00:00",
        "example_point_id": null
      },
      "id": "testmapsheet:feature:019e2986-1a78-776d-8b32-c5b7a712f871:U-"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [
                1612000,
                5442000
              ],
              [
                1636000,
                5442000
              ],
              [
                1636000,
                5406000
              ],
              [
                1612000,
                5406000
              ],
              [
                1612000,
                5442000
              ]
            ]
          ]
        ]
      },
      "properties": {
        "id": "019e2986-1a78-776d-8b32-c5b7a712f871",
        "created_at": "2026-05-15T14:45:15",
        "updated_at": "2026-05-15T14:45:15",
        "t50_fid": 6222867,
        "type": "testmapsheet",
        "sheet_code": "BQ26",
        "sheet_name": "Nelson",
        "published_version": "1.05",
        "x_origin": 1612000,
        "y_origin": 5442000,
        "published_at": "2023-01-01T00:00:00",
        "example_point_id": "019e2986-0000-7aaa-8000-0000000000a1"
      },
      "id": "testmapsheet:feature:019e2986-1a78-776d-8b32-c5b7a712f871:U+"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [
                1636000,
                5442000
              ],
              [
                1660000,
                5442000
              ],
              [
                1660000,
                5406000
              ],
              [
                1636000,
                5406000
              ],
              [
                1636000,
                5442000
              ]
            ]
          ]
        ]
      },
      "properties": {
        "id": "019e2986-1a78-7e5d-8286-1474fc7080f5",
        "created_at": "2026-05-15T14:45:15+12",
        "updated_at": "2026-05-15T14:45:15+12",
        "t50_fid": 6222871,
        "type": "testmapsheet",
        "sheet_code": "BQ27",
        "sheet_name": "Rai Valley",
        "published_version": "1.04",
        "x_origin": 1636000,
        "y_origin": 5442000,
        "published_at": "2024-01-01T00:00:00",
        "example_point_id": null
      },
      "id": "testmapsheet:feature:019e2986-1a78-7e5d-8286-1474fc7080f5:U-"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [
                1636000,
                5442000
              ],
              [
                1660000,
                5442000
              ],
              [
                1660000,
                5406000
              ],
              [
                1636000,
                5406000
              ],
              [
                1636000,
                5442000
              ]
            ]
          ]
        ]
      },
      "properties": {
        "id": "019e2986-1a78-7e5d-8286-1474fc7080f5",
        "created_at": "2026-05-15T14:45:15",
        "updated_at": "2026-05-15T14:45:15",
        "t50_fid": 6222871,
        "type": "testmapsheet",
        "sheet_code": "BQ27",
        "sheet_name": "Rai Valley",
        "published_version": "1.04",
        "x_origin": 1636000,
        "y_origin": 5442000,
        "published_at": "2024-01-01T00:00:00",
        "example_point_id": "019e2986-0000-7aaa-8000-0000000000a2"
      },
      "id": "testmapsheet:feature:019e2986-1a78-7e5d-8286-1474fc7080f5:U+"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          1624000,
          5424000
        ]
      },
      "properties": {
        "fid": 1,
        "id": "019e2986-0000-7aaa-8000-0000000000a1",
        "type": "trig",
        "trig_type": "beaconed",
        "name": "Example Trig 26",
        "created_at": "2026-07-22",
        "updated_at": "2026-07-22"
      },
      "id": "testtrig_point:feature:1:I"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          1648000,
          5424000
        ]
      },
      "properties": {
        "fid": 2,
        "id": "019e2986-0000-7aaa-8000-0000000000a2",
        "type": "trig",
        "trig_type": "beaconed",
        "name": "Example Trig 27",
        "created_at": "2026-07-22",
        "updated_at": "2026-07-22"
      },
      "id": "testtrig_point:feature:2:I"
    }
  ]
}
Loading

Changes by Dataset

**testtrig_point**: 2 features changed
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          1624000.0,
          5424000.0
        ]
      },
      "properties": {
        "fid": 1,
        "id": "019e2986-0000-7aaa-8000-0000000000a1",
        "type": "trig",
        "trig_type": "beaconed",
        "name": "Example Trig 26",
        "created_at": "2026-07-22",
        "updated_at": "2026-07-22"
      },
      "id": "testtrig_point:feature:1:I"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          1648000.0,
          5424000.0
        ]
      },
      "properties": {
        "fid": 2,
        "id": "019e2986-0000-7aaa-8000-0000000000a2",
        "type": "trig",
        "trig_type": "beaconed",
        "name": "Example Trig 27",
        "created_at": "2026-07-22",
        "updated_at": "2026-07-22"
      },
      "id": "testtrig_point:feature:2:I"
    }
  ]
}

Loading
**testmapsheet**: 2 features changed
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [
                1612000.0,
                5442000.0
              ],
              [
                1636000.0,
                5442000.0
              ],
              [
                1636000.0,
                5406000.0
              ],
              [
                1612000.0,
                5406000.0
              ],
              [
                1612000.0,
                5442000.0
              ]
            ]
          ]
        ]
      },
      "properties": {
        "id": "019e2986-1a78-776d-8b32-c5b7a712f871",
        "created_at": "2026-05-15T14:45:15+12",
        "updated_at": "2026-05-15T14:45:15+12",
        "t50_fid": 6222867.0,
        "type": "testmapsheet",
        "sheet_code": "BQ26",
        "sheet_name": "Nelson",
        "published_version": "1.05",
        "x_origin": 1612000.0,
        "y_origin": 5442000.0,
        "published_at": "2023-01-01T00:00:00",
        "example_point_id": null
      },
      "id": "testmapsheet:feature:019e2986-1a78-776d-8b32-c5b7a712f871:U-"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [
                1612000.0,
                5442000.0
              ],
              [
                1636000.0,
                5442000.0
              ],
              [
                1636000.0,
                5406000.0
              ],
              [
                1612000.0,
                5406000.0
              ],
              [
                1612000.0,
                5442000.0
              ]
            ]
          ]
        ]
      },
      "properties": {
        "id": "019e2986-1a78-776d-8b32-c5b7a712f871",
        "created_at": "2026-05-15T14:45:15",
        "updated_at": "2026-05-15T14:45:15",
        "t50_fid": 6222867.0,
        "type": "testmapsheet",
        "sheet_code": "BQ26",
        "sheet_name": "Nelson",
        "published_version": "1.05",
        "x_origin": 1612000.0,
        "y_origin": 5442000.0,
        "published_at": "2023-01-01T00:00:00",
        "example_point_id": "019e2986-0000-7aaa-8000-0000000000a1"
      },
      "id": "testmapsheet:feature:019e2986-1a78-776d-8b32-c5b7a712f871:U+"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [
                1636000.0,
                5442000.0
              ],
              [
                1660000.0,
                5442000.0
              ],
              [
                1660000.0,
                5406000.0
              ],
              [
                1636000.0,
                5406000.0
              ],
              [
                1636000.0,
                5442000.0
              ]
            ]
          ]
        ]
      },
      "properties": {
        "id": "019e2986-1a78-7e5d-8286-1474fc7080f5",
        "created_at": "2026-05-15T14:45:15+12",
        "updated_at": "2026-05-15T14:45:15+12",
        "t50_fid": 6222871.0,
        "type": "testmapsheet",
        "sheet_code": "BQ27",
        "sheet_name": "Rai Valley",
        "published_version": "1.04",
        "x_origin": 1636000.0,
        "y_origin": 5442000.0,
        "published_at": "2024-01-01T00:00:00",
        "example_point_id": null
      },
      "id": "testmapsheet:feature:019e2986-1a78-7e5d-8286-1474fc7080f5:U-"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [
                1636000.0,
                5442000.0
              ],
              [
                1660000.0,
                5442000.0
              ],
              [
                1660000.0,
                5406000.0
              ],
              [
                1636000.0,
                5406000.0
              ],
              [
                1636000.0,
                5442000.0
              ]
            ]
          ]
        ]
      },
      "properties": {
        "id": "019e2986-1a78-7e5d-8286-1474fc7080f5",
        "created_at": "2026-05-15T14:45:15",
        "updated_at": "2026-05-15T14:45:15",
        "t50_fid": 6222871.0,
        "type": "testmapsheet",
        "sheet_code": "BQ27",
        "sheet_name": "Rai Valley",
        "published_version": "1.04",
        "x_origin": 1636000.0,
        "y_origin": 5442000.0,
        "published_at": "2024-01-01T00:00:00",
        "example_point_id": "019e2986-0000-7aaa-8000-0000000000a2"
      },
      "id": "testmapsheet:feature:019e2986-1a78-7e5d-8286-1474fc7080f5:U+"
    }
  ]
}

Loading
**testcarto_text**: 2 features changed
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          1624000.0,
          5424000.0
        ]
      },
      "properties": {
        "fid": 1,
        "id": "e63f16a2-dd89-49ae-8b85-a40bfe6a1eff",
        "example_point_id": "019e2986-0000-7aaa-8000-0000000000a1",
        "text_string": "Example Trig 26",
        "full_text": "Example Trig 26"
      },
      "id": "testcarto_text:feature:1:I"
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          1648000.0,
          5424000.0
        ]
      },
      "properties": {
        "fid": 2,
        "id": "6c5ca960-c40e-4083-bf8a-3a39f8d38cf0",
        "example_point_id": "019e2986-0000-7aaa-8000-0000000000a2",
        "text_string": "Example Trig 27",
        "full_text": "Example Trig 27"
      },
      "id": "testcarto_text:feature:2:I"
    }
  ]
}

Loading

Kart Diff

Kart Diff (6 features)
+++ testcarto_text:meta:crs/EPSG:2193.wkt
+ PROJCS["NZGD2000 / New Zealand Transverse Mercator 2000",
+     GEOGCS["NZGD2000",
+         DATUM["New_Zealand_Geodetic_Datum_2000",
+             SPHEROID["GRS 1980", 6378137, 298.257222101,
+                 AUTHORITY["EPSG", "7019"]],
+             AUTHORITY["EPSG", "6167"]],
+         PRIMEM["Greenwich", 0,
+             AUTHORITY["EPSG", "8901"]],
+         UNIT["degree", 0.0174532925199433,
+             AUTHORITY["EPSG", "9122"]],
+         AUTHORITY["EPSG", "4167"]],
+     PROJECTION["Transverse_Mercator"],
+     PARAMETER["latitude_of_origin", 0],
+     PARAMETER["central_meridian", 173],
+     PARAMETER["scale_factor", 0.9996],
+     PARAMETER["false_easting", 1600000],
+     PARAMETER["false_northing", 10000000],
+     UNIT["metre", 1,
+         AUTHORITY["EPSG", "9001"]],
+     AXIS["Northing", NORTH],
+     AXIS["Easting", EAST],
+     AUTHORITY["EPSG", "2193"]]
+ 
+++ testcarto_text:meta:schema.json
+ [
+   {
+     "id": "77bf0280-a62b-13ee-6078-48284d174238",
+     "name": "fid",
+     "dataType": "integer",

... truncated (showing 30 of 185 lines)

Git Diff

Git Diff (143 lines)
diff --git a/testcarto_text/.table-dataset/feature/A/A/A/A/kQE= b/testcarto_text/.table-dataset/feature/A/A/A/A/kQE=
new file mode 100644
index 0000000..007c1af
Binary files /dev/null and b/testcarto_text/.table-dataset/feature/A/A/A/A/kQE= differ
diff --git a/testcarto_text/.table-dataset/feature/A/A/A/A/kQI= b/testcarto_text/.table-dataset/feature/A/A/A/A/kQI=
new file mode 100644
index 0000000..325c196
Binary files /dev/null and b/testcarto_text/.table-dataset/feature/A/A/A/A/kQI= differ
diff --git a/testcarto_text/.table-dataset/meta/crs/EPSG:2193.wkt b/testcarto_text/.table-dataset/meta/crs/EPSG:2193.wkt
new file mode 100644
index 0000000..250338f
--- /dev/null
+++ b/testcarto_text/.table-dataset/meta/crs/EPSG:2193.wkt
@@ -0,0 +1,22 @@
+PROJCS["NZGD2000 / New Zealand Transverse Mercator 2000",
+    GEOGCS["NZGD2000",
+        DATUM["New_Zealand_Geodetic_Datum_2000",
+            SPHEROID["GRS 1980", 6378137, 298.257222101,
+                AUTHORITY["EPSG", "7019"]],
+            AUTHORITY["EPSG", "6167"]],
+        PRIMEM["Greenwich", 0,
+            AUTHORITY["EPSG", "8901"]],
+        UNIT["degree", 0.0174532925199433,
+            AUTHORITY["EPSG", "9122"]],
+        AUTHORITY["EPSG", "4167"]],
+    PROJECTION["Transverse_Mercator"],
+    PARAMETER["latitude_of_origin", 0],
+    PARAMETER["central_meridian", 173],
+    PARAMETER["scale_factor", 0.9996],
+    PARAMETER["false_easting", 1600000],

... truncated (showing 30 of 143 lines)

Comment thread .github/workflows/pr.yml Outdated
@ccbblin
ccbblin force-pushed the add-sample-grid-ref-data branch from f283db2 to 76e626b Compare July 24, 2026 00:25
@ccbblin
ccbblin merged commit b53224f into master Jul 24, 2026
1 of 2 checks passed
@ccbblin
ccbblin deleted the add-sample-grid-ref-data branch July 24, 2026 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants