Git Product home page Git Product logo

geoexplorer's Introduction

Geoexplorer

Geoexplorer is a framework meant to be used for black-box-testing and/or scraping data from geographic services like Google Places and Foursquare.

Full documentation both for developers and users can be found in the doc folder of the project. The full API is there as well.

Install dependencies

Ubuntu 13.10

Works out of the box.

Ubuntu 12.04

sudo apt-get install python3 python3-lxml

Windows 7

  1. Download and install python3.2 from http://www.python.org/download/releases/3.2.5
  2. Edit windows path
    • Go to Control Panel > System > Advanced system settings
    • Click the Environment variables.. button
    • Edit PATH and append ;C:\python32\
  3. Install the lxml3.2 from http://pypi.python.org/pypi/lxml/3.2.4

Usage

  1. Run python3 examples/<example>.py substituting <example> with one of the example files
  2. Open GUI/index.html with a webbrowser to see live what is going on

Some services like Google Radar require an API key. You can edit that by adding it in the source (ie. examples/google_radar_search.py).

Once running, a folder called log will be created at the current directory. This folder with be populated with log files on-the-fly. These can be used to debug the search and see the results.

Configuration

The config.py keeps all the applicable options for Geoexplorer in a single file. Each option is described bellow:

  GUI_PORT                -> Port being used for the communication with the
                             GUI
  
  LOG_PATH                -> Folder name where logs should be stored
  LOG_SCANNING_FILENAME   -> Name of file for logging scanning steps
  LOG_SESSION_FILENAME    -> Name of file for logging statistics fom each
                             scanning session
  LOG_RESULTS_FILENAME    -> Name of file for logging every single result
  NEW_FOLDER_EACH_SESSION -> Should a new folder be created on each scanning
                             session?
  
  BOUNDS                  -> The coordinates lat, lng, lat2, lng2 for
                             scanning. 
  
  'box'
  X_DISTANCE              -> Desirable distance in m. for a box' x axis
  Y_DISTANCE              -> Desirable distance in m. for a box' y axis

  'scheduler'
  NEXT_SEARCH_WAIT        -> Seconds to wait before going scanning next box

The 'service' entry (not shown above) is used as a template by the services and should not be altered.

Logging

There are three files for logging different things.

  SESSION:  Different statistics for the whole scanning session
  SCANNING: This is the main debugging log file. Every scanning step is recorded
            in this file.
  RESULTS:  This keeps all the results extracted during the scanning session

Troubleshooting

The map in the GUI doesn't show any boxes.

A. Try to install the latest firefox web browser. The GUI will not work for old browsers(IE8 for example).

geoexplorer's People

Contributors

pithikos avatar

Watchers

James Cloos avatar Satish Lakhani 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.