Socket
Book a DemoInstallSign in
Socket

geovisto-geo-downloader

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geovisto-geo-downloader

Geovisto tool which provides support for geographical objects downloading

0.9.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Geovisto Geo Downloader Tool

Module for the Geovisto core library.

Provides user interface for downloading points or polygons from OverpassAPI (OSM) of selected country. Geographical objects can be downloaded from more than one administrative levels. (e.g. districts, regions, towns, ...) For polygons, tool provides additional simplification of borders and automatic generating of hierarhy configuration used in Geovisto Hierarchy Tool. (link)

This repository is a snapshot of Geoviosto tools/downloader derived from the development repository: geovisto/geovisto-map.

Usage

import {
    GeovistoGeoDownloaderTool
} from 'geovisto-geo-downloader';

// create instance of map with given props
const map = Geovisto.createMap({
  // ...
  tools?: Geovisto.createMapToolsManager([
    // instances of Geovisto tools (extensions) which will be directly used in the map
    // Instance of downloader tool
    GeovistoGeoDownloaderTool.createTool({
        id: "geovisto-geo-downloader"
    }),
  ])
});

// rendering of the map
map.draw(Geovisto.getMapConfigManagerFactory().default({
  // initial settings of the map can be overriden by the map config - JSON structure providing user settings

  tools?: [
    // config of Geovisto tools (extensions) used in the map
    {
        "type": "geovisto-geo-downloader",
        "id": "geovisto-geo-downloader",
        "enabled": true
    }
));

Installation

npm install --save geovisto-geo-downloader

This package serves as an extension of Geovisto core using the API for Geovisto tools (extensions). Follow Geovisto core on Github.

License

MIT

Keywords

gis

FAQs

Package last updated on 31 May 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.