AKSW / transform-bvl-csv-to-json-files

Some PHP-scripts which build JSON files tailored to be used in the Location Navigator of the Behindertenverband Leipzig e.V.
0 stars 0 forks source link

Additional values in building-coordinates.json to apply filters #1

Closed simeonackermann closed 7 years ago

simeonackermann commented 7 years ago

@k00ni

To apply our filters to the result buildings we need some more values in the building-coordinates.json

Each entry needs additional:

Hopefully the result file (may rename to buildings-overview.json) doesn't gets too big. But I dont's see any alternative way.

k00ni commented 7 years ago

I can do that. Is it OK to provide this in January 2017?

simeonackermann commented 7 years ago

Thats Ok! I can start with just some example entries.

k00ni commented 7 years ago

Adapted the file and added required fields. Please check if it fits now.

Example entry:

{
    "title": "Alter Johannisfriedhof",
    "longitude": 12.3953192,
    "latitude": 51.3321392,
    "entrance-suit-f-wheelchair": 1,
    "lift-suit-f-wheelchair": 0,
    "lift-avail": 0,
    "toilet-suit-f-wheelchair": 0,
    "parking-avail": 1,
    "parking-f-disabled-avail": 0,
    "help-for-hearing-imp": 0,
    "help-for-blind": 0,
    "general-help": 0
}
simeonackermann commented 7 years ago

We also need the category for each entry.

And there is one not yet covered case: if the entrance is partly wheelchair accessible (eingangsbereich_rollstuhlgerecht: teilweise, e.g. 11-polnisches-institut-markt-10-04109-leipzig).

Solution proposals:

k00ni commented 7 years ago

I will add category field soon.

And there is one not yet covered case: if the entrance is partly wheelchair accessible

I forgot to tell you. The value ranges from 0 to 2, where 0 means not suitable, 1 means partly and 2 means fully.

k00ni commented 7 years ago

Added category to coordinates file. Anything still missing?

simeonackermann commented 7 years ago

Seems fine for the moment.

Do you think the first empty entry ("ID":{"category":"Kategorie","title":"Titel","longitude":0,"latitude":0,"entrance-suit-f-wheelchair":0,"lift-suit-f-wheelchair":0,"lift-avail":0,"toilet-suit-f-wheelchair":0,"parking-avail":0,"parking-f-disabled-avail":0,"help-for-hearing-imp":0,"help-for-blind":0,"general-help":0) is important? Otherwise it can removed.

simeonackermann commented 7 years ago

entrance-suit-f-wheelchair is not correct. Its always 0 or 1 but never 2, as aspected for partly, e.g. in 1-botanischer-garten-der-universitaet-leipzig-linn%C3%A9str.-1-04103-leipzig.json

simeonackermann commented 7 years ago

Require field for availability of toilet toilet-avail

k00ni commented 7 years ago

Hi, here are my latest changes:

k00ni commented 7 years ago

I think we are done here.