Giter Site home page Giter Site logo

opening_hours_map's People

Contributors

dex2000 avatar goldfndr avatar holgerjeromin avatar kristjanesperanto avatar matkoniecz avatar ypid 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

opening_hours_map's Issues

Opening hours one hour off due to DST change

Status (green/red circle) on the map is shown correctly, however in POI's details, opening hours are moved by one hour (see example). I observed the same situation in October.

opening_hours

JOSM-QAT no connection

On click on download in qat i get: "Die Internetverbindung funktioniert nicht"
Osmi, Keepright and Osmose works fine.

Josm 8800+java8+win7

mention dependencies

After using make dependencies-get make ready-for-hosting resulted in (among others)

/bin/bash: jq: command not found and /bin/bash: bower: command not found

add check for JS enabled

if i (or somewhere with less knowledge) go to the website with JS disabled i got no message.
But there should be one :)

add option to generate list of objects on the map

I would consider useful to have ability to expot opening hours currently visible on the map to a text-only list.

It would allow to export opening hour data to non-interactive format (main benefit is that it would be printable).

it is likely to be considered to be feature creep - in that case just close it and I will keep code in my own small fork

Link: "josm" or "load all in josm" has no function

in the error popup the links:
"josm" or "load all in josm"
doesnt work anymore (tested in SM,FF,OP,CHR)

Konsole says:
Zeitstempel: 30.08.2014 13:00:05
Fehler: TypeError: top.hiddenframe is undefined
Quelldatei: http://openingh.openstreetmap.de/opening_hours.js/js/helpers.js
Zeile: 6

Have unchecked "https" in josm, doesnt work too.

Tested on http://openingh.openstreetmap.de/?filter=error&zoom=18&lat=50.97925&lon=11.31804&layers=B0T&tags=opening_hours (http://www.openstreetmap.org/way/198003939) and some other in the near.

make links active, which starts with "www" (maybe similar to ticket #226 at opening-hours/opening_hours.js)

Hi all,

I discovered links which starts with "www" (without http or https) for website=www.xxx.xxx and contact:website=www.xxx.xxx are not working.

An example node you can find be running this query:
http://overpass-turbo.eu/s/qbb
http://www.openstreetmap.org/node/2380903579

Viewing the example node using http://openingh.openstreetmap.de looks like:
http://openingh.openstreetmap.de/?zoom=18&lat=50.73593&lon=7.09889&layers=B0T&filter=none&tags=opening_hours
See also picture below: [1]

Maybe this behavior is similar to ticket:
opening-hours/opening_hours.js#226

Thank you & regards
MN

[1]
image

allow filtering

especially in regions with high density of opening hours one may prefer to ignore some classes of objects.

Would it be welcomed to make PR that would allow to specify in URL parameter allowing to add filter to the overpass query?

Check for am and pm

Example:
"7am-5pm" generates: "07:00-05:00" but should be: "07:00-17:00"

MKnight

Typo

" Alle in JSOM laden"

Rewrite UI …

  • Don’t use document.write …
  • Use framework
  • Integrate Nominatim search
  • Show loading icon for overpass query

partially translated content for browser requesting content in Polish

see any POI:

but will close tomorrow, 19 wrzesień, in 17 hour and 52 minute.

but will close tomorrow - in English
wrzesień - in Polish
hour - in English
minute - in German (?)

Interface, except dates is in English

As there is no available translation entire content should be in English.

nonenglish comments

Add "real" "load all errors in JOSM"

The function "load all in Josm" should load all visible Errors in JOSM, not only duplicates of the complete Key like now:
javascript:josm('import?url=http%3A%2F%2Foverpass-api.de%2F api%2Fxapi_meta%3F*%5Bopening_hours %3DMo%209.00%20-12.00%20Uhr%20Di%20-%20 Fr%209.00%20-12.00%20und%2015.00%20-17.00%20Uhr%5D')

recalculate time to closing/opening

Currently once popup is created time to closing/opening stays the same. To recalculate it user must reload page and click again selected place.

It would be preferable to recalculate time till state change every 60 seconds.

https://github.com/openlayers/openlayers/releases/download/release-2.13.1/OpenLayers-2.13.1.tar.gz is gone [PR is waiting]

https://github.com/openlayers/openlayers/releases/download/release-2.13.1/OpenLayers-2.13.1.tar.gz gives for me 404 Github page also in the browser.

As result make dependencies-get mentioned in the readme is failing.

mateusz@Grisznak:~/Desktop/tmp/opening_hours_map$ make dependencies-get
wget --no-clobber -O js/OpenLayers-2.13.1.tar.gz https://github.com/openlayers/openlayers/releases/download/release-2.13.1/OpenLayers-2.13.1.tar.gz
--2017-05-15 07:46:43--  https://github.com/openlayers/openlayers/releases/download/release-2.13.1/OpenLayers-2.13.1.tar.gz
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-05-15 07:46:43 ERROR 404: Not Found.

make: [js/OpenLayers-2.13.1/OpenLayers.js] Error 8 (ignored)
tar -xzf js/OpenLayers-2.13.1.tar.gz -C js/

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make: *** [js/OpenLayers-2.13.1/OpenLayers.js] Error 2

Be even more newbie friendly in "helpful warning in case `git verify-commit` fails"

I reached https://www.gnupg.org/gph/en/manual/x457.html (after some googling).

I am still not entirely sure how to find key ID (is it 489A4D5EC353C98A from using RSA key 489A4D5EC353C98A?')

Anyway, maybe add also explicit command necessary to obtain public key?

My attempt ended with

mateusz@Grisznak:~/Desktop/tmp/opening_hours_map$ gpg --keyserver certserver.pgp.com --recv-key 489A4D5EC353C98A
gpg: requesting key C353C98A from hkp server certserver.pgp.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

(is documentation that I found so old that examples mention dead servers)

next one went better

mateusz@Grisznak:~/Desktop/tmp/opening_hours_map$ gpg --keyserver pool.sks-keyservers.net --recv-key 489A4D5EC353C98A
gpg: requesting key C353C98A from hkp server pool.sks-keyservers.net
gpg: key C353C98A: public key "Robin Schneider (Automatic Signing Key) <[email protected]>" imported
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: next trustdb check due at 2017-05-26
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

but I am not entirely sure whatever I used safe keyserver and which one, if any would be better.

gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.

On make dependencies-get seems to indicate that I should use other keyserver.

(that is from person that I roughly aware how public key cryptography works and never interacted with gpg beyond what is exposed by add-apt-repository)

missing make clean

as result of #46 I downloaded malformed file (404 response) and ended with 0 byte files in opening_hours_map/js/OpenLayers-2.13.1.tar.gz.

As result make dependencies-get is crashing.

mateusz@Grisznak:~/Desktop/tmp/opening_hours_map$ make dependencies-get
wget --no-clobber -O js/OpenLayers-2.13.1.tar.gz https://github.com/openlayers/ol2/releases/download/release-2.13.1/OpenLayers-2.13.1.tar.gz
File `js/OpenLayers-2.13.1.tar.gz' already there; not retrieving.
make: [js/OpenLayers-2.13.1/OpenLayers.js] Error 1 (ignored)
tar -xzf js/OpenLayers-2.13.1.tar.gz -C js/

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make: *** [js/OpenLayers-2.13.1/OpenLayers.js] Error 2

I expected make clean to fix this but it does not exists.

Die zugrundeliegenden Daten stammen von der Overpass API.

Die zugrundeliegenden Daten stammen von der Overpass API.

Keine Idee grad, wie man das schöner formulieren könnte, aber SO ist das imho nicht richtig, da die Daten von OSM via Overpass-api kommen.
In der englischen Variante ist es ähnlich "falsch".

Give some feedback on failure of 'git verify-commit HEAD'

I guess that git verify-commit check in dependencies-get guards against potential MITM attacks that potentially would lead to execution of arbitrary code.

Butt is not at all clear what one is supposed to do in case of errors like

mateusz@Grisznak:~/Desktop/tmp/opening_hours_map$ make dependencies-get 
git submodule update --init
cd opening_hours.js/ && git verify-commit HEAD && git submodule update --init --recursive
gpg: Signature made nie, 19 mar 2017, 23:08:19 CET
gpg:                using RSA key 489A4D5EC353C98A
gpg: Can't check signature: public key not found
make: *** [dependencies-get] Error 1

(in my case I simply edited makefile to get rid of that check)

URL with "filter=errorOnly" (permalink-problem?) doesnt work correctly

Steps to reproduce:

Deutsch:
Wenn ich ich die Checkbox "Nur Fehler" auswähle und auf den Permalink klicke bekomme ich zwar eine scheinbar korrekte URL mit &filter=errorOnly aber weder ist danach diе checkbox ausgewählt noch weiss die Karte etwas davon.

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.