Code Monkey home page Code Monkey logo

osm's People

Contributors

jocelynj avatar wk-gihu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wk-gihu osm-fr

osm's Issues

OpenStreetMap import will break if links aren't updated before May 7

http://planet.openstreetmap.org is available over https, and will start redirecting to https on 2018-05-07.

Your project seems to be using osmosis, which will not follow redirects by default.

Would it please be possible to update all files from http://planet.openstreetmap.org to httpS://planet.openstreetmap.org before then?

Ideally, would it be possible to make all requests to openstreetmap.org over https? All services respond over https and will start redirecting soon.

Insight into the update process

You wrote "...to generate diffs country from planet diff...".
Why from "planet diff"?
Where did this "planet diff" come from?

Could you explain more about "inside, outside"?

osc_modif.py Questions and suggestions

Questions:

  1. Will 'osc_modify.py' only called from 'update.py' or also invoked direct?

  2. If also directly, which differs from the call by 'update.py',
    my first suggestion would be to harmonize all calls to 'osc_modify.osc_modify (...)'.

  3. If only from update.py, I ignore the "if __name__ == __main__" block.

  4. In 'try: ... except' block, the 'except' branch will not work if called from 'update.py',
    because "config.dbs" and "config.dpb" are not defined.

    The 'try' block may be omitted if 'options.osmbin_path' is always defined.
    But until now, I know the difference of "OsmBin" and "OsmOsis.OsmOsis" not yet.

Replication - Compare minute.002

I did not think the different datetime found, will be a bug at all.
But could result in unexpected behavior by any consumer of download.openstreetmap.fr
Seconds are allways :00 because Index Page doesn't show seconds.
Get the following result, up to DirEntry 129:

$python TestReplicationDirTree
Compare (planet.openstreetmap.org/download.openstreetmap.fr) Directory entries in minute.002:
[OK] Entries on download.openstreetmap.fr are the same.
DIR 001 planet=2016-07-10 07:13:00 UTC+0000 o=2016-07-18 00:11:00 CEST+0200 [2016-07-17 22:11:00 UTC+0000] +7 days, 14:58:00
DIR 002 planet=2016-07-10 23:53:00 UTC+0000 o=2016-07-18 03:16:00 CEST+0200 [2016-07-18 01:16:00 UTC+0000] +7 days, 1:23:00
DIR 003 planet=2016-07-11 16:33:00 UTC+0000 o=2016-07-18 04:54:00 CEST+0200 [2016-07-18 02:54:00 UTC+0000] +6 days, 10:21:00
DIR 004 planet=2016-07-12 09:13:00 UTC+0000 o=2016-07-18 05:54:00 CEST+0200 [2016-07-18 03:54:00 UTC+0000] +5 days, 18:41:00
DIR 005 planet=2016-07-13 01:53:00 UTC+0000 o=2016-07-18 07:05:00 CEST+0200 [2016-07-18 05:05:00 UTC+0000] +5 days, 3:12:00
DIR 006 planet=2016-07-13 18:33:00 UTC+0000 o=2016-07-18 11:48:00 CEST+0200 [2016-07-18 09:48:00 UTC+0000] +4 days, 15:15:00
DIR 007 planet=2016-07-14 11:13:00 UTC+0000 o=2016-07-20 14:46:00 CEST+0200 [2016-07-20 12:46:00 UTC+0000] +6 days, 1:33:00
DIR 008 planet=2016-07-15 03:53:00 UTC+0000 o=2016-07-20 16:21:00 CEST+0200 [2016-07-20 14:21:00 UTC+0000] +5 days, 10:28:00
DIR 009 planet=2016-07-15 20:33:00 UTC+0000 o=2016-07-20 19:52:00 CEST+0200 [2016-07-20 17:52:00 UTC+0000] +4 days, 21:19:00
DIR 010 planet=2016-07-16 13:13:00 UTC+0000 o=2016-07-20 21:16:00 CEST+0200 [2016-07-20 19:16:00 UTC+0000] +4 days, 6:03:00
DIR 011 planet=2016-07-17 05:53:00 UTC+0000 o=2016-07-20 22:10:00 CEST+0200 [2016-07-20 20:10:00 UTC+0000] +3 days, 14:17:00
DIR 012 planet=2016-07-17 22:33:00 UTC+0000 o=2016-07-21 02:39:00 CEST+0200 [2016-07-21 00:39:00 UTC+0000] +3 days, 2:06:00
DIR 013 planet=2016-07-18 15:14:00 UTC+0000 o=2016-07-21 04:10:00 CEST+0200 [2016-07-21 02:10:00 UTC+0000] +2 days, 10:56:00
DIR 014 planet=2016-07-19 07:55:00 UTC+0000 o=2016-07-21 07:50:00 CEST+0200 [2016-07-21 05:50:00 UTC+0000] +1 day, 21:55:00
DIR 015 planet=2016-07-20 00:35:00 UTC+0000 o=2016-07-21 09:59:00 CEST+0200 [2016-07-21 07:59:00 UTC+0000] +1 day, 7:24:00
DIR 016 planet=2016-07-20 17:15:00 UTC+0000 o=2016-07-21 11:36:00 CEST+0200 [2016-07-21 09:36:00 UTC+0000] +16:21:00
DIR 017 planet=2016-07-21 09:55:00 UTC+0000 o=2016-07-21 13:52:00 CEST+0200 [2016-07-21 11:52:00 UTC+0000] +1:57:00
DIR 026 planet=2016-07-27 16:01:00 UTC+0000 o=2016-07-27 18:02:00 CEST+0200 [2016-07-27 16:02:00 UTC+0000] +0:01:00
DIR 028 planet=2016-07-29 01:36:00 UTC+0000 o=2016-09-21 22:08:00 CEST+0200 [2016-09-21 20:08:00 UTC+0000] +54 days, 18:32:00
DIR 039 planet=2016-08-05 17:37:00 UTC+0000 o=2016-08-05 19:42:00 CEST+0200 [2016-08-05 17:42:00 UTC+0000] +0:05:00
DIR 041 planet=2016-08-07 02:57:00 UTC+0000 o=2016-08-07 05:20:00 CEST+0200 [2016-08-07 03:20:00 UTC+0000] +0:23:00
DIR 043 planet=2016-08-08 12:17:00 UTC+0000 o=2016-08-08 14:18:00 CEST+0200 [2016-08-08 12:18:00 UTC+0000] +0:01:00
DIR 052 planet=2016-08-14 18:33:00 UTC+0000 o=2016-08-15 13:21:00 CEST+0200 [2016-08-15 11:21:00 UTC+0000] +16:48:00
DIR 053 planet=2016-08-15 11:13:00 UTC+0000 o=2016-08-15 16:09:00 CEST+0200 [2016-08-15 14:09:00 UTC+0000] +2:56:00
DIR 079 planet=2016-09-02 12:46:00 UTC+0000 o=2016-09-02 14:47:00 CEST+0200 [2016-09-02 12:47:00 UTC+0000] +0:01:00
DIR 084 planet=2016-09-06 00:08:00 UTC+0000 o=2016-09-06 02:30:00 CEST+0200 [2016-09-06 00:30:00 UTC+0000] +0:22:00
DIR 092 planet=2016-09-11 14:25:00 UTC+0000 o=2016-09-11 16:24:00 CEST+0200 [2016-09-11 14:24:00 UTC+0000] -0:01:00
DIR 093 planet=2016-09-12 07:05:00 UTC+0000 o=2016-09-12 09:04:00 CEST+0200 [2016-09-12 07:04:00 UTC+0000] -0:01:00
DIR 098 planet=2016-09-15 18:25:00 UTC+0000 o=2016-09-15 20:26:00 CEST+0200 [2016-09-15 18:26:00 UTC+0000] +0:01:00
DIR 103 planet=2016-09-19 05:45:00 UTC+0000 o=2016-09-19 07:46:00 CEST+0200 [2016-09-19 05:46:00 UTC+0000] +0:01:00
Verified 130 entries, found 30 different datetime.

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.