{"repo":"jvail/spl.js","free":true,"listed":false,"github":"https://github.com/jvail/spl.js","clone":"git clone https://github.com/jvail/spl.js.git","description":"SpatiaLite for browser & node","language":"JavaScript","stars":192,"topics":["spatialite","sqlite","geos","proj","rttopo"],"license":"GPL-3.0","category":"databases-storage","readme_excerpt":"spl.js SpatiaLite 5.1.1-rc0 and friends - sqlite 3.51.1, geos 3.14.1, proj 9.7.1, rttopo 1.1.0 - for node (sync API) and browser (async API). Here is a list of supported SpatiaLite SQL functions and a list of available SQLite extension functions/modules. Install The library for browsers bundles both the WebWorker script and the wasm file ( 4.5MB, 3.4MB gzipped). A minimal proj.db including EPSG codes for lon/lat to \"Web Mercator\" and UTM is embeded. Other PROJ files and the complete proj.db are available from the dist/proj folder. If you like to use the full proj.db instead you need to mount it (e.g. spl.fs.mount('proj', [...]) ) and set the path with spatialite's PROJ SetDatabasePath('/proj/proj.db') . Code Examples Hello SpatiaLite Import a GeoPackage Handle JSON & GeoJSON automatically (parse, stringify, geometry blob to GeoJSON) Import a zipped Shapefile Live Examples Be patient - spl.js, data and other packages need to be fetched. Note : These GitHub Pages examples only work in Chrome/Safari due to a known Firefox bug where range requests return compressed file sizes. Create a topology from a GeoPackage layer and simplify polygon boundaries: https://jvail.github.io/spl.js/examples/topology.html Load proj.db remotely, transform and display GeoPackage geometries in OpenLayers: https://jvail.github.io/spl.js/examples/openlayers.html Buffers & Intersections: A little test for GeoJSON vs WKB serialization and WebWorker transfer: https://jvail.github.io/spl.js/examples/lights-","default_branch":null,"files":null,"tree":[],"storefront":"/r/jvail","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jvail/spl.js/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."}