Git Product home page Git Product logo

surway's Introduction

Surway

Deploy Surway

An OpenStreetMap surveyor app. Runs on https://surway.hovland.xyz.

The development progress of this app has been documented in this blog series.

Features

  • Shows nearby OSM ways on a map.
  • Shows OSM tags for the way nearest you.
  • Editor for notes geo-located at your current position (useful for later editing).
  • Uploading notes to OSM.
  • Screen wake-lock; ability to keep screen on (on supported browsers/devices).

Planned features

  • OSM authentication, so notes are not posted anonymously.

  • Uploading to OSM

    • GPX tracks
    • Points of interest (POI)
  • Turn map position tracking on/off, including auto off when panning.

  • Being able to add a geo-located note or POI anywhere on the map.

  • PWA features

    • Manifest for showing the web app as a phone app.
    • Being able to reopen the app and show the previously downloaded ways while being offline.
    • Push notifications when an alert triggers (see below).
  • Downloading third-party nearby notes from OSM (for surveying).

  • Configurable alerts, e.g.

    • When you are no longer near a way.
    • When a major road is missing a name.
  • Choosing between north up/head up.

Building and running

Install Trunk, then run:

trunk serve      

Contributing

Issues, discussions, and pull requests are welcome!

surway's People

Contributors

dependabot[bot] avatar torhovland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

surway's Issues

Error from HTML pipeline (fresh install and run)

trunk version 0.17.5
sass version 1.69.5

git clone to D:\Work\surway

I don't know how to determine the error

error from HTML pipeline

Caused by:
    0: error from asset pipeline
    1: cargo artifacts not found for target crate

from the following output

$ trunk serve --verbose
2023-11-28T16:04:38.965917Z  INFO  starting build
2023-11-28T16:04:38.969266Z  INFO spawning asset pipelines
2023-11-28T16:04:39.126027Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\android-chrome-512x512.png"
2023-11-28T16:04:39.126048Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\browserconfig.xml"
2023-11-28T16:04:39.126056Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\apple-touch-icon.png"
2023-11-28T16:04:39.126069Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\favicon.ico"
2023-11-28T16:04:39.126104Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\safari-pinned-tab.svg"
2023-11-28T16:04:39.126071Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\favicon-16x16.png"
2023-11-28T16:04:39.126081Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\favicon-32x32.png"
2023-11-28T16:04:39.126092Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\mstile-150x150.png"
2023-11-28T16:04:39.126111Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\site.webmanifest"
2023-11-28T16:04:39.126029Z  INFO copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\android-chrome-192x192.png"
2023-11-28T16:04:39.126179Z  INFO copying directory path="\\\\?\\D:\\Work\\surway\\src\\icons"
2023-11-28T16:04:39.126207Z  INFO building surway
2023-11-28T16:04:39.127104Z DEBUG cargo args args=["build", "--target=wasm32-unknown-unknown", "--manifest-path", "D:\\Work\\surway\\Cargo.toml"]
2023-11-28T16:04:39.127266Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\android-chrome-512x512.png"
2023-11-28T16:04:39.127804Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\browserconfig.xml"
2023-11-28T16:04:39.128281Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\apple-touch-icon.png"
2023-11-28T16:04:39.127846Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\favicon.ico"
2023-11-28T16:04:39.128091Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\favicon-16x16.png"
2023-11-28T16:04:39.128110Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\safari-pinned-tab.svg"
2023-11-28T16:04:39.128181Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\mstile-150x150.png"
2023-11-28T16:04:39.127836Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\favicon-32x32.png"
2023-11-28T16:04:39.128536Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\site.webmanifest"
2023-11-28T16:04:39.128548Z  INFO finished copying file path="\\\\?\\D:\\Work\\surway\\src\\favicon\\android-chrome-192x192.png"
2023-11-28T16:04:39.134366Z  INFO finished copying directory path="\\\\?\\D:\\Work\\surway\\src\\icons"
2023-11-28T16:04:39.438231Z  INFO using system installed binary app=sass version=1.69.5 compiled with dart2js 3.1.5
2023-11-28T16:04:39.438273Z  INFO compiling sass/scss path="\\\\?\\D:\\Work\\surway\\src\\styles\\index.scss"
2023-11-28T16:04:39.438282Z DEBUG sass args args=["--no-source-map", "-s", "expanded", "D:\\Work\\surway\\src\\styles\\index.scss", "D:\\Work\\surway\\dist\\.stage\\index.css"]
2023-11-28T16:04:39.438327Z  INFO using system installed binary app=sass version=1.69.5 compiled with dart2js 3.1.5
2023-11-28T16:04:39.438355Z  INFO compiling sass/scss path="\\\\?\\D:\\Work\\surway\\src\\styles\\spectre\\spectre.scss"
2023-11-28T16:04:39.438363Z DEBUG sass args args=["--no-source-map", "-s", "expanded", "D:\\Work\\surway\\src\\styles\\spectre\\spectre.scss", "D:\\Work\\surway\\dist\\.stage\\spectre.css"]
    Finished dev [optimized + debuginfo] target(s) in 0.34s
warning: the following packages contain code that will be rejected by a future version of Rust: console_log v0.2.0, quick-xml v0.22.0, stdweb v0.4.20
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
2023-11-28T16:04:39.628991Z  INFO fetching cargo artifacts
2023-11-28T16:04:39.817966Z  INFO finished compiling sass/scss path="\\\\?\\D:\\Work\\surway\\src\\styles\\index.scss"
2023-11-28T16:04:40.129312Z ERROR  error
error from HTML pipeline

Caused by:
    0: error from asset pipeline
    1: cargo artifacts not found for target crate
2023-11-28T16:04:40.137948Z  INFO  serving static assets at -> /
2023-11-28T16:04:40.139209Z  INFO  server listening at http://127.0.0.1:8088
2023-11-28T16:04:40.247274Z  INFO finished compiling sass/scss path="\\\\?\\D:\\Work\\surway\\src\\styles\\spectre\\spectre.scss"
2023-11-28T16:04:47.051795Z DEBUG received shutdown signal
2023-11-28T16:04:47.051853Z DEBUG watcher system has shut down
2023-11-28T16:04:47.051860Z DEBUG server is shutting down

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.