Skip to content

yuiseki/osm-address-editor-vite

Repository files navigation

osm-address-editor-vite

What is this

This project aims to make editing addresses in OpenStreetMap fun and easy.

How it works

The map is displayed in react-map-gl and maplibre-gl-js.
When you move and zoom the map, fetch buildings information via the Overpass API.
Then fetch the information of the user who last edited the building via OpenStreetMap API v0.6.

This project uses following apis and npm packages:

API

Library

Structure

  • index.html
    • Static HTML just load src/main.tsx
  • src/
    • main.tsx
      • Script file just load App.tsx
    • App.tsx
      • Main entrypoint of this project
    • components/
      • Separable, Reusable UI components
      • Feature/address/countries.ts
        • Most important code to localize fields of form of to edit address in many country
    • lib/
      • Separable, Reusable libraries

Development

Requirements

  • Node.js v16

Launch dev server

npm ci
npm run dev

open http://127.0.0.1:3000/osm-address-editor-vite/

About

๐Ÿ—บ๐Ÿ™Œ Web app that makes editing OpenStreetMap building addresses fun and easy

Topics

Resources

License

Stars

Watchers

Forks

Languages