<commit_before># Manhattan Tourist Itinerary

Open Source Geo Project Manhattan

Authors: <NAME> & <NAME>

Client Technologies: OpenLayers 2, GeoExt2, Ext.JS, and PHP

## Data

1. Getting data from weogeo market (http://market.weogeo.com/datasets/osm-openstreetmap-new-york-ny-metro-region), here all needed layers are available
   Needed layers (as ESRI shapefile): highway (streets), leisure (parks), tourism (museums), buildings, amenity (theatres)<commit_msg>Deepanjana Updating the README file<commit_after># Manhattan Tourist Itinerary

The Manhattan client has been created in GeoExt’s MVC (Model-View-Controller) programming style.

Authors: <NAME> & <NAME>

## Server Side

- PostgreSQL database hosting different tables that store geometry data (‘features’) corresponding to the different ‘layers’ that are displayed in the ‘manhattan’ client

- pgRouting extension that has been added (by default) to PostgreSQL database. The ‘ways’ table is pgRouting geometry (the_geom) enabled which is returned to the client application (‘manhattan’) via PHP

- GeoServer is the WMS service provider. It exposes the different PostgreSQL tables to the ‘manhattan’ application via webservice calls via http://localhost:8082

- a php file (routing_multiple.php) which acts as proxy between ‘manhattan’ and ‘ways
 table in PostgreSQL

## Client Side

- ‘Manhattan’ => the JavaScript (JS) client application built in MVC style. It comprises the following important folders:

-- app: stores the relevant model, view, controller files
-- library: stores the relevant OpenLayers 2, GeoExt 2, and Ext.JS library files
-- resources: contain client application relevant non-JavaScript files such as images (of NYC), help files (map files) etc.
-- the php file (route_multiple.php) is contained in the manhattan/resources/php folder

- Apache2 (HTTPD) webserver that hosts the ‘manhattan’ application client on http://localhost:80/ 

## How to load ‘Manhattan’ client application in Apache2

- Clone this repository into your local repo
- Copy the ‘Manhattan’ folder in /var/www/html folder
- Then the index.html file will be visible in the browser http://localhost:80/manhattan/ (localhost/manhattan as shortcut)
- One can create more advanced/virtual sites by editing /etc/apache2/conf-available folder by creating a new configuration

## Preparing Data

1. Getting data from weogeo market (http://market.weogeo.com/datasets/osm-openstreetmap-new-york-ny-metro-region), here all needed layers are available
   Needed layers (as ESRI shapefile): highway (streets), leisure (parks), tourism (museums), buildings, amenity (theatres)
{'fraction_non_alphanumeric': 0.08177302254489874, 'fraction_numerical': 0.006495987772258311, 'mean_word_length': 4.923076923076923, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4057155', 'n_tokens_mistral': 742, 'n_tokens_neox': 706, 'n_words': 315}