Git Product home page Git Product logo

rosemary's People

Stargazers

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

Watchers

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

rosemary's Issues

wheelchair=unknown

Please stop the use of wheelchair=unknown (example: http://www.openstreetmap.org/browse/node/2478755624). Added from scratch, this tag conveys the same information as the plain absence of a wheelchair tag. Sometimes existing wheelchair=yes|no are replaced by unknown: in these cases information previously entered is destroyed.

Wheelmap corrupts OSM tagging if a tag contains &

If a tag contains & and you edit this POI via Wheelmap web interface, Wheelmap replaces & by & afterwards. At the second time you edit this object via Wheelmap, Wheelmap replaces & by & at OSM data. In other words, every time a Wheelmap user modifies an object which has a tag which contains &, this & is changed to &. This changes OSM data (or, in other words, corrupts them).

Example: If I go to Sachsenheim station, click on "Edit" and afterwards on "Save" (without editing anything) operator=DB Station&Service AG is replaced by operator=DB Station&Service AG.

It seems that every OSM tag can be corrupted this way. I have fixed this type of data corruption today in whole Germany (search data via Overpass API and fix it object by object).

The bug only occurs if the data is edited by logged-in users. Edits done anonymously do not cause these data corruptions. It seems that only the web interface and neither the Android nor the iOS app is affected.

Server URI is hard-coded

As far as I can tell, there is no way of overriding the hard-coded default server URI in the constructor or elsewhere (without patching the code, obviously). A default of the OSM servers is fine, but the user should be able to pass their own server details into the constructor (e.g. to make the library access XAPI instead of the editing API).

Map features

When I added a node, for example :

node = Rosemary::Node.new(:lat => x, :lon => y , :tags => "amenity=restaurant")

is this correct? and if it's not, is there a way to add features?

Tag value warnings

It looks like the Rosemary editor can create a tag that gives warnings in JOSM editor version 11441.

Changeset: 34767398

Node: 462911379
Version 8
created_by rosemary v0.4.4

wheelchair:description

There are 2 warnings:

Multiple white spaces
Character code less than 0x20

trim tags

Before uploading an object to OSM, please make sure to trim extra whitespace in tags that have been modified, e.g. wheelchair:description=" Stufen". Wheelmap is one of the main sources of such superfluous whitespace. The easiest solution will probably be to apply trimming immediately when reading the contents of a text field.

support GIS-geomtries from OSM

I want to extract the GIS geometry from a given OSM node/way/relation and use it with rgeo or any other ruby geo library.

Support efficient requests for multiple elements at once

It is currently not possible to retrieve multiple elements at once. For instance, if I want to download all nodes relating to a relation, I have to load all its ways first, and then all corresponding nodes. Each element generates a HTTP get request. As a result, a relation consisting of say 10 ways with 10 nodes each requires 111 HTTP get requests.

The API, however, supports the retrieval of multiple elements at once:

"Multi fetch: GET /api/0.6/[nodes|ways|relations]?#parameters
Allows a user to fetch multiple elements at once.
Parameters
[nodes|ways|relations]=comma separated list
The parameter has to be the same in the URL (e.g. /api/0.6/nodes?nodes=123,456,789)"
(from http://wiki.openstreetmap.org/wiki/API_v0.6)

It would be really nice if your API could implement methods like "api.find_nodes([1,2,3,4,5])" to get multiple elements at once.

undefined method `strip' for nil:NilClass

./lib/rosemary/tags.rb:19 :in []=' ./lib/rosemary/element.rb:135 :inblock in add_tags'
./lib/rosemary/element.rb:134 :in each' ./lib/rosemary/element.rb:134 :inadd_tags'
./spec/models/node_spec.rb:170 :in `block (2 levels) in <top (required)>'

nodes at (0,0)

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.