Giter VIP home page Giter VIP logo

cugirjs's People

Contributors

kgjenkins avatar

Stargazers

 avatar

cugirjs's Issues

switch to geojson index maps

With OpenIndexMaps geojson data in the browser, we can:

  • show data availability by using different colors
  • label or add tooltips for each mapsheet
  • search for a mapsheet by name or id -- issue #15
  • better calculate which mapsheet is clicked, without having to make a WFS call
  • click to unselect mapsheets
  • download multiple files at once -- issue #14

separate sift-ui

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)?

load index map features as separate items

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:

  • calculate the bbox from the feature geometry
  • add the subset name/label to the title
  • replace the "place" field
  • copy other fields as appropriate

clip and ship

Since generated downloads are handled via WFS, allow users to select a bbox on the map to download a clipped dataset.

spatial relevance

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

attribute help

When displaying attribute info for a clicked feature, mousing over an attribute name should display the attribute definition from the FGDC metadata.

search index maps

Users should be able to search for a mapsheet/feature by name or id.

search by map click on homepage

Need to figure out how to rank results such that smaller datasets near the point are ranked higher than large statewide datasets.

loosen clickmap precision

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).

clickmap should only return one feature

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.

download multiple files from index map

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.

sort search results

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.