kgjenkins / cugirjs Goto Github PK
View Code? Open in Web Editor NEWCUGIR as a simple javascript app
Home Page: https://kgjenkins.github.io/cugirjs
License: MIT License
CUGIR as a simple javascript app
Home Page: https://kgjenkins.github.io/cugirjs
License: MIT License
With OpenIndexMaps geojson data in the browser, we can:
Clicking a raster map should fetch the raster value and that point.
Add geojson and kml downloads via WFS.
Try removing it and just defining map styles in config.js
.
Need to figure out how to rank results such that smaller datasets near the point are ranked higher than large statewide datasets.
Rank search results by spatial relevance, something like this:
relevance = overlapArea / mapArea * overlapArea / itemArea
This should give a number 0 to 1, where 0 is irrelevant and 1 is perfect.
This computation will only need to be done for matches, and using bboxes will probably suffice
GeoServer's WFS GetFeature appears to return any feature whose bbox contains the requested location, even if the feature itself does not contain that location.
Once the WFS results are received, filter results using something like leaflet-pip.
If there are legitimate multiple matches (for example, closely-spaced points, or overlapping polygons) then perhaps provide some way for the user to iterate through the matches.
Since generated downloads are handled via WFS, allow users to select a bbox on the map to download a clipped dataset.
Given an index map, we could automatically create an item for each subset, improving the user experience when searching by text or map.
To create the new items, we would want to:
Provide options for how to sort results (relevancy, date, title, etc)
Also record the bbox used for the search in the URL hash, so that results are in the same order when user returns to the search results.
When displaying attribute info for a clicked feature, mousing over an attribute name should display the attribute definition from the FGDC metadata.
Users should be able to search for a mapsheet/feature by name or id.
Currently, user can click multiple features to highlight, add to list, and then download all files at once. This works in Chrome, but in Firefox, some files don't get downloaded.
Maybe try increasing the timeout a bit.
Currently, when the map is clicked, a WFS request is sent using the bbox of a specific point. Unless the map is zoomed way in, it is very difficult to click a point.
Instead of a single point (zero-area) bbox, calculate and send a bbox of the clicked pixel (or slightly larger).
similar to current CUGIR site
Would it help to split UI functions into a separate Sift-ui file (which could include the map-related parts, or else put those into a Sift-geo file)?
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.