Hello, Due to the current situation of coronavirus. We (me and some friends, from Tunisia) were asked by the government to create a map with all the pharmacies. All they could provide us with were different lists of pharmacies with lat/lng from different sources. We decided we'll use OSM for that purpose and the question is : Is it ok to add tags like "ref:med.tn = 3233" which means the source is www.med.tn and the pharmacy id in their database is 3233 ? Is there any chance a script might remove them ? We have a few sources and that would allow us to synchronise everything with what' already available in OSM. Or should we use a different tag/technique for that matter ? I would like to avoid the node/way Ids as there are a lot of duplicates already in the actual map. Thank you PS: We already started ... those tags would be removed in a few months, it's just temporary. asked 20 Mar '20, 12:36 selimachour |
The fastest and easiest way to create a map like you say is umap.openstreetmap.fr - just create a JSON file with the pharamacies, open it on umap, and you're done! In order to import data into OpenStreetMap, you need to follow the import guidelines (https://wiki.openstreetmap.org/wiki/Import). Please pause any activities adding data to OSM until you have read and understood these guidelines. Among other things, we need to establish:
Using an "umap" for your project is quick way of getting something done that you can show to the government; we can then take the necessary time to vet the dataset for import in OpenStreetMap proper and ultimately have the data in OSM, but you cannot import questionable data just like that. answered 20 Mar '20, 12:51 Frederik Ramm ♦ 2
As pointed out in a recent question, different types of element can have the same id, but they are unique within each type.
(20 Mar '20, 15:09)
H_mlet
|
Hi Frederik, I did start with umap (which I oftern use) this morning but quickly gave up. The idea was to use overpass to query all the pharmacies but lots of "name:en" with no "name" etc ... I thought I might as well fix those in OSM. I will take the time to read the https://wiki.openstreetmap.org/wiki/Import
I will revert to creating an extra table in my postgres database (which is updated every night from geofabric) which will hold a merge of osm + the extra sources. Last Question: In the OSM database, there are node Ids, way Ids, and relation Ids. Are they all unique within each other ? Is it possible to have the same Id for a node and a way ? Thanks again answered 20 Mar '20, 13:12 selimachour |