A geo-tagging plugin for Recogito.
- Install the plugin package via npm
npm install @recogito/plugin-geotagging
- Configure the plugin in the
astro.config.mjsfile:
// 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'
}
}
}
});- Restart the Recogito Studio client.
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-clientis installed. - Go into the
/pluginsfolder. - 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-clientinstallation - Run
npm install - Restart the Recogito Studio client.
Development of the geo-tagging plugin was supported by the Open University's Open Societal Challenges Programme and the ATRIUM research project.
