-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Maps] Add gdal integration (#118633)
- Loading branch information
1 parent
899a803
commit 87312b4
Showing
10 changed files
with
197 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 'GDAL', | ||
}), | ||
description: i18n.translate('xpack.maps.registerIntegrations.gdal.integrationDescription', { | ||
defaultMessage: | ||
'Upload shapefiles and ingest from relational databases such as PostGIS or Oracle Spatial with GDAL.', | ||
}), | ||
uiInternalPath: | ||
'https://www.elastic.co/blog/how-to-ingest-geospatial-data-into-elasticsearch-with-gdal', | ||
icons: [ | ||
{ | ||
type: 'svg', | ||
src: core.http.basePath.prepend(`/plugins/${APP_ID}/assets/gdal_logo.svg`), | ||
}, | ||
], | ||
categories: ['upload_file', 'geo'], | ||
shipper: 'other', | ||
isBeta: false, | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters