iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.1k stars 298 forks source link

(big) multipolygon does not seem to be displayed correctly #688

Closed ilokhat closed 6 years ago

ilokhat commented 6 years ago

A big multipolygon is not rendered correctly.

It is originally served from a wfs from geoserver, but I'm providing a geojson file of the multipolygon. multipolygon.zip

It is correctly displayed in Qgis as shown in the screen captures below itowns multipolygon_itowns

Qgis multipolygon_qgis

Environment

autra commented 6 years ago

Thanks @ilokhat for your issue !

Yes, we don't support holes yet in geojson unfortunately. I hope we'll add this support soon :-)

ilokhat commented 6 years ago

ok nice, thanks for the answer !

peppsac commented 6 years ago

Just tested and while holes are not yet handled in iTowns, the primary issue here is multipolygon drawing. You can test this branch that displays the example geojson correctly (except the holes).

multipolygon_geojson

ilokhat commented 6 years ago

nice. i will try ASAP Thanks !