0.0.2 • Published 2 years ago

es-geolocparser v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

ESGeoLocParsing - parse geo locations like ElasticSearch

Setup

$ npm install

Usage

import { ESGeoLocParsing } from 'es-geolocparsing'

const input         = "42.17,17.42"
const parsingResult = new ESGeoLocParsing().parseGeoLoc(input)

console.log(parsingResult.parserName + " did it!")
const geoLoc = parsingResult.geoLocation

// geoLoc.lat, geoLoc.lon, geoLoc.toArray()

Authors and License

(c) 2022 Mirko Westermeier, Service Center for Digital Humanities, University of Muenster

Published under the MIT license. See LICENSE for details.