There are three type classes which are stored in Lipas as multipolygons / polygons. The three type classes are:
101 Lähipuisto
102 Ulkoilupuisto
1110 Liikuntapuisto*
However, we do not want to bring any polygon data from Lipas to Tarmo. Note that the geometry type of all the other features we are importing from Lipas is either point or line, so the polygon handling problem relates only to these three type code classes.
[ ] Modify Lipas import script so that if sport place's type code belongs to the list we are interested in and if sport_place["geom"].startswith("MULTIPOLYGON") we replace the original polygon geometry of the particular sport place with its centroid point before importing the data to lipas schema of our database.
There are three type classes which are stored in Lipas as multipolygons / polygons. The three type classes are: 101 Lähipuisto 102 Ulkoilupuisto 1110 Liikuntapuisto*
However, we do not want to bring any polygon data from Lipas to Tarmo. Note that the geometry type of all the other features we are importing from Lipas is either point or line, so the polygon handling problem relates only to these three type code classes.