Code Monkey home page Code Monkey logo

mn-explorer's People

Contributors

nmarchio avatar nofurtherinformation avatar

Watchers

 avatar

Forkers

nmarchio

mn-explorer's Issues

Setup the JSON config file on S3 for download files

I added the following index file with country and file names to the S3 bucket containing the data so we're ready to hook up the download functionality. Happy to take a stab at this on my own but creating an issue for viz.

Here is the URI : s3://mnp-data-download/_file_index.json

const countryList = [
  {
    name: "sub-Saharan Africa",
    filepath: "AF/africa_geodata",
  },  
  {
    name: "Angola",
    filepath: "AGO/AGO_geodata",
  },  
  {
    name: "Burundi",
    filepath: "BDI/BDI_geodata",
  },  
];


const fileTypes = [
  {
    name: "Parquet",
    extension: "parquet",
  },
  {
    name: "GeoPackage",
    extension: "gpkg",
  },
];

const cdnBase = "dsbprylw7ncuq.cloudfront.net";

Add image that appears in metatags

I added a placeholder image to the /public directory however it doesn't seem be appearing in the social media banner.

Any ideas on best way to hook it up?

Found this site which is a good way to test: https://www.opengraph.xyz/
Apparently the optimal aspect ratio is 1200x630px

Also in case there is a way to cycle through different views of the map here are links to specific cities that give pretty cool views:

Lagos: https://www.millionneighborhoods.africa/#11.63/6.4673/3.3842
Dar es Salaam: https://www.millionneighborhoods.africa/#11.16/-6.8413/39.2718
Kinshasa: https://www.millionneighborhoods.africa/#11.77/-4.3178/15.2685
Nairobi: https://www.millionneighborhoods.africa/#12.33/-1.29349/36.82689
Dakar: https://www.millionneighborhoods.africa/#11.59/14.7386/-17.3777
Freetown: https://www.millionneighborhoods.africa/#11.81/8.43171/-13.23846
Accra: https://www.millionneighborhoods.africa/#11.24/5.57/-0.2304
Luanda: https://www.millionneighborhoods.africa/#11.54/-8.8478/13.2923
Windhoek: https://www.millionneighborhoods.africa/#11.83/-22.55722/17.06952
Cape Town: https://www.millionneighborhoods.africa/#11.1/-33.9857/18.5339
Maputo: https://www.millionneighborhoods.africa/#11/-25.8812/32.5637
Harare: https://www.millionneighborhoods.africa/#11.66/-17.8571/31.0533
Lusaka: https://www.millionneighborhoods.africa/#11.57/-15.4122/28.2952
Blantyre: https://www.millionneighborhoods.africa/#11.73/-15.7973/35.018
Kampala: https://www.millionneighborhoods.africa/#11.12/0.2641/32.5417
Addis Ababa: https://www.millionneighborhoods.africa/#11.81/8.99783/38.76702
Mogadishu: https://www.millionneighborhoods.africa/#13.04/2.0422/45.34075
Abidjan: https://www.millionneighborhoods.africa/#10.86/5.3374/-3.9717
Ouagadougou: https://www.millionneighborhoods.africa/#11.79/12.3592/-1.53824
Antananarivo: https://www.millionneighborhoods.africa/#11.35/-18.9118/47.5239

Change legends and tooltip labels of block complexity, add annotated explanation

Alias the legend labels for the block complexity field to show something like the following (including an annotation footnote at the bottom).
https://github.com/nofurtherinformation/mn-explorer/blob/master/config/MapVariables.ts

Block street access *
1 
2 (high)
3
4 (moderate)
5
6 (low)
7
8
9
10+ (very low)
Off-network
________________
* measures the number of building parcels between the least accessible structure and the street network. This metric is called block complexity.

Change block complexity tooltip labels to "Building street access":
https://github.com/nofurtherinformation/mn-explorer/blob/master/config/TooltipColumns.ts#L21
https://github.com/nofurtherinformation/mn-explorer/blob/master/config/TooltipColumns.ts#L83

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.