{"repo":"gkjohnson/three-geojson","free":true,"listed":false,"github":"https://github.com/gkjohnson/three-geojson","clone":"git clone https://github.com/gkjohnson/three-geojson.git","description":"Three.js shape loaders for GeoJSON and WKT formats","language":"JavaScript","stars":238,"topics":["3d-tiles","3dtiles","geojson","geometry","geospatial","gis","graphics","rendering","terrain","threejs"],"license":"MIT","category":"game-templates","readme_excerpt":"three-geojson Three.js shape loaders for GeoJSON (readable html) and WKT formats. Supports generation of three.js line geometry in addition to flat and extruded tringulated meshes. All generated geometry are transformed and centered using 64-bit Javascript floating point operations with meshes are offset to retain precision in GPU operations. Uses @turfjs/unkink-polygon, @mapbox/delaunator, @kninnug/constrainautor, and @placemark/betterknown packages for polygon triangulation and WKT parsing. World GeoJSON file courtesy of geojson-maps. Some key features supported by this project: - Support for detecting and fixing self-intersecting polygons so they tringulate correctly. - Uses constrained delaunay triangulation for correct, high quality triangulation and support for inner vertices. - Smooth surface normals are generated for ellipsoid-projected shapes. - Outputs centered geometry with and matrix transform offset to avoid preceision-related artifacts on CPU and GPU when processing high-detail shapes. - Supports altitude values. [!NOTE] This project is not hosted on npm and must be installed via Github repository. Examples WGS84 Lines WGS84 Extruded Polygons WGS84 Wireframe Polygons Extruded Polygon WKT Polygon Installation Use API GeoJSONResult Feature Definition of a feature that includes properties originally defined in the GeoJSON file. Points Definition of a parsed set of point geometry. LineString Definition of a parsed set of line string geometry. Ellipsoid is from the 3","default_branch":null,"files":null,"tree":[],"storefront":"/r/gkjohnson","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gkjohnson/three-geojson/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}