GithubHelp home page GithubHelp logo

earthfissureviewer's Introduction

EarthFissureViewer(NOT BEING USED)

Mapped earth fissures in the state of Arizona.

Fissures are now displayed and updated on the Hazards Viewer

get the code

Development mode

After cloning the repository, move into the folder and then

python -m SimpleHTTPServer

The site will be visible at http://localhost:8000

Data Formats

Both the fissures and the study areas are served out to the viewer as geojson files, located in the /data folder. The structure for the data must remain consistent.

earth_fissures.json

There must be a field called Label which contains one of the following 3 values, exactly as written below.

  • Continuous earth fissure
  • Discontinuous earth fissure
  • Reported, unconfirmed earth fissure

earth_fissure_study_areas.json

There must be the fields Label and Pdf. The Pdf field contains the name of any associated pdf files (.pdf) and the thumbnail image (.png) file without the file type extension. (The pdf and thumbnail must be named the same.) If there are mulitiple pdfs they must be separated with a comma. Only one thumbnail is allowed per study area. For example:

Label: "Greene Wash",
Pdf: "greene-wash"

or

Label: "Picacho Peak and Friendly Corner",
Pdf: "picacho-1,picacho-2,picacho-3"

The pdfs and pngs associated with the study areas are located in the folder /assests.

Updating the Fissures and the Study Areas

Starting with updated shapefiles exported from the ArcGIS Fissures project:

  • Project the shapefile to WGS 84
  • Convert to json using tool in ArcTools
  • Then convert the json feature to geojson at http://ogre.adc4gis.com/
  • Copy converted text to notepad and save as .json
  • Replace file in data folder

Don't forget to add the new pdfs and pngs to the assests folder.

See AZGS/development for updating the live server.

Preview here: http://azgs.github.io/EarthFissureViewer/

earthfissureviewer's People

Contributors

asonnenschein avatar rclark avatar

Stargazers

Erdong avatar

Watchers

James Cloos avatar  avatar Laura Bookman avatar Joe Cook avatar

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.