-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Maps] Add gdal integration #118633
[Maps] Add gdal integration #118633
Changes from 2 commits
201a405
c247569
13ec6df
0de7cb5
396d19f
c8b45b7
ec76a03
2d4e4a1
e9c5042
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { i18n } from '@kbn/i18n'; | ||
import { CoreSetup } from 'kibana/server'; | ||
import { CustomIntegrationsPluginSetup } from '../../../../src/plugins/custom_integrations/server'; | ||
import { APP_ID } from '../common/constants'; | ||
|
||
export function registerIntegrations( | ||
core: CoreSetup, | ||
customIntegrations: CustomIntegrationsPluginSetup | ||
) { | ||
customIntegrations.registerCustomIntegration({ | ||
id: 'ingest_with_gdal', | ||
title: i18n.translate('xpack.maps.registerIntegrations.gdal.integrationTitle', { | ||
defaultMessage: 'Upload geo data with GDAL', | ||
thomasneirynck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
}), | ||
description: i18n.translate('xpack.maps.registerIntegrations.gdal.integrationDescription', { | ||
defaultMessage: | ||
'Upload shapefiles or ingest from relational databases such as PostGIS and OracleSpatial', | ||
thomasneirynck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
}), | ||
uiInternalPath: | ||
'https://www.elastic.co/blog/how-to-ingest-geospatial-data-into-elasticsearch-with-gdal', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we link to something inside the product instead? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not yet. We only have the blog post for now. It is not uncommon for the data-integrations page to link to blog posts, e.g. the Fleet announcements I do agree that in-app documentation would be helpful. |
||
icons: [ | ||
{ | ||
type: 'svg', | ||
src: core.http.basePath.prepend(`/plugins/${APP_ID}/assets/gdal_logo.svg`), | ||
}, | ||
], | ||
categories: ['upload_file', 'geo'], | ||
shipper: 'other', | ||
isBeta: false, | ||
}); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though doc-links is not yet available server-side, adding the link here so it gets validated on release. This is the same approach we've taken with other data-integrations (e.g. language clients).