IzziAI
TutorialNov 26, 20264 min read

Build a Small Browser Map in OpenVietGIS with Toy Data

Create a three-point GeoJSON exercise in OpenVietGIS, verify the imported layer, and record the exact build, format, CRS, and evidence.

OpenVietGISGeoJSONWebGISbrowser mappingGIS testing
Three fictional observation points appear on a simple illustrative map grid.

Use a tiny GeoJSON file to learn the OpenVietGIS browser workflow without exposing real land, customer, or personal data. Import three fictional points, inspect their attributes, save and reopen the map, and export only if the selected build advertises that capability.

The OpenVietGIS repository describes the project as a public development candidate. It says the demo does not prove that every feature is complete or ready for production. Record the exact commit, frontend, backend, role, and test data used.

Create a harmless GeoJSON fixture

Save the following as training-sites.geojson. The names and attributes are fictional. The coordinates are training points and should not be presented as facilities, parcels, or official boundaries.

JSON
{
  "type": "FeatureCollection",
  "features": [
    {"type":"Feature","properties":{"id":"site-a","status":"planned","capacity":12},"geometry":{"type":"Point","coordinates":[105.8000,21.0300]}},
    {"type":"Feature","properties":{"id":"site-b","status":"active","capacity":24},"geometry":{"type":"Point","coordinates":[105.8050,21.0340]}},
    {"type":"Feature","properties":{"id":"site-c","status":"review","capacity":null},"geometry":{"type":"Point","coordinates":[105.8100,21.0280]}}
  ]
}

This fixture tests three strings, two numbers, one null, three Point geometries, and a known count. RFC 7946 GeoJSON uses longitude and latitude in WGS 84. The coordinates appear in that order.

Choose an authorized environment

The README links a public demo and local-development path. Follow the current repository instructions. Use the demo only within its stated rules and with disposable data. A local checkout gives you a specific commit and clearer test-state control.

  • Repository commit or deployed build identifier
  • Frontend and backend version
  • User role and Project scope
  • Browser and viewport
  • Fixture filename and SHA-256 checksum
  • Expected count, geometry type, fields, null, and CRS

If the selected build does not expose the documented import flow, mark the exercise BLOCKED. Do not infer capability from another branch or a specification alone.

Import and inspect the layer

  1. Create or open an authorized training Project.
  2. Choose the import action and select training-sites.geojson.
  3. Review the detected format, coordinate reference information, geometry family, schema, and count.
  4. Confirm only when the preview says three Point features and lists id, status, and capacity.
  5. Add the layer to the map if import and map placement are separate.

The project's R005 specification names GeoPackage, RFC 7946 GeoJSON, and ZIP-packaged Shapefile as first-slice vector profiles. It requires full validation before publication and rejects silent CRS guesses or unreported data loss. Exact limits remain build-specific.

Verify the visible result

CheckExpected resultEvidence
Feature count3Layer table or API result
GeometryThree Point featuresMap view and inspector
Typed fieldsString status, numeric capacity, one nullAttribute table
Project persistenceLayer and map state returnReopened Project
ScopeAn unauthorized test identity cannot read the layerPermitted negative check

Fit the map to the layer and count the points. Select each point and compare its attributes with the fixture. Confirm that site-c preserves a null capacity instead of changing it to zero or an empty string.

Keep authorization checks within accounts and projects you control. Do not probe another user's data or the public deployment.

Save, reopen, and compare

Change a harmless presentation setting such as point color or layer order, save the Project, close the tab, and reopen it. Verify the layer remains linked and the map state returns. Keep presentation changes separate from source-data changes in the record.

If the build offers fixed-revision export, export the complete toy layer to a supported format and reopen it in an independent GIS tool. Compare count, fields, null handling, geometry, and CRS. The repository's historical R005 evidence reports automated checks for defined profiles. The community acceptance matrix marks its own cases NOT_RUN until a tester verifies a specific candidate. Record your run as a new observation.

Test one controlled failure

Copy the fixture and reverse one coordinate pair or replace a number with a string. Predict the preview or validation result before importing. The useful outcome is an actionable error or clearly disclosed type decision. Delete the failed data after capturing the message.

Do not upload malformed archives, oversized files, scripts, or security payloads to the public demo. Use the repository's documented security channel for reports.

Respect the product boundary

R005 covers vector import and export for defined GeoPackage, GeoJSON, and ZIP Shapefile profiles. It does not establish native DWG support, every CRS conversion, every geometry dimension, raster import, or production readiness. OpenVietGIS is an independent GIS project and does not provide authority to access or alter official cadastral data.

This exercise proves only the checks you run on one candidate. It gives maintainers a clean report when a count, null, CRS, permission boundary, or saved state differs from the expected result.

Source and credit

Topic inspired by a community post from Triệu Nguyễn: view the original Facebook post. This independent Starizzi guide adds an original three-point GeoJSON fixture and evidence-based browser exercise. Details were checked against the OpenVietGIS repository, R005 specification, and community acceptance matrix.

Put AI to work on your marketing

Izzi AI is an AI marketing workspace for creators, small businesses and agencies: plan strategy, write content and run campaigns with your team, on monthly credit plans.

MORE

Related articles