pure-maps
pure-maps copied to clipboard
add more information for POIs
In addition to latitude/longitude, POI type, and address, I recommend that we display other relevant information for POIs.
This would include:
- contact information (such as phone number, email address, and website)
- opening hours
- types of food served (for restaurants)
- whether restrooms are available
- whether WiFi is available
- And other information in the OSM database
That would depend on the used provider. I can add some data to OSM Scout Server, but for others it is hard to do. Could you bring an example and specify provider used in Pure Maps (online/offline/HERE?). If online then which specifically?
I only use the offline provider.
The two most important bits of information for me would be:
- Contact information.
This uses the OpenStreetMap keys
phone,fax,websiteandemailalong with everything in thecontact:*namespace (includingcontact:phone,contact:fax,contact:website, andcontact:emailwhich are equivalent to there non-prefixed alternatives). - Opening hours
Most importantly this would be the openstreetmap key
opening_hours. Please note that the full opening hours syntax is complex but a simple implementation that gets the basics would be of great help. All keys in theopening_hours:*namespace are also used to specify opening hours under specific circumstances
Here are some examples of POIs that have some or all of this information:
- https://www.openstreetmap.org/node/6129563042
- https://www.openstreetmap.org/way/257708003
With offline we can maybe work something out. Some data is there, but maybe import has to be improved. I will have to work on importer soon and would try to check these POIs.