-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geojson preview should link to geojson.io #15
Comments
OKFN's DataPipes is what you seek: http://datapipes.okfnlabs.org/html/ |
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! |
not overthinking it all...i concur wholeheartedly with that paragraph. don't make me think baked in by default is the goal. i have a few ideas about browser crashing, but could use some feedback first. |
Other JS options to consider:
Heavier wieght i.e. more then an single html page and an endpoint:
|
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/ |
ex. http://geojson.io/#data=data:text/x-url,http%3A%2F%2Fapi.tiles.mapbox.com%2Fv3%2Ftmcw.map-gdv4cswo%2Fmarkers.geojson
I wonder if there's a similar site for CSVs?
The text was updated successfully, but these errors were encountered: