Coder Social home page Coder Social logo

level0's People

Contributors

kmpoppe avatar nyurik avatar tyrasd avatar zverik avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

level0's Issues

Timestamp format in OSM export changes when modifying objects

  1. Open http://level0.osmz.ru/?url=node/93515942
  2. Download osm file
  3. Delete a few tags
  4. Download osm file

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

delete ways before nodes?

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.)

Redirecting to index.html

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

Small corrections in some messages

  • 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>.

Escaping '=' seems not to work

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.

Edit changeset tags with l0l

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.

Добавить зеркала Overpass API

Ссылку с других адресов Overpass API Level0 не воспринимает.

overpass.kumi.systems/api/
overpass.openstreetmap.ru/cgi/
overpass.openstreetmap.fr/api/

Startup at the user's location

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.

SSL certificate error

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.

source=* tag for changeset

It would be helpful to have, beside the field for the changeset comment, a form field for the changeset source=* tag.

There was a fix provided for #7 and #12, but I cannot see where a source tag is added in the code?

Loading from Overpass API problem

When trying to load data from Overpass API level0 does not read data.

Level0 locale is german.

  1. Open level0
  2. paste 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 URL
  3. click "replace in editor"

level0 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 an area doesn't work

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)

Two problems with the changeset comment field

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.

Map position and preload

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.

Revert Changes button does not work as expected

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.

changeset source

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.

Hard to move location

When we first use the editor, it is centered at
30, 0
20210916T045304

  • enter 24,121 and hit ENTER on your keyboard, or
  • enter 24,121 and click the arrow to the left of it

Nothing happens.

Login returns http 500

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:

  • leggi le sue preferenze utente (read user preferences)
  • modifica la mappa (modify map)

in config.php I inserted only

  • Chiave del consumatore (user key)
  • Codice segreto dell'utilizzatore (user secret code)

deploy_locale ran smoothly

Is there anything I miss?

Fixing empty values causes "Nothing to upload"

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.

Increase MAX_REQUEST_OBJECTS

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

Login fails

I get "Error! There is no OAuth secret!" on login attempt.

Firefox 85.0.1

Misconfigured HTTPS

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?

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.