Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintain the topology of polygons (to allow nice zooming) #8

Open
mayeulk opened this issue Aug 8, 2017 · 1 comment
Open

Maintain the topology of polygons (to allow nice zooming) #8

mayeulk opened this issue Aug 8, 2017 · 1 comment

Comments

@mayeulk
Copy link
Contributor

mayeulk commented Aug 8, 2017

When zooming at https://github.com/unhcr/dataviz/blob/master/js/worldtopo.json one can see that the topology is not maintained.

unhcr_dataviz_topology_issues
Ways to simplify polygons while maintaining the topology are discussed here:
https://gis.stackexchange.com/questions/185040/simplify-geometries-but-keep-them-contiguous
https://gis.stackexchange.com/questions/178/simplifying-adjacent-polygons/
https://trac.osgeo.org/postgis/wiki/UsersWikiSimplifyPreserveTopology
https://trac.osgeo.org/postgis/wiki/UsersWikiSimplifyWithTopologyExt

This is in view of another possible improvement, namely to render zooming possible (in a visually appealing way)

@mayeulk
Copy link
Contributor Author

mayeulk commented Aug 8, 2017

These are possibly other useful links/discussions:
https://github.com/topojson/topojson-simplify
Filter and simplify geometries while preserving topology for smaller files and faster rendering

topojson/topojson#275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant