diff --git a/app/views/developer.scala.html b/app/views/developer.scala.html index 9b626d50a7..51fb4640d9 100644 --- a/app/views/developer.scala.html +++ b/app/views/developer.scala.html @@ -12,12 +12,15 @@

Developer Zone

that support people with mobility impairments!

- We serve the accessibility data in two formats: Access Feature and Access Score. Access Feature contains - point-level information on what accessibility feature exist and where (latitude-longitude). See below for an example. - Access Score is a numerical value that indicates how (in)accesible a given street/area is. See the Access Score APIs for examples. + We serve our accessibility data in two formats: Access Feature and Access Score. Access Feature contains + point-level information on what accessibility features exist and where (latitude-longitude). See below for an example. + Access Score is a value that indicates how (in)accessible a given street/area is. See the Access Score APIs for examples.

- You can get the data either through the REST APIs or download the zip file. + You can get the data through the REST APIs. + @*or download the zip file.*@ + You can also help contribute! The code is available on + github.

@@ -36,9 +39,9 @@

Access Features

@@ -109,7 +112,7 @@

Access Score: Streets

@@ -151,7 +154,7 @@

Access Score: Streets

200
- The API returns the streets that has been audited at least once as a Feature Collection of + The API returns the streets that have been audited at least once as a Feature Collection of LineString features. Each LineString feature include street's geometry as well as the corresponding Access Score.
@@ -182,7 +185,7 @@

Access Score: Neighborhood

@@ -252,26 +255,28 @@

Access Dataset

-

Warning

+

Disclaimer

- We are still in the experimental stage of the project, and so we want you to keep in mind a few things, for example: + We are still in the experimental stage of the project, so we want you to keep in mind a few things, + for example:

    -
  1. APIs' design (e.g., URL, response formats) could change
  2. -
  3. we are focusing on collecting data only from Washington, D.C. at the moment
  4. -
  5. since we have only covered @("%.0f".format(StreetEdgeTable.streetDistanceCompletionRate(1) * 100))% of the entire area of DC, - you would find neighborhoods where we don't have the accessibility data yet - (note you can help us by contributing to data collection too ;)).
  6. +
  7. APIs' design (e.g., URL, response formats) could change.
  8. +
  9. We are focusing on collecting data only from Washington, D.C. at the moment.
  10. +
  11. Since we have only covered @("%.0f".format(StreetEdgeTable.streetDistanceCompletionRate(1) * 100))% of DC, + there are neighborhoods where we currently have very little accessibility data. + Note: You can help us by contributing to data collection too ;-).
-

Contribute

+

Contribute

- All the code for Project Sidewalk is open source. You can find it in our GitHub repo. - We welcome your help in advancing the project. If you make enhancement, fix a bug, etc, send a pull request! + All the code for Project Sidewalk is open source. You can find it in our + GitHub repo. + We welcome your help in advancing the project. If you make an enhancement or fix a bug, send a pull request!

@@ -280,9 +285,11 @@

Contribute

Contact Us

- Questions? Bugs? Feature requests and suggestions? Or anything else? Email us (sidewalk@@umiacs.umd.edu), - post a GitHub issue, or follow and talk to us - on Twitter (@@umd_sidewalk)! + Questions? Bugs? Feature requests and suggestions? Or anything else? Email us + (sidewalk@@umiacs.umd.edu), post a + GitHub issue, + or follow and talk to us on Twitter + @@projsidewalk!

@@ -291,8 +298,8 @@

Contact Us

License

- We are working on this! We'll choose a license that gives as much flexibilities as possible for - developers and researchers to use the data ;) + We are working on this! We plan to choose a license that gives as much flexibility as possible for + developers and researchers to use the data.

diff --git a/app/views/main.scala.html b/app/views/main.scala.html index ae535e5b6e..ac09354fb9 100644 --- a/app/views/main.scala.html +++ b/app/views/main.scala.html @@ -149,6 +149,7 @@ // Column is 'Connect' // log is of form: "Click_module=Footer_section=connect_platform=<"github", "twitter", or "email">" $("#footer-container").on('click', 'a', function(e){ + var currentRoute = window.location.pathname; var id = e.currentTarget.id.split("-"); var column = id[0]; var link = id[1]; @@ -160,6 +161,7 @@ else{ activity = activity+"platform="+link; } + activity = activity + "_route="+currentRoute; var url = "/userapi/logWebpageActivity"; var async = true; @@ -178,10 +180,11 @@ }); // Log clicks on links in the information footer to WebpageActivityTable - // Log is of form: "Click_module=InfoFooter_target=" + // Log is of form: "Click_module=InfoFooter_target=_route=" $('#info-footer').on('click','a', function(e){ + var currentRoute = window.location.pathname; var link = e.currentTarget.id.split("-")[0]; - var activity = "Click_module=InfoFooter_"+"target="+link; + var activity = "Click_module=InfoFooter_"+"target="+link + "_route="+currentRoute; var url = "/userapi/logWebpageActivity"; var async = true; $.ajax({ diff --git a/app/views/navbar.scala.html b/app/views/navbar.scala.html index 2a1fdf92dd..05884915d8 100644 --- a/app/views/navbar.scala.html +++ b/app/views/navbar.scala.html @@ -88,6 +88,71 @@ + + + + @if(!user) {
- This API serves point-level location data on accessibility features. The major categories of the features include: - "Curb Ramp," "Missing Curb Ramp," "Obstacles," and "Surface Problem." - You would occasionally find an accessibility feature like "No Sidewalk." + This API serves point-level location data on accessibility features. The major categories of features include: + "Curb Ramp", "Missing Curb Ramp", "Obstacle", and "Surface Problem". + The less common features are "No Sidewalk", "Occlusion", and "Other".
This API serves Accessibility Scores of the streets within a specified region. - Accessibility Score is a numerical value between 0 and 1, where 0 means inaccessible and + Accessibility Score is a value between 0 and 1, where 0 means inaccessible and 1 means accessible.
This API serves Accessibility Scores of the neighborhoods within a specified region. - Accessibility Score is a numerical value between 0 and 1, where 0 means inaccessible and + Accessibility Score is a value between 0 and 1, where 0 means inaccessible and 1 means accessible.