Code Monkey home page Code Monkey logo

strade-nomi-confusi's Introduction

strade-nomi-confusi

Map of the streets with the confused names in Trento

Demo

Algorithms

Data

data/
├── highway.json		GeoJSON original data downloaded from Openstreetmap by Overpass
├── highway.csv			Main properties without geometries
├── highway.sqlite		Sqlite version from csv, to group streets by names and filter commons *bad words* (via,piazza,strada...)
├── highway_blacklist_name.csv 	Commons *bad words* generated by complete list of names
└── highway_distinct_name.csv 	List of distinct names

Bad words

How to generate a list of commons bad words

SQL Query:

SELECT DISTINCT LOWER(SUBSTR(name, 0, INSTR(name, ' '))) AS word1
FROM highway 
WHERE highway.highway <> '' 
ORDER BY word1

highway.sqlite -> highway_distinct_name.csv:

Usage

npm install
npm start

strade-nomi-confusi's People

Contributors

napo avatar stefanocudini avatar

Watchers

 avatar  avatar  avatar

strade-nomi-confusi's Issues

bad names

  • va fatto un elenco di parole da scartare (ad inizio nome via) come:
    • via
    • v.
    • corso
    • c.so
    • piazza
    • p.
    • piazzetta
    • p.etta
    • viale
    • [ecc..]
      altrimenti qualsiasi algoritmo va a calcolare questi casi (e quindi ci sarà sempre un nome "confuso").

abbreviazioni

ci sono molti nomi di vie che vengono compresse.
Es.
Via G. Mazzini
Via Mazzini
Via Giuseppe Mazzini

Bisogna prendere in considerazione anche questi casi.

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.