This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>OHM non-admin boundary lines</title> | |
| <link rel="stylesheet" href="https://unpkg.com/maplibre-gl@4.7.1/dist/maplibre-gl.css"> | |
| <script src="https://unpkg.com/maplibre-gl@4.7.1/dist/maplibre-gl.js"></script> | |
| <style> | |
| html, body, #map { margin: 0; height: 100%; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # frozen_string_literal: true | |
| # Copies the OHM keys changed by Translatewiki (origin/staging..origin/translatewiki) into config/locales/overrides/. Run from the ohm-website repo; --dry-run to preview. | |
| require "open3" | |
| require "yaml" | |
| ROOT = File.expand_path(ENV.fetch("OHM_WEBSITE", Dir.pwd)) | |
| LOCALES = File.join(ROOT, "config", "locales") |
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 9 columns, instead of 2 in line 8.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| src,ohm_type,ohm_id,ref,name,start_date,end_date,problem,url | |
| route_multilines,relation,2660797,32,"",1930,uncertain,bad_end ,https://www.openhistoricalmap.org/relation/2660797 | |
| route_multilines,relation,2835893,551,"",1954-09-31,1958-05-31,bad_start ,https://www.openhistoricalmap.org/relation/2835893 | |
| route_multilines,relation,2738886,85,"",2022,1993-12-31,start_after_end,https://www.openhistoricalmap.org/relation/2738886 | |
| route_multilines,relation,2739705,83,"",1988-03-01,1985-06-01,start_after_end,https://www.openhistoricalmap.org/relation/2739705 | |
| route_multilines,relation,2744414,6,ๅ ญ่ๅนน็ท๏ผๅ่ก๏ผ Route 6 (Northbound),1986,1974,start_after_end,https://www.openhistoricalmap.org/relation/2744414 | |
| route_multilines,relation,2753776,60,[0-1968] 60,1968-09-01,1968-01-08,start_after_end,https://www.openhistoricalmap.org/relation/2753776 | |
| route_multilines,relation,2832291,"",Ligne de Saint-รtienne-Le-Clapier ร Montmartre,1952,1899-04-04,start_after_end,https://www.openhistoricalmap.org/relation/2832291 | |
| route_multilines,relati |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| meta-source=https://www.maramech.kendallcountyil.gov/api/0.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- This is just an alias for the Nominatim themepark full topic | |
| local flex = require('flex-base') | |
| flex.load_topic('full') | |
| flex.set_prefilters { | |
| -- Source tags are very common but not used by Nominatim. Deleting them speeds up indexing. | |
| delete_keys = {'source', 'source:*', '*:source'}, | |
| -- Date tags are essential for disambiguation. | |
| extra_keys = {'start_date', 'start_date:edtf', 'end_date', 'end_date:edtf'} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from requests_oauthlib import OAuth2Session | |
| client_id = r'CV5dBzhOwDZkZeCj4xyosVOIJAkTuCZm-HlCK0P2Sfw' | |
| client_secret = r'l3kMZgDojx8Kylh1_L0Eh9WD7KFORM4UEKZku66A7GY' | |
| redirect_uri = 'http://127.0.0.1:8111/oauth_authorization' | |
| scope = ["read_prefs"] | |
| oauth = OAuth2Session(client_id=client_id, redirect_uri=redirect_uri, scope=scope) | |
| authorization_url, state = oauth.authorization_url('https://www.openstreetmap.org/oauth2/authorize') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from requests_oauthlib import OAuth2Session | |
| client_id = r'n6BbW1HCLeK5ImKkRsrVjYkn2sdaroPIGLASpdovvXY' | |
| client_secret = r'Bx7fPt8jPPi0jN9sv6GBMULlvo_5crNUGul_XxgZ5I4' | |
| redirect_uri = 'http://127.0.0.1:8111/oauth_authorization' | |
| scope = ["read_prefs"] | |
| oauth = OAuth2Session(client_id=client_id, redirect_uri=redirect_uri, scope=scope) | |
| authorization_url, state = oauth.authorization_url('https://staging.openhistoricalmap.org/oauth2/authorize') | |
| print(f"Visit {authorization_url} and paste the code in") | |
| code = input() | |
| token = oauth.fetch_token('https://staging.openhistoricalmap.org/oauth2/token', |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id,date,currency,eur_rate,uah_rate,usd_rate,countries | |
| 20220101eur,2022-01-01,EUR,1.0,31.015503,1.136796,"AND, AUT, BEL, CYP, CZE, EST, FIN, FRA, DEU, GRC, IRL, ITA, LVA, LTU, LUX, MLT, MCO, MNE, NLD, PRT, SMR, SVK, SVN, ESP" | |
| 20220102eur,2022-01-02,EUR,1.0,31.027851,1.138068,"AND, AUT, BEL, CYP, CZE, EST, FIN, FRA, DEU, GRC, IRL, ITA, LVA, LTU, LUX, MLT, MCO, MNE, NLD, PRT, SMR, SVK, SVN, ESP" | |
| 20220103eur,2022-01-03,EUR,1.0,30.809453,1.129396,"AND, AUT, BEL, CYP, CZE, EST, FIN, FRA, DEU, GRC, IRL, ITA, LVA, LTU, LUX, MLT, MCO, MNE, NLD, PRT, SMR, SVK, SVN, ESP" | |
| 20220104eur,2022-01-04,EUR,1.0,30.771885,1.128253,"AND, AUT, BEL, CYP, CZE, EST, FIN, FRA, DEU, GRC, IRL, ITA, LVA, LTU, LUX, MLT, MCO, MNE, NLD, PRT, SMR, SVK, SVN, ESP" | |
| 20220105eur,2022-01-05,EUR,1.0,31.064821,1.130775,"AND, AUT, BEL, CYP, CZE, EST, FIN, FRA, DEU, GRC, IRL, ITA, LVA, LTU, LUX, MLT, MCO, MNE, NLD, PRT, SMR, SVK, SVN, ESP" | |
| 20220106eur,2022-01-06,EUR,1.0,31.046437,1.130029,"AND, AUT, BEL, CYP, CZE, EST, FIN, FRA, DEU, GRC, IRL, ITA, LVA, |
NewerOlder