-
Notifications
You must be signed in to change notification settings - Fork 3
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
Render resource geojson data #122
Milestone
Comments
Updated the summary with the results of research: we should use leaflet. Next step is to plan implementation of leaflet |
subhankarb
pushed a commit
to subhankarb/dpr-js
that referenced
this issue
Mar 9, 2017
We want to render geojson data as a simple map rather than a table. * Modified fetchDataPackageAndData to handle geojson type data * Have to get data by fetch as datapackage-test gets table data only * Added LeafletMap component render in index.jsx * Added leaflet css in index.html * Added leaflet dependency * Added fixer data for geojson Ref - datopian#122
subhankarb
pushed a commit
to subhankarb/dpr-js
that referenced
this issue
Mar 9, 2017
We want to render geojson data as a simple map rather than a table. * Modified fetchDataPackageAndData to handle geojson type data * Have to get data by fetch as datapackage-test gets table data only * Added LeafletMap component render in index.jsx * Added leaflet css in index.html * Added leaflet dependency * Added fixer data for geojson Ref - datopian#122
subhankarb
pushed a commit
to subhankarb/dpr-js
that referenced
this issue
Mar 9, 2017
We want to render geojson data as a simple map rather than a table. * Modified fetchDataPackageAndData to handle geojson type data * Have to get data by fetch as datapackage-test gets table data only * Added LeafletMap component render in index.jsx * Added leaflet css in index.html * Added leaflet dependency * Added fixer data for geojson Ref - datopian#122
subhankarb
pushed a commit
to subhankarb/dpr-js
that referenced
this issue
Mar 9, 2017
subhankarb
pushed a commit
to subhankarb/dpr-js
that referenced
this issue
Mar 9, 2017
subhankarb
pushed a commit
to openknowledge-archive/dpr-api
that referenced
this issue
Mar 10, 2017
FIXED. |
FIXED. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we get a resource with geojson data we should render it as a simple map rather than a table.
Some examples:
http://data.okfn.org/data/core/geo-admin1-us
http://data.okfn.org/data/core/geo-nuts-administrative-boundaries
Tasks
Research:
Implementation:
Acceptance Criteria
Research
Requirements
We want to render geojson data in the data package view page.
Reference: http://frictionlessdata.io/guides/publish/geo/
What I got from above reference is that we mainly support
It can be mix and match of both.
Explore which library we have to use
Is plotly good enough?
We have plotly in our dependency list already. So it would be great if we can use it for geo json render also.
In
plotly.js
we have some support for Multi Polygon but not points and polygon etc. Here are two issues in plotly:In summary:
GeoJson
directlyWhat are the other options?
leafletjs is really good choice as it directly support geojson. It has support for:
And we can mix and match all types of data.
Come up with recommendation on what we use
Clearly leafletjs is winner between the two
The text was updated successfully, but these errors were encountered: