Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 766 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 766 Bytes

ESGeoLocParsing - parse geo locations like ElasticSearch

Build and test

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.