Hi Pierre, Thanks for sending these out.
Can you briefly confirm what the "building.geojson", "building_extring.geojson", "building_extring_orthogonal.geojson" files represent? I'm not really familiar with the terms, perhaps because I don't have much of a GIS or geometry background. Is the "extring" file only those buildings that don't have superfluous nodes? "extring_orthogonal" contains only those that are square and don't have superfluous nodes? I guess OSM data is used for easy testing? I remain very interested as to how the Statcan building footprints for that area look like when cleaned up - I hope for better accuracy than trying to estimate from low-res or off-vertical imagery. It doesn't help that Github GeoJSON preview evidently uses a super-old version of OSM data for base map... Thanks again, --Jarek On Mon, 27 May 2019 at 21:58, Pierre Béland via Talk-ca <[email protected]> wrote: > > Voici des tests supplémentaires qui couvrent la zone proposée par Daniel > source https://github.com/jfd553/OrthogonalizingBuildingFootprint > > Les fichiers geojson suivants sont disponibles > https://github.com/pierzen/OQ_Analysis/blob/master/sql/test/geojson/oq_on_toronto_jarek_s2a_building.geojson > > https://github.com/pierzen/OQ_Analysis/blob/master/sql/test/geojson/oq_on_toronto_jarek_s2a_building_extring_orthogonal.geojson > > https://github.com/pierzen/OQ_Analysis/blob/master/sql/test/geojson/oq_on_toronto_jarek_s2b_building_extring.geojson > > https://github.com/pierzen/OQ_Analysis/blob/master/sql/test/geojson/oq_on_toronto_jarek_s2b_building_extring_orthogonal.geojson > > > > > > > > > > > Pierre > > > Le lundi 27 mai 2019 13 h 45 min 30 s UTC−4, Pierre Béland via Talk-ca > <[email protected]> a écrit : > > > J'ai progressé dans le développement des fonctions pour orthogonaliser les > bâtiments. Ce n'est qu'une version préliminaire, incomplète, mais pour ceux > intéresés par ces développements, il y a déja sufffisamment de fonctions de > disponibles pour voir la progression et les défis que cela représente. > > J'ai transféré cette version préliminaire sur Github. La méthodologie est > relativement simple conceptuellement, mais il y a beaucoup d'obstacles à > opérationnaliser avec les outils actuels. > Une fonction de rotation permet la rotation d'un coté de bâtiment pour rendre > orthogonal l'angle avec le segment précédent. Un pivot central au centre du > segment est utilisé. Cette méhode peut être rafinée de multiples façons. > Mais c'est un début. > > Je regarde toujours la possibilité d'utiliser les fonctions topologiques pour > éviter des croisements de bâtiments. > > Je vais aussi ajouter de la documentation supplémentaire, et décrire la > méthode en créant une page wiki dans le répertoire github. > > N'hésitez pas à commenter ces développements. > > voir > Fonctions PostgreSQL-PostGIS Orthogonalisation > https://github.com/pierzen/OQ_Analysis/tree/master/sql/Orthogonal > > échantillons et tests > https://github.com/pierzen/OQ_Analysis/tree/master/sql/test > > résultats fichiers geojson > https://github.com/pierzen/OQ_Analysis/tree/master/sql/test/geojson > > > Pierre > _______________________________________________ > Talk-ca mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/talk-ca > _______________________________________________ > Talk-ca mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/talk-ca _______________________________________________ Talk-ca mailing list [email protected] https://lists.openstreetmap.org/listinfo/talk-ca

