Map of reception points for refugees near Polish-Ukrainian border

Overview

ua-2022-map

Map of reception points for refugees near Polish-Ukrainian border

work in progress...

Development

We provide a docker-based dev environment; to spin up the system, run

make
make up
make down

For development and iterating on the code, get into a shell in the container and re-run your scripts from there with

make sh

From inside the shell you can then execute your scripts and iterate, e.g.

/app # ./download_data.py
/app # ./debug-app.py --host 0.0.0.0

If you prefer to run outside of docker instead, read on.

Steps:

  1. Create Python virtual env
  2. Install dependencies
  3. Generate site from templates
  4. Run local server

Repeat step 3 after changes.

Commands:

# clone the repo and enter the directory then:
python3 -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
./debug-app.py

Go to http://localhost:8000/en/ in the browser.

Build

python3 download_data.py
python3 -m http.server 8000 --directory build

Go to http://localhost:8000/en/ in the browser.

Generating sprites

Install NVM then:

nvm use 8
npm install -g @mapbox/spritezero-cli

Generate sprites by running:

nvm use 8
spritezero --ratio 4 ./static/style/sprite ./static/icons/
Comments
  • list reception points in other countries along border, or link similar projects

    list reception points in other countries along border, or link similar projects

    Idea from En Discord

    There are a lot of people who flee to Slovenia, Hungary and Romania. It might be a good idea to team up with them to provide more information on such POIs.

    enhancement 
    opened by matkoniecz 5
  • Add Bulgarian coordination centers

    Add Bulgarian coordination centers

    There currently two of them, 2 more are expected to start working this week (I will add them when they get announced). I've tagged them with amenity=social_facility + social_facility:for=refugees.

    enhancement 
    opened by Dimitar5555 4
  • Slovakia emergency temporary camp (ETC)

    Slovakia emergency temporary camp (ETC)

    https://gist.github.com/pratikyadav/c404426822cdc2cf23a7d58649604a71

    I was searching for shelters/emergency temporary camp (ETC) from Slovakia government, and manually mapped identified cities in their press release and social media.

    source

    • https://www.minv.sk/?tlacove-spravy&sprava=pri-hranicnych-priechodoch-s-ukrajinou-v-nedelu-zacnu-zriadovat-hotspoty-pre-urychlenie-administrativneho-procesu-prichodzich-z-ukrajiny
    • https://www.facebook.com/ministerstvovnutraSR/
    enhancement 
    opened by pratikyadav 4
  • Wybór języka strony jest niewidoczny

    Wybór języka strony jest niewidoczny

    Można zmienić kolor czcionki wyboru języka, bo w tej chwili opis pojawia się dopiero po najechaniu na niego kursorem (na obrazku kursor był nad 'PL' i dlatego go widać. image

    opened by mutipg 4
  • Open

    Open "layers" menu by default when entering the site

    Is your feature request related to a problem? Please describe. Currently when opening the site only the default layers are selected and when user may not be aware that one can hide some of them or reveal more. Also the naming may be confusing to normal people.

    Describe the solution you'd like We can open the "layers" menu by default. We could also change the name of it to "places".

    Describe alternatives you've considered -

    Additional context -

    enhancement 
    opened by pmatejko 3
  • 6

    6 "regional centers of procedures and accommodation of asylum seekers" in Romania.

    https://github.com/openstreetmap-polska/ua-2022-map/issues/25#issuecomment-1056935290

    There are 6 "regional centers of procedures and accommodation of asylum seekers" in Romania. I haven't checked if they are mapped. https://dopomoha.ro/uk

    new point of interest 
    opened by matkoniecz 3
  • Deploy to static site server

    Deploy to static site server

    In email conversation with Włodzimierz Bartczak I learned that OSM-PL is worried about attacks on the site after start of promotion. Static site hosting on a large service such as Amazon S3 with a CDN like Cloudfront can protect against most foreseeable attacks. This draft PR demonstrates how the site can be deployed to a static site host.

    In this example, we deploy to a bucket visible online at https://dopomoha.teczno.com.

    See https://github.com/migurski/ua-2022-map/runs/5370557331 for the latest successful run.

    To keep the data up-to-date, AWS and other cloud hosts support scheduled tasks that can run download_data.py periodically.

    opened by migurski 3
  • Adds self-contained dev environment to make getting started easier

    Adds self-contained dev environment to make getting started easier

    Hey folks, here's a self-contained dev environment to make it easier to develop and getting started.

    I added a few sentences to the readme; the general idea is this

    • We provide a docker file for self-contained and reproducible dev environment. No manual instructions needed, no need to fumble around with installing libgeos and other native deps to compile shapely etc.
    • We provide convenient makefile targets, so first time usage is as easy as make; make up and for development you can get into a shell in this self-contained environment with make sh
    opened by daniel-j-h 3
  • Add simple permalinks for each reception point

    Add simple permalinks for each reception point

    Hoping for feedback on this approach. Each reception point will have a permanent link to improve visibility to search engines and help with sharing of information.

    opened by migurski 3
  • added mode switch and ui/ux improvements

    added mode switch and ui/ux improvements

    Adds mode switching to better serve two main use cases for the map.

    Legend/layer selector will now display by default on larger screens.

    Additionally changed some elements on mobile for improved experience.

    opened by ttomasz 2
  • add nominatim search bar

    add nominatim search bar

    Is your feature request related to a problem? Please describe. we have almost 2000 place names in poland translated to ukrainian. It should be possible to search for a place name on the website

    Describe the solution you'd like a place name search bar, based on osm data

    Describe alternatives you've considered some other geographial search engine could suffice

    enhancement 
    opened by Mordechai23 2
  • Bump certifi from 2021.10.8 to 2022.12.7

    Bump certifi from 2021.10.8 to 2022.12.7

    Bumps certifi from 2021.10.8 to 2022.12.7.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Specify Minimum Python 3 Version as 3.7

    Specify Minimum Python 3 Version as 3.7

    Please specify the minimum Python 3 version in the README.

    My first time downloading and setting up the project failed with the following error:

    > pip install -r requirements.txt 
    Requirement already satisfied: certifi==2021.10.8 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 1)) (2021.10.8)
    Requirement already satisfied: charset-normalizer==2.0.12 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 2)) (2.0.12)
    Requirement already satisfied: idna==3.3 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 3)) (3.3)
    Requirement already satisfied: Jinja2==3.0.3 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 4)) (3.0.3)
    ERROR: Could not find a version that satisfies the requirement MarkupSafe==2.1.0 (from versions: 0.9, 0.9.1, 0.9.2, 0.9.3, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 1.0, 1.1.0, 1.1.1, 2.0.0a1, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1)
    ERROR: No matching distribution found for MarkupSafe==2.1.0
    

    This was a confusing error because MarkupSafe clearly shows a v2.1.0 release: https://pypi.org/project/MarkupSafe/#history After navigating to the MarkupSafe project repository, I searched through the revision history and discovered that they dropped support for Python 3.6 starting with MarkupSafe version 2.1.0: https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-1

    My laptop was using Python 3.6 which explains why I couldn't download the requirements. After upgrading my Python to version 3.7, installing requirements.txt succeeds.

    opened by ericlabouve 0
  • Analyze frontend serving on production

    Analyze frontend serving on production

    On production the nginx is always serving the frontend -> flask is never used (assumed from http headers) Analyze the configuration and check whether its true. Figure out the better way of handling the frontend serving

    opened by cegladev 0
  • Displaying the time since the last data update

    Displaying the time since the last data update

    The function of displaying the time since the last update of data from OSM would allow the editors to check whether their data was entered correctly.

    Another idea is to add information about the scheduled time of the next data refresh from OSM.

    Possibly a combination of both functions.

    Such functionality has been introduced, for example, on the website: https://aed.openstreetmap.org.pl image

    enhancement 
    opened by mutipg 0
Owner
OpenStreetMap Polska
OpenStreetMap Polska
Brew-Near-You - An app that makes it easy to find a brewery near you

Brew Near You An app that makes it easy to find a brewery near you Built With HT

Taylor Vaughn 1 Aug 3, 2022
Danger is near (play to earn game, gamefi on near chain testnet) - user play as a fireknight in a PIXELVERSE world who go to forest and kill monster.

Danger is near (play to earn game, gamefi on near chain testnet) - user play as a fireknight in a PIXELVERSE world who go to forest and kill monster. User can earn $DANGER token and score to compete with others user.

Jason Factor 21 Dec 30, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
This is a (pretty broken, but mostly functional) organic-shaped jigsaw generator with custom border support

OrganicPuzzleJs This is a (pretty broken, but mostly functional) organic-shaped jigsaw generator with custom border support. It relies on two linbrari

null 6 Dec 10, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
💎 Polish for the rough parts of TypeScript

Emery ?? Polish for the rough parts of TypeScript. TypeScript is great but there's parts that are still rough around the edges, especially for develop

Thinkmill 46 Nov 3, 2022
Help Ukrainian people find jobs in the EU, navigate visas and translating CVs.

We invite Ukrainians to Europe Since the beginning of war in Ukraine, more than 3.7 million people have left Ukraine, while an estimated seven (7) mil

Dejan Jacimovic 14 Nov 12, 2022
This Next.js app is designed to be used with the Figment Learn Pathways, to help developers learn about various blockchain protocols such as Solana, NEAR, Secret, Polygon and Polkadot!

???? What is learn-web3-dapp? We made this decentralized application (dApp) to help developers learn about Web 3 protocols. It's a Next.js app that us

t0nto 8 Oct 1, 2022
aka Scaletor, take screenshots of a piece of a map and scale/compare with other parts of the map

scale-a-tron A quick-and-dirty map that lets you compare one area to another. Draw a shape around a region, zoom in to another place on the map, and c

Stamen Design 24 Nov 7, 2022
True P2P concept for your p2p powered website/app/client. MSC/MEP (Multiple Strategy Concept/Multiple Entry Points)

TRUE P2P CONCEPT - Lets redecentralize the web This repo is just conceptual. Active development of the endproduct (TRUE P2P) happens here https://gith

Bo 6 Mar 29, 2022
A chrome extension that inserts dream signs into your browsing experience. Get points when you recognize the dream signs.

There are 3 parts to this repo: Backend Nodejs Frontend React Chrome Extension How to Start frontend and backend $ cd frontend $ npm run start In the

Dashiell Bark-Huss 2 Apr 3, 2022
Small, typed, dependency free tool to round corners of 2d-polygon provided by an array of { x, y } points.

round-polygon Small, typed, dependency-free tool to round corners of 2d-polygon provided by an array of { x, y } points. The algorithm prevents roundi

Sergey Borovikov 10 Nov 26, 2022
This tool is studied to help ethical hackers to find vulnerable points in webpage's javascript

JavaScream This tool is studied to help ethical hackers to find vulnerable points in webpage's javascript. HOW TO INSTALL (FIREFOX) 1- clone the proje

Davide Cavallini 8 Aug 11, 2022
This tool is studied to help ethical hackers to find vulnerable points in webpage's javascript

JavaScream This tool is studied to help ethical hackers to find vulnerable points in webpage's javascript. HOW TO INSTALL (FIREFOX) 1- clone the proje

Davide Cavallini 7 Aug 3, 2022
MERN stack application which serves as an online map journal where users can mark and rate the places they've been to.

PlaceRate PlaceRate is a MERN stack application which serves as an online map journal where users can mark and rate the places they've been to. You ca

Yuvraj Virdi 0 May 17, 2022
generate a map server side and save/return it as png image

NFT map generator Request a new map to be generated with latitude and longitude params, for example http://localhost:3000/maps?lat=45.3579&lng=9.4427

Mattia Asti 3 Jul 12, 2022
Look up a city and get back weather forecast for searched city and top News headline related to that city and an interactive map which shows the location of that city.

WeatheredVibes Description As a user I want to look up a city to get the current weather and suggested current news articles based on the location sea

Sepideh Ayani 3 Mar 12, 2022