Git Product home page Git Product logo

apographe's People

Contributors

paregorios avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

apographe's Issues

command: remove

remove {place id}, e.g, remove zucchabar

Deletes the corresponding place from the internal gazetteer.

command: align

Attempt to align one or more items in the internal gazetteer with items in an external gazetteer. Results look like search results, with added criteria measures.

  • align {gazetteer name} {internal place id} - searches for possible matches for a single internal item
  • align {gazetteer name} - searches for possible matches for all internal items
  • align {gazetteer name} names:{"exact" | "similar" | "none" } - control string matching for one or more names (default "exact")
  • align {gazetteer name} proximity:{positive integer meters | "none" } - control distance buffering (default "5000", i.e., 5km)

Criteria:

  • proximity: Falls within buffer distance of convex hull around existing geometries in the internal place
  • Exact string match for one or more names (fallback to string similarity?)

command: go

go {internal place id} - opens default browser and loads place URI

command: search near

search {gazetteer name} [parameters] near:{place id} distance:{distance}, e.g., search feature_type:fort near:zucchabar 1000.0

The example finds all forts within 1000.0 meters of Zucchabar.

search pleiades feature_type:fort near:internal 1000.0

The example finds all forts that fall within a convex polygon around the extent of all places in the internal gazetteer, buffered by an additional 1000.0 meters.

from @sfsheath with modifications

command: merge

merge {place id} {another place id}, e.g., merge zucchabar miliana

Creates a new place in the internal gazetteer by non-destructively combining the existing places (already in the internal gazetteer) with ids "zucchabar" and "miliana".

command: map

map {place id}, e.g., map zucchabar

Uses folium to create a HTML file with embedded leaflet map showing the geometry associated with the place with id="pleiades" in the internal gazetteer, writes that HTML file to a temporary file on the local disk, and launches it in the default browser.

map internal

Same functionality as preceding example, but includes geometries from every place in the internal gazetteer.

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.