jocelynj / osm Goto Github PK
View Code? Open in Web Editor NEWScripts for OpenStreetMaps
Home Page: http://jocelyn.alwaysdata.net/osm/
Scripts for OpenStreetMaps
Home Page: http://jocelyn.alwaysdata.net/osm/
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.
Que penses-tu de passer osc_modif dans osm-fr ?
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.
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"?
Questions:
Will 'osc_modify.py' only called from 'update.py' or also invoked direct?
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 (...)'.
If only from update.py, I ignore the "if __name__ == __main__
" block.
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.
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.