Comments (6)
from rosemary.
This error message does not make any sense to me. Is it because of multiple whitespaces in the description text? Or is there a special character in it?
from rosemary.
from rosemary.
Ok, thanks for providing that. Even then I'm not sure if it wasn't job of the API to make sure clients don't send "malicious" data and refuse to serve these API calls.
It's easy to implement a check for double whitespaces. But hey, i can see people with pitchforks and torches coming after me because there is a very good reason to support double whitespaces as tag values.
What is the statement of the OSM API maintainers?
from rosemary.
Maybe a warning can do it.
Like JOSM editor do.
from rosemary.
Rosemary editor
According to https://github.com/sozialhelden/rosemary Rosemary is API client, not editor. Creating a proper editor requires (among others) handling poor/invalid user input.
It looks like the Rosemary editor can create a tag that gives warnings in JOSM editor version 11441.
It did what user instructed it to do, right? It is not a job of API client to run validation rules like that - it should be implemented in editor itself.
from rosemary.
Related Issues (12)
- support GIS-geomtries from OSM HOT 1
- Server URI is hard-coded HOT 2
- Support efficient requests for multiple elements at once HOT 1
- undefined method `strip' for nil:NilClass
- trim tags HOT 5
- nodes at (0,0) HOT 1
- wheelchair=unknown HOT 4
- Map Notes API
- Wheelmap corrupts OSM tagging if a tag contains & HOT 14
- Service Unavailable (Rosemary::Unavailable) HOT 3
- Map features HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosemary.