Closed UJehle closed 3 years ago
one more example: Familienzentrum der Lebenshilfe im Steinpark, Asamstr. 19, 85356 Freising (here, there is only one polygone (kindergarten area) and one point)
@rafleo2008
Fixed!, The problem will appear solved in the next commit
Awesome, thanks!
I just found some issues where we still have two POI icons for the same amenity: https://www.openstreetmap.org/#map=18/48.12071/11.54938
https://www.openstreetmap.org/query?lat=48.16438&lon=11.55384
Is this just a problem of my local version or do you also have these duplicates @rafleo2008 ?
Hello Ulrike,
Many thanks for this checking. Effectively, this is a global issue; we have not implemented any routine to clean duplicated POIS in primary_schools and secondary_schools before, but now, I have implemented a new function for check specific amenities called "clean_duplicated_amenities_in_pois", this will be applied in the main code to clean duplicated values in primary and secondary schools with a lookup radius of 40m.
With this change, I found 5 duplicated primary schools and 9 secondary schools that have been cleaned.
In the case of kindergartens, the problem was the lower value of the lookup radius "duplicated_kindergarten_lookup_radius", the variable was defined in 40 meters, but the kindergartens in the example were located at 49m, therefore, I have increased the variable to 50m to cover this case.
These changes will be available in the next PR.
Sounds great! Thanks @rafleo2008. There is a smaller issue when using the pois_rewrite function in the automated setup. The issue is that the function is using the buildings table but at this stage in the data preparation the table is not existing. I uncommented it for now see here: https://github.com/goat-community/goat/commit/dabf2441e7bd87df4240f2d9b168030273133519
But I would like to finish this soon. So maybe let's discuss possible strategies to mitigate the issue. I think the best would be that the function is not snapping the points to the buildings.
You took my word, I'm doing the tests and just found that issue. I will disable the snapping in the function for now and we can discuss the possible solution this week.
Ok great! Thanks
I will close this issue now as it seems to be fixed at least for Munich. But with the help of the functions and setting the right radius this can be adjusted also to other cases.
Some Kindergartens are displayed with 2 icons in GOAT. I guess this happens when the area and the building are tagged as "amenity=kindergarten".
some examples: Kindergarten St. Jakob, Freising Haus des Kindes, Freising