nuelsoft / geotest

exploring geo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geotest πŸ—ΊπŸ“

Exploring use of the open street maps api to display features of an enclosed geo box (bounding box)

Usage 🍷

Install dependencies ⬇️

yarn install

Test πŸ§ͺ

yarn test

Start πŸš€

This solution features a http server, which must be run on a port. Specify your preferred port by running as follows

PORT=<PORT> yarn start

When port is not set, application resolves to 9000.

Client application is can be accessed at http://<your_host>:<your_port ?? 9000>/ Ex: http://localhost:9000/. See screenshots of usage below.

Shots πŸ“Έ

Successful Usage success

Usage with errors success

Api πŸ”₯

The solution also exposes an API interface

Get OSM GeoJSON

  • Endpoint: /osm/get
  • Method: GET
  • Query Params: min_lon, min_lat, max_lon, max_lat

About

exploring geo


Languages

Language:JavaScript 76.4%Language:HTML 23.6%