Skip to content

recogito/plugin-geotagging

Repository files navigation

Recogito Geotagging Plugin

A geo-tagging plugin for Recogito.

A screenshot of the Recogito Geo-Tagging plugin

Installation

  1. Install the plugin package via npm
npm install @recogito/plugin-geotagging
  1. Configure the plugin in the astro.config.mjs file:
// astro.config.mjs
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import netlify from '@astrojs/netlify';

// Import the plugin
import GeoTaggingPlugin from '@recogito/plugin-geotagging';

export default defineConfig({
  integrations: [
    react(),
    // Add the plugin to the integrations list
    GeoTaggingPlugin()
  ],
  output: 'server',
  adapter: netlify(),
  vite: {
    ssr: {
      noExternal: ['clsx', '@phosphor-icons/*', '@radix-ui/*']
    },
    optimizeDeps: {
      esbuildOptions: {
        target: 'esnext'
      }
    }
  }
});
  1. Restart the Recogito Studio client.

Important: Installation with Recogito Studio 1.4 and older

For Recogito Studio 1.4 or older, you must use v0.1 of this plugin. Newer versions of the plugin require at least Recogito Studio 1.5.

To install the plugin with Recogito 1.4 or older:

  • Go to the folder where your recogito-client is installed.
  • Go into the /plugins folder.
  • Clone the source code for v0.1 of this plugin into the current folder.
git clone --branch v0.1 https://github.com/recogito/geotagger.git
  • Go back to the root folder of your recogito-client installation
  • Run npm install
  • Restart the Recogito Studio client.

Acknowledgements

Development of the geo-tagging plugin was supported by the Open University's Open Societal Challenges Programme and the ATRIUM research project.

About

Recogito Geotagging Plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published