
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@gisatcz/deckgl-geolib
Advanced tools
The Geolib Visualizer is a library that extends the deck.gl framework to enable the visualization of geospatial data,
currently supporting Cloud-Optimized GeoTIFF (COG) files. This library offers an efficient way to display bitmap and
terrain data in applications with advanced customization options using CogBitmapLayer
and CogTerrainLayer. Another developed libraries GeoImage
and CogTiles enhance rendering options.
To use the Geolib Visualizer library, you need to have deck.gl and its dependencies installed.
Install the Geolib Visualizer via npm or yarn:
npm install @gisatcz/deckgl-geolib
or
yarn add @gisatcz/deckgl-geolib
For more information, visit the npm package page. You can visit the package page to explore further versions and additional information.
For seamless integration of Geolib Visualizer library, please make sure you have followed our workflow Data Preparation Guide for converting GeoTIFFs to COG files.
Import package into project:
import geolib from '@gisatcz/deckgl-geolib'
The CogBitmapLayer is designed for visualizing Cloud-Optimized GeoTIFF files as raster layers.
The example below demonstrates its implementation, for more information and examples refer to the CogBitmapLayer.
const CogBitmapLayer = geolib.CogBitmapLayer;
const cogLayer = new CogBitmapLayer(
id: 'cog_bitmap_name',
rasterData: 'cog_bitmap_data_url.tif',
isTiled: true,
cogBitmapOptions: {
type: 'image'
}
);
For 3D terrain rendering, use CogTerrainLayer to visualize elevation data stored
in Cloud-Optimized GeoTIFF format, for more information and examples refer to the CogTerrainLayer.
const CogTerrainLayer = geolib.CogTerrainLayer;
const cogLayer = new CogTerrainLayer(
id: 'cog_terrain_name',
elevationData: 'cog_terrain_data_url.tif',
isTiled: true,
tileSize: 256,
meshMaxError: 1,
operation: 'terrain+draw',
terrainOptions: {
type: 'terrain',
}
);
add layer to DeckGL instance, visit deck.gl for more about deck.gl compoments.
<DeckGL
initialViewState={INITIAL_VIEW_STATE}
controller={true}
layers={cogLayer} />
Clone the repository and install dependencies
yarn install
Start an example
yarn start
The example is defaultly running at http://localhost:5173/
The bitmap and terrain example files are located here example/src/examples
FAQs
Unknown package
The npm package @gisatcz/deckgl-geolib receives a total of 169 weekly downloads. As such, @gisatcz/deckgl-geolib popularity was classified as not popular.
We found that @gisatcz/deckgl-geolib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.