zverik / level0 Goto Github PK
View Code? Open in Web Editor NEWWeb-based OpenStreetMap Editor
Home Page: http://level0.osmz.ru
Web-based OpenStreetMap Editor
Home Page: http://level0.osmz.ru
The map should have © OpenStreetMap contributors
footer.
https://www.openstreetmap.org/copyright/en
File from step 2:
<node id='93515942' version='5' lat='47.2357170' lon='11.2999641' user='simon04' uid='57945' changeset='10975714' timestamp='2012-03-14T09:18:29Z'>
File from step 4:
<node id='93515942' version='5' lat='47.2357170' lon='11.2999641' action='modify' timestamp='2016-09-26T06:45:49+0000'>
Instead of writing timestamp='2016-09-26T06:45:49+0000'
, write timestamp='2016-09-26T06:45:49Z'
since +0000
is invalid according to https://www.w3.org/TR/xmlschema-2/#dateTime-timezones
This behavior breaks reading the OSM file in JOSM, see https://josm.openstreetmap.de/ticket/13690
Trying to delete a few simple ways today by setting minus signs in front of the 'way' and 'node' statements, the upload failed with error 412 (Precondition Failed), complaining that a node was still used by a way, which I however tried to delete in the same changeset. In L0 statement, each way deletion appeared before its nodes.
Looking at the OsmChange contents I found all nodes being sorted numerically, followed by the numerically sorted ways. Maybe the ways should be listed first?
(I worked around for that edit by removing only the ways in the first changeset, then loading only the nodes via the temporary OsmChange file, and deleting them afterwords.)
ERR_CONNECTION_TIMED_OUT
Sorry for bothering once again.
http://lampone.zapto.org/Level0/www
Eventually I can login into osm account, but after been authorized, there is no redirection; osm page generates link to application as expected; if I follow the link I'm back again in the initial non-logged Level0 page.
I read in nginx error.log:
rewrite or internal redirection cycle while internally redirecting to "/index.html"
As far as you know, should inspect nginx conf or could be caused by Level0 files stored in subfolder (not document root)?
Openstreetmap oauth page (I left last 3 unchanged):
Chiave del consumatore: xxxx
Codice segreto dell'utilizzatore: yyyy
URL del token di richiesta: https://www.openstreetmap.org/oauth/request_token
URL del token di accesso: https://www.openstreetmap.org/oauth/access_token
Autorizza URL: https://www.openstreetmap.org/oauth/authorize
OAuth token was lost, please relogin
- there is no such word as "relogin", it should be "please log in again".
Add https to urls in Useful links: <a href="http://wiki.openstreetmap.org/wiki/Level0">about this editor</a>, <a href="http://wiki.openstreetmap.org/wiki/Level0L">language reference</a>, <a href="http://wiki.openstreetmap.org/wiki/Map_Features">tag reference</a>, <a href="http://taginfo.openstreetmap.org/">tag statistics</a>.
When deleting a way or a relation, editor needs a button to download (and delete?) all affected members.
node
foo\=bar\=baz
foo\ = bar\=baz
foo\=bar\ = baz
should evaluate to three different keys, but the first one is split at the last =
.
Also, screening backslashes are not removed.
A single changeset object:
changeset
source = survey
created_by = level0
If present, use for changeset tags. Error if there is more that one object. Will resolve #7.
Is there a way to set a recommended changeset comment via a URL parameter?
Ссылку с других адресов Overpass API Level0 не воспринимает.
overpass.kumi.systems/api/
overpass.openstreetmap.ru/cgi/
overpass.openstreetmap.fr/api/
When we first use the editor, it is centered at
30, 0
Perhaps have it centered instead, at the location the browser says the user is at.
Hi,
your server has an issue accepting the SSL certificate of osm.org
OAuth error -1: making the request failed (Peer certificate cannot be authenticated with given CA certificates)
That's likely related to the change of Root certificate by Let's Encrypt.
When trying to load data from Overpass API level0 does not read data.
Level0 locale is german.
http://overpass-api.de/api/interpreter?data=[out%3Axml][timeout%3A25]%3B%28way%2823159132%29%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B
as URLlevel0 displays lots of "no version for object ..." errors.
This(?) also has broken the level0 links coming from taginfo, e.g. from here: http://taginfo.openstreetmap.org/keys/?key=maxspeed%3D30#overview
Editing a single POI works fine but when I download a region, edit a POI and click "upload to OSM (after writing a changeset comment of course) the browser gives a very weird OAUTH warning:
OAuth-Fehler 412 bei Schritt "upload": Precondition failed: Relation with id 1488247 cannot be saved due to Node with id 2147483647.
(That node seems to be from France and hot deleted 9 months (!) ago)
Tested with
Chromium version 34.0.1847.116 Debian jessie/sid (260972)
Iceweasel 24.4.0
(yes, they give both the same error)
At the bottom of the screen are
Useful links: about this editor, language reference, tag reference, tag statistics.
Perhaps add a link to this https://github.com/Zverik/Level0 .
Sometimes map center is set at coordinates "30, 0" and features list is empty.
Example:
http://level0.osmz.ru/?url=18/46.1875/13.458333
As far as I tested, it happens in low density areas.
Recently, for some reason the Level0 website is asking me to log in everyday if I want to use it.
I went to my OSM account to look at something and discovered that Level0 had around 10 active OAuth requests (see https://www.openstreetmap.org/user/u/oauth_clients).
My knowledge of OAuth is very superficial, so I have no idea what the problem may be.
Allow links from overpass. Set a timeout and maximum size, just in case.
If I enter a comment for the changeset and then press enter, the editor:
a) does not commit the changeset, but tries to load new data and complains about a missing URL
b) If the changeset comment contains a special character like " only the part in front of this character is retained, the part after it is lost.
Would improve handling if these two issues could be fixed.
I'm running a script which extracts specific OSM notes and list them in a telegram message.
It would be nice such message contain not just note link, but also links to l0l, preparing map at note coordinates and possibly pre-loading data around a such coordinates. Is this possible?
Looking at documentation I've fount example of pre-loading a node ("To open the editor with a preloaded object or map region, use url query parameter: e.g. http://level0.osmz.ru/?url=node/240095754"), but no examples of "preloaded map region".
I made some attempts trying for instance
http://level0.osmz.ru/index.php/map=17/41.882874/4.321425
but map keeps displaying map at coordinate from cache.
When adding a changeset to the editor, I see no difference between "Add to editor" and "Revert changes". Let's add c38062689, which created 5 relations and turned a way around. The editor shows the CS as it was submitted to the database, such as turn:lanes:backward and the relations as new objects with negative IDs.
When I submit this, the way remains unchanged, and the relations are added to the database again, so I have twice as much. I removed them later with loading the relation numbers manually and putting the minus in front.
From the button "Revert changes" I would expect some reverting support, such at least finding the object IDs of the relations added, and maybe loading the state of the way before the CS in question, and maybe adding minus signs for created objects in order to delete them.
If that is not possible, disabling the "Revert changes" button would avoid confusion.
Some button or hidden text, so at least some summary for modified objects is available.
Can you allow links from http://overpass.openstreetmap.ie/api/ ?
This overpass contains data for the island of Ireland and is updated from geofabrik's country daily diffs.
Thanks.
subj. Just make locales.py update|deploy|pot
. Also check for downloaded languages to have more than 60% translated.
Apostrophes are not escaped when downloading a osm file. so, when I try to open this file in josm it complains about an invalid xml file. an example file is included
https://gist.github.com/wvanderp/d4efadb577639d058e60d68b1041fa0e
One button sais
".osm-Datei herutnerladen" where it should be
".osm-Datei herunterladen"
It would be nice to have the possibility to enter the changeset source too (like with JOSM).
OT: Else the editor is a nice tool I use frequently.
If I write a changeset comment (without submitting it), and then add other objects to the editor (or login or other actions), the changeset comment's field is blanked.
Please update translations, the last update was 5 years ago!
I want to auto-generate URLs like https://level0.osmz.ru/way/123456 that will, when clicked/visited, load that particular object in the editor and save me the effort of having to copy/paste a URL into the text field and click Add to editor.
http://www.openstreetmap.org/relation/2885600#map=14/48.3455/18.1261
use object, not map
I followed all wiki steps, but still logging-in returns an error http 500. Here's oauth client settings:
Nome (Richiesto): LamponeLevel0
URL applicazione principale (Richiesto): http://lampone.zapto.org/Level0/www/index.php
Requested authorizations:
in config.php I inserted only
deploy_locale ran smoothly
Is there anything I miss?
When I fix an object that has a trailing space, or a key with an empty value, the space or the key with the empty value is already removed automatically while the data are added to the editor.
If nothing else is changed in the data, Level0 complains "Nothing to upload" and does not create a changeset.
...in keys and values (if it's not done already)
Hi,
500 seems kinda low for certain usecases. Would it be possible to increase it to 1000 or maybe even more. (with computers these days, it shouldn't really be that big of a problem for those)
Cheers,
thibault
For relations. Extract way drawing to a separate function.
Just use the first node.
subj. Need a better representation, so that export = import.
So a user can have their region shown. Or just use cookies.
When trying to open Level0 with some data from overpass API which contains '"' like this call the editor complains:
Failed to open XML stream
and doesn't show any data loaded.
I discovered this issue while looking at "opening hours" in taginfo; e.g.:
http://taginfo.osm.org/tags/opening_hours=%22by%20appointment%20only%22#
When you upload a change can you make changeset in report message a url link.
ie for:
"Changeset 22558369 was uploaded successfully."
Can 22558369 be a url link to http://www.openstreetmap.org/changeset/22558369
Thanks
I get "Error! There is no OAuth secret!" on login attempt.
Firefox 85.0.1
Trailing spaces are removed → mark object as modified.
The owner of level0.osmz.ru has configured their website improperly.
- The certificate is not trusted because it is self-signed.
- The certificate expired on September 6, 2015, 9:49:00 AM GMT.
HTTPS is necessary to log in to OSM with OAuth, logging in fails as of now.
Am I being man-in-the-middled or are you not providing a valid cert?
The translations to Persian are complete on transifex. It would be nice to add it on supported locales.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.