gravitystorm / openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS
Other
1.55k stars 822 forks source link

Render Vaccination centers/centres. #4295

Open StyXman opened 3 years ago

StyXman commented 3 years ago

This tag has been approved recently: https://wiki.openstreetmap.org/wiki/Proposed_features/Tag:healthcare%3Dvaccination_centre

Given it usefulness in this time and age, I propose we render it. I will try to some up with the code myself, otherwise I'll let you know that I gave up (unluckily I have not much free time in my hands).

StyXman commented 3 years ago

I just noticed this:

mdione@diablo:~/src/projects/osm/osm-carto$ ack healthcare style/
style/amenity-points.mss
2508:  [feature = 'healthcare_hospital'][zoom >= 16] {
2526:  [feature = 'healthcare_alternative'],
2527:  [feature = 'healthcare_audiologist'],
2528:  [feature = 'healthcare_birthing_center'],
2529:  [feature = 'healthcare_blood_bank'],
2530:  [feature = 'healthcare_blood_donation'],
2531:  [feature = 'healthcare_centre'],
2532:  [feature = 'healthcare_clinic'],
2533:  [feature = 'healthcare_dentist'],
2534:  [feature = 'healthcare_dialysis'],
2535:  [feature = 'healthcare_doctor'],
2536:  [feature = 'healthcare_laboratory'],
2537:  [feature = 'healthcare_midwife'],
2538:  [feature = 'healthcare_occupational_therapist'],
2539:  [feature = 'healthcare_optometrist'],
2540:  [feature = 'healthcare_physiotherapist'],
2541:  [feature = 'healthcare_podiatrist'],
2542:  [feature = 'healthcare_psychotherapist'],
2543:  [feature = 'healthcare_rehabilitation'],
2544:  [feature = 'healthcare_speech_therapist'],
2545:  [feature = 'healthcare_yes'] {

So we style healthcare=*, but it's not in the project.mml? Is there a transformation somewhere?

HolgerJeromin commented 3 years ago

Ref https://github.com/gravitystorm/openstreetmap-carto/issues/4282#issuecomment-759964669

StyXman commented 3 years ago

This is going to be trickier than I thought:

Postgis Plugin: ERROR: column "healthcare" does not exist

As this will imply a DB reload, I don't see this implemented any time soon.

pnorman commented 3 years ago

As this will imply a DB reload, I don't see this implemented any time soon.

We have the healthcare information in the DB via hstore, no reload is required.

StyXman commented 3 years ago

Yay, I have some code :)

dktue commented 3 years ago

Any update on this?

StyXman commented 3 years ago

See #4300 .

BertMule commented 2 years ago

Do I understand right this is still not rendered? Neither does #4300.

COVID is years old now, but not over yet. I just got an additional shot myself.

I just ran into this problem. I guess I have to work around it again.

HolgerJeromin commented 2 years ago

COVID is years old now, but not over yet.

I am not sure if there are still enough vaccinations centers operating. In Germany they seem to be still operating (as "Impfstelle") with limited opening hours (once a week for example).

But most/many vaccinations are done by the normal doctors.

BertMule commented 2 years ago

We just started a new round, taking place in large centres. Like in Leiden.

That may well be a reoccurring phenomenon, in various countries, for various viruses.