Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@cognite/geospatial-sdk-js
Advanced tools
Cognite Geospatial SDK - store and query spatial objects in 2D and 3D space
JavaScript (TypeScript) Cognite Geospatial SDK.
To build and compile the typescript sources to javascript use:
yarn install
yarn build
Navigate to the folder of your consuming project and run the following:
yarn install @cognite/geospatial-sdk-js
then initialize like:
import {
CogniteGeospatialClient
} from '@cognite/geospatial-sdk-js';
const getGeoSpatialSDKClient = (project: string, token: string) =>
CogniteGeospatialClient({
project, // eg: your tenant name
token, // eg: bearer token, (OR and api key)
api_key: process.env.REACT_APP_API_KEY,
api_url: 'api.cognitedata.com',
debug: true,
});
...
...
...
Eg, to search for wells:
findSpatial({
limit: 100,
layer: 'point',
source: 'wellmodel',
attributes: ['geometry'],
geometry_rel: {
geometry: {
wkt: SOME_GEOMETRY,
crs: 'EPSG:4326',
},
relation: SpatialRel.Within, // exposed from this package
},
outputCRS: 'epsg:4326',
})
limit - number - The max amount of results to return layer - string - source - string -
FAQs
Cognite Geospatial SDK - store and query spatial objects in 2D and 3D space
We found that @cognite/geospatial-sdk-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 199 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.