Comments (5)
OKFN's DataPipes is what you seek: http://datapipes.okfnlabs.org/html/
Here's your sample csv from another repo: http://datapipes.okfnlabs.org/csv/html/?url=https://raw.githubusercontent.com/timwis/csv-test/master/sample.csv
I'm interested in the geojson issue, essentially you are saying that .geojson files should preview a geojson.io url of that data? sorry, can't find an example in the demo, so not 100% sure what you mean/need.
BTW: this is really cool. Nicely done!
from jkan.
Oh cool! I was just thinking about CSVs for #4, that's perfect.
The idea with geojson.io was that their site has a pretty decent "data viewer" for geojson, and rather than reinvent the wheel, link to it or embed it since they allow data to be passed in as a querystring param (a link or even the data itself).
I know recline does this as well, though either implementation runs into issues with (a) huge datasets, (b) links to non-https endpoints, and (c) links to non-CORS endpoints.
I wonder if something like a cartodb embed map could (a) serve as a CORS-enabled proxy for endpoints and (b) stream the data in a way that it can load quickly without crashing the browser?
Maybe I'm overthinking it, but one could argue that these preview tools are the "end of the line" for "layperson" users that don't know what to do with a giant spreadsheet or shapefile, so the better we make them, the broader the audience for the data portal becomes.
And thanks for your kind words. I'd love to hear more of your ideas!
from jkan.
not overthinking it all...i concur wholeheartedly with that paragraph. don't make me think baked in by default is the goal.
is trying with geojson.io still on the table, or are you moving onto options listed below it?
i've had issues with geojson.io and large datasets, but pretty sure they're editable in your own version.
can't say for sure about cartodb, i've only used it a few times.
i want to say mapbox maybe an option here too, but my experience using it is also minimal.
i have a few ideas about browser crashing, but could use some feedback first.
how are you hosting jekyll on your server? i thought that was github exclusive.
i think because it precompiles, page weight and asset minimization are even more critical?
i've been thinking about implementing some form of lazy loading json in maps with massive datasets. not functionally, but visually like leaflet's market cluster plugin: user can see an overview of what the map will be immediately.
i want to call it a form of progressive enhancement, but since we are talking about minimal functionality (rendering a map) that's bogus.
from jkan.
Other JS options to consider:
- https://github.com/JJediny/map
- https://github.com/JJediny/geojson-share-maps
- https://github.com/JJediny/geojson-dashboard *would have to add code to simplify viewer to handle variety of attributes though
Heavier wieght i.e. more then an single html page and an endpoint:
- https://github.com/TerriaJS/map compiled from https://github.com/TerriaJS/terriajs... can handle geojson/geocsv formats by endpoints to static files alone
- https://github.com/umap-project/Leaflet.Storage
from jkan.
Why don't create a page with a map and load GeoJSON files that are linked in dataset of JKAN, just in this way? https://www.mapbox.com/mapbox.js/example/v1.0.0/geojson-marker-from-url/
from jkan.
Related Issues (20)
- Input Mask HOT 3
- Hosting datasets HOT 5
- Migrate to bootstrap4 HOT 2
- Is it possible to add more dataset filters similar to Categories and Organizations HOT 4
- Installation questions HOT 2
- Drop login options / gatekeeper/ Heroku? HOT 9
- Review and decide on the Netlify CMS backend & auth options HOT 6
- Reduce duplication between Netlify CMS config and schema files HOT 1
- Add Netlify CMS preview templates
- Support editing categories and licenses in Netlify CMS HOT 1
- Replace the existing JKAN editing UI with links to Netlify CMS
- Consider renaming Netlify CMS path
- Allow guests to propose changes
- Delete the built-in editing UI
- Remove Javascript files and related elements from HTML/CSS
- Simplify JS compliation
- Update docs & website to reflect Netlify as recommended hosting provider HOT 2
- Document how to self-host Editor UI HOT 1
- Move categories into a collection HOT 1
- Netlify CMS still supported? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jkan.