Skip to content

Parse geo locations like ElasticSearch

License

Notifications You must be signed in to change notification settings

SCDH/es-geolocparser

Repository files navigation

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.

About

Parse geo locations like ElasticSearch

Resources

License

Stars

Watchers

Forks