Coder Social home page Coder Social logo

friedrichmueller / docker-flask-geoparsepy Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 520 KB

Geoparse demo-application with flask, geoparsepy, nltk, leaflet provided by docker

License: MIT License

Dockerfile 1.17% Python 35.60% JavaScript 3.48% CSS 43.94% HTML 15.81%

docker-flask-geoparsepy's Introduction

docker-flask-geoparsepy

Short description

  • Geoparse demo-application with flask, geoparsepy, nltk, leaflet provided by docker
  • Inspired by flask-docker

Local installation

Requirements:

  • Docker
  • Docker-compose

Steps

  • git clone https://gitlab.gwdg.de/FriedrichMueller/docker-flask-geoparsepy.git
  • cd Geoparsepy
  • docker-compose up -d

Point your browser to http://0.0.0.0:5000

Info and Extension

  • Current database is filled with dataset for Australia and New Zealand.

  • You can add more database tar dumps from the geoparsepy documentation like

    • au_nz_places.tar [1 Mb]
    • north_america_places.tar [18 Mb]
    • europe_places.tar [137 Mb]
    • global_cities10.tar [4131 Mb]

    within the /app/data folder.

You can add the dump according the existing dump in app.py

  • you can configure the geoparsepy settings in /app/app.py like used language etc.

Possible further tasks

  • Build API for geoprocessing
  • Implement solution for place name disambiguation
  • Parallelize place name view with map view
  • Highlight place entities

Further information

docker-flask-geoparsepy's People

Contributors

friedrichmueller avatar

Stargazers

deepk avatar

Watchers

James Cloos avatar  avatar

docker-flask-geoparsepy's Issues

Outdated version. Does not work any more.

There are several issues with this repository.

  • Linked documentation is dead
  • It's based on Ubuntu:latest, the packages in the Dockerfile now need to be python3-pip python3-dev etc.
  • The docker-compose uses mdillon/postgis as postgres image which is PG11, so postgresql-client-11 must be installed in the Dockerfile too
  • The code does not work with the current geoparsy lib eg. geoparsepy.common_parse_lib is no longer there.
    That's the point where I stopped.
    Sorry for not sending a pull request, but when I saw the code quality I think it's not worth it to invest time in this.

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.