Client
Getting Started

Getting Started

Logging In

login

When presented with this screen you login with the KOJI_SECRET you set in your .env or docker-compose.yml file.

Import existing Projects

  1. After logging in, click the Map button

  2. Open up the drawer, and go to the Import panel

  3. Click the Import Wizard button

  4. In the JSON section, click Browse and select your desired file, such as the areas.json file from ReactMap (opens in a new tab) or geofence.json from PoracleJS (opens in a new tab)

  5. No matter what format you use, they will be converted into standard GeoJSON features

  6. Click Next

  7. If the features from your file have a name property that isn't called name, you can select which one Kōji should use in step 2

    Import Name Page
  8. You can also select which properties you would like to save to the Kōji database

  9. There are two special actions, "Combine by Name Key" and "Split Multi Polygons"

    • "Combine by Name Key" will combine all features with the same name into one feature (rare)
    • "Split Multi Polygons" will split any MultiPolygons into multiple Polygons, this might be useful if your integration does not support MultiPolygons
  10. Click Next

  11. Now you can choose to assign each feature a mode and a project to be associated with. If you haven't already created a project, you can add one directly from this menu by typing in the name of the new project and clicking Add {project_name}

    Import Mode Page
  12. Click Next

  13. Same as above but for routes

  14. At any point you can check out the current code generated and a preview of your features on a map

    Map Preview
  15. Click Save to Kōji to save all of the selected routes and fences to the respective tables in the Kōji database

    Import Name Page
  16. Repeat for however many projects/files you want to import! The import wizard can import from all sorts of differnet sources, including Nominatim and shape files.