ynsat logo

Managing Areas

3 min read

The Areas window allows users to create, edit, and manage spatial areas used across the RemoteMiner platform. Each area includes a defined geometry and can optionally be linked to sample datasets for further spatial analysis. This guide covers how to upload, edit, and validate areas efficiently.

Creating a New Area #

1. Area Information

  • Name: Must be unique within your project (3–50 characters, no special characters).

2. Geometry Upload
Upload the file defining the area’s shape. Supported formats:

  • GeoJSON (.geojson) – Single file, valid Polygon or MultiPolygon structure.
  • Shapefile (.shp + .dbf + .shx + .prj) – All parts must belong to the same shapefile.
  • KML (.kml) – Google Earth format; will be auto-converted.
  • KMZ (.kmz) – Compressed KML; system will extract automatically.

3. Optional Dataset Upload (CSV)

  • Required columns (case-insensitive):
    • ID: “id” or “sample”
    • Latitude: “lat” or “latitude”
    • Longitude: “long” or “longitude”
    • Mineral Data: any columns with underscores (_)

4. Spatial Validation

  • Coordinates in the CSV are automatically validated against the uploaded geometry.
  • A green alert means all samples are inside the area.
  • A red alert indicates at least one point is outside; submission will be blocked.

5. Optional Mask Selection

  • The system auto-detects available masks from your geometry.
  • You may select one or more masks for overlay during analysis.

6. Submit

  • The Submit button will only activate when all validations are complete.
  • Successful creation redirects to the Areas Management view.

Editing an Existing Area #

Access Edit Mode

  • Go to the “Manage Areas” panel.
  • Click the pencil icon next to the area you want to modify.

Editable Elements

  1. Name: Must still follow original rules and remain unique.
  2. Dataset: Upload a new CSV to replace the current one, or delete the existing dataset.

Note: Geometry editing is performed in a separate interactive geometry editor

    Validation During Edits

    • Dataset updates are validated against the current or newly edited geometry.
    • Geometry and CSV format rules remain the same.

    Submit Changes

    • Changes are saved only if all validations pass.
    • On success, you return automatically to the Areas panel.

    Editing Area Geometry #

    Access Geometry Edit Mode

    • Click the geometry edit icon (📐) for a selected area.

    Interactive Editing Controls

    • Drag vertices to reshape the polygon.
    • Click edges to add new vertices.
    • Select and delete to remove points.
    • Use the toolbar to SaveCancel, or Reset geometry.

    Important Notes

    • Only one area can be edited at a time.
    • Geometry is not saved until the Save button is clicked.
    • Reset restores the original geometry.

    File Requirements #

    File TypeExtension(s)Notes
    GeoJSON.geojsonValid JSON, single file
    Shapefile.shp, .dbf, .shx, .prjMinimum .shp + .dbf required
    KML.kmlMust contain valid polygons
    KMZ.kmzMust contain valid KML
    Dataset.csvUTF-8, required columns: id/sample, lat/long, attributes

    Spatial Validation Rules #

    • Validation runs automatically when a CSV is uploaded.
    • Samples must lie within the area’s polygon.
    • Submission is blocked if invalid points are found.
    • Validation is repeated during edits if a new dataset is uploaded.

    Best Practices #

    • Name areas clearly and descriptively.
    • Validate files before upload using external tools.
    • Use consistent coordinate systems across all files.
    • Review geometries carefully before uploading datasets.
    • When editing geometries, save only once changes are confirmed.
    • For datasets, ensure correct column naming and value formatting.

    For advanced troubleshooting or file-specific issues, refer to in-app error messages or contact platform support.

    Updated on July 29, 2025