Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
cardboard
Advanced tools
[![build status](https://secure.travis-ci.org/mapbox/cardboard.png)](http://travis-ci.org/mapbox/cardboard)
Cardboard provides the query, indexing, and storage logic for GeoJSON feature storage with CRUD on DynamoDB and S3.
npm install cardboard
# or globally
npm install -g cardboard
var c = Cardboard({
accessKeyId: config.awsKey,
secretAccessKey: config.awsSecret,
sessionToken: config.sessionToken,
table: config.DynamoDBTable,
endpoint: 'http://localhost:4567',
bucket: 'test',
prefix: 'test'
});
accessKeyId
, secretAccessKey
, and sessionToken
are optional. See
Configuring the SDK in Node.js for more configuration options.
Initialize a new cardboard database connector given a config object that is sent to dyno.
c.createTable(tableName, callback);
Create a cardboard table with the specified name.
c.insert(primarykey: string, feature: object, layer: string, callback: fn);
Insert a single feature, indexing it with a primary key in a given layer.
// query a bbox, callback-return array of geojson
c.bboxQuery(bbox: array, layer: string, callback: fn);
// delete a feature
c.del(primarykey: string, layer: string, callback: fn);
c.dump(); // -> stream
c.export(); // -> stream
// get information about a dataset (feature count, size, extent)
c.getDatasetInfo(dataset: string, callback: fn);
This project aims to create a simple, fast geospatial index as a layer on top of DynamoDB. This means that the index will not be built into the database or contained in a single R-Tree - it will be baked into the indexes by which data is stored.
While the whole index in kept in DynamoDB, the larger geometries are stored on S3.
Support target:
FAQs
A library for storing and searching geographic features
The npm package cardboard receives a total of 16 weekly downloads. As such, cardboard popularity was classified as not popular.
We found that cardboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 47 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.