geodacenter / jsgeoda Goto Github PK
View Code? Open in Web Editor NEWjsgeoda is a javascript library for spatial data analysis using webAssembly
jsgeoda is a javascript library for spatial data analysis using webAssembly
This is definitely a great library! Unfortunately it will fail on most JavaScript projects, because the method names are using underscores. The syntax is also hard to read because it borrows concepts from Python.
It would be way better to use the default camelCase style. And it is also quite common to prevent abbreviations.
Examples:
queen_weights
should be queenWeights
or even better getQueenWeights
.get_col
should be getCol
or even better getColumns
read_geojson
should be readGeoJSON
It seems it's at gitbook.io level doc not in the repo.
In https://xunli.gitbook.io/jsgeoda/user-guide/hello-jsgeoda#pure-js, you provides the following
<html>
<head>
</head>
<body>
<script type="module">
import jsgeoda from 'https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/jsgeoda.js';
jsgeoda.New().then((geoda)=> {
console.log('Hello jsgeoda', geoda.version);
});
</body>
</html>
whereas it should be
<html>
<head>
</head>
<body>
<script type="module">
import jsgeoda from 'https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/jsgeoda.js';
jsgeoda.New().then((geoda)=> {
console.log('Hello jsgeoda', geoda.version);
});
</script>
</body>
</html>
Been aware of the issue as Chrome was working with this unclosed tag whereas Firefox was not auto-fixing the unbalance tag and failing
Problem: Following the Load Spatial Data tutorial get_colnames()
is not available in the WASM. See steps to reproduce here in cell ~6.
Remove from tutorial for short term and add function in next version?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.