Optimum route finder to the point of interest through

Download Report

Transcript Optimum route finder to the point of interest through

Optimum route finder to the point
of interest through public transport
By
Pratik Mehta
Submitted to
Dept. Comp. Science and Engineering
IIT-Bombay
Table of Content
1.
2.
3.
4.
5.
6.
7.
8.
9.
Introduction
Available spatial and non-spatial data
Data Modeling
Uploading on ArcGIS Server
Creating Web application
Snapshots
Conclusion
Future Expansion
References
1. Introduction
• Web-based prototype
• What our application does?
– Origin bus stop
– Point of interest (hospitals, malls, cinemas etc.)
– Nearest bus stop from point of interest
– Route from point of interest to nearest bus stop
– Route from origin bus stop to destination bus stop
– Bus Number and Timing
2. Available spatial and non-spatial
data
•
•
•
•
•
•
•
•
•
•
A_C Bus Stop 2011: All route wise station names
CityBus Time Sept 2010: Timing between stations
Route Timing: Time for New Mumbbai (3 Routes only)
ACTimeTableApril 2012: Number of trips through out a
day
Ac Bus Stop.shp: (BUSSTOP, ROUTE, XCORD, YCORD)
Ac Bus Route.shp: Road network for AC Buses
Road.shp: Road Network of Mumbai city
Town Boundary.shp: Outer Boundary with name
POI.shp: (LONG, LAT, Name, Category)
Railway Line.shp:
3. Data Modeling
• Directions
– Up and Down (Attribute Run)
– Truncated Routes
• Bus Stops
– Two Points on same locations
– Unique ID
• Bus Route
– Add attribute ‘Name’
3. Data Modeling
• Address Locator
– Convert textual description to location
– Why we need that?
– Different style available
– What if we don’t give tolerance?
• Find Route tool (ArcGIS 10)
– Why we use it? What it returns?
– What we should have before using it?
3. Data Modeling
3. Data Modeling
3. Data Modeling
3. Data Modeling
3. Data Modeling
3. Data Modeling
• Why Combination of three in Ref_ID?
3. Data Modeling
3. Data Modeling
• Final GeoDatabase
– Making single shapefile
• Map Document
– Add required layers
– What about visibility?
– At least one network layer (Route, Closest Facility)
4. Uploading on ArcGIS Serve
• Type of services server provides
– Map service (.mxd)
– Geocode service (.loc)
– Geodata Service
– Geometry service (no GIS resource requires)
– Geoprocessing services (toolbox- .tbx)
– Image Service (For raster data)
– Search Service
4. Uploading on Server
• Three ways to upload service
• Enable capabilities like KML, Network Analysis,
Mobile Data Access etc.
• Mapping will be default capability
• After successful upload you will get link
– http://gise-lab-int1:8399/arcgis/rest/services/Final/MapServer
– http://gise-lab-int1:8399/arcgis/rest/services/Final/NAServer/Route
5. Creating Web Application
• In built application in ArcGIS Server
• SOAP Services (Java, .NET)
– Server side development
– Lack of functionalities
• REST Services (JavaScript, Silverlight, Flex,
Apex)
– Client side development
– Very popular
5. Creating Web Application
• DOJO Toolkit
– Dojo is an open source toolkit that helps you write
robust and efficient JavaScript code
– The ESRI developers who created the ArcGIS
JavaScript API used Dojo to simplify their
development
– dojo.require("esri.map") (which is minimum)
• Why not Jquery?
6. Snapshots
7. Conclusion
• Closest facility and shortest route is working
fine but still there are some drawbacks
– Only 10 facilities have been added (total 420
stops)
– Browser compatibility in JavaScript
– Complex Queries
– Identifying closest facility
• Because of decimal numbers
• Can’t do reverse geocoding too
– Route Number
8. Future Expansion
• New Programming language
– Flex has highest number of examples available
• Mobile Compatibility
– For iOS
– Enable mobile data access
– Change view port
• Change of bus feature
9. References
•
•
•
•
•
•
•
•
•
•
•
•
•
http://www.routenetwork.com.overtures-infotech.com/iis6954.asp
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/What_is_geocoding/00250000000
1000000/
http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?topicname=creating_an_address_locator
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002500000002000000.htm
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Commonly_used_address_locator
_styles/0025000000v000000/
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/What_is_Network_Analyst/00470
00000010000/
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00qp00000008000000.htm
http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#add_new_svc.htm
http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Giving_ArcGIS_Server_access_t
o_folders
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_rest.htm
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Serialization_in_t
he_SOAP_API/0001000002n6000000/
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshel
p/inside_dojo.htm
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/mobile_si
mplemap.html
9. References
• Geocoding
– http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm
?TopicName=Building%20an%20address%20locator%
20for%20alternative%20searches
– http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm
?topicname=creating_an_address_locator
– http://webhelp.esri.com/arcgisdesktop/9.2/tutorials/
Geocoding9.htm
– http://help.arcgis.com/en/arcgisdesktop/10.0/help/i
ndex.html#//002500000042000000.htm
– http://www.lib.unc.edu/reference/gis/faq/geocode.ht
ml
9. References
• Development
– http://help.arcgis.com/en/webapi/javascript/arcgis/help/js
samples_start.htm#jssamples/query_nomap.html
– http://help.arcgis.com/en/webapi/javascript/arcgis/help/js
samples_start.htm#jssamples/locator_address.html
– http://help.arcgis.com/en/webapi/javascript/arcgis/help/js
samples_start.htm#jssamples/routetask_find_route.html
– http://help.arcgis.com/en/webapi/javascript/arcgis/help/js
samples_start.htm#jssamples/routetask_closest_facility.ht
ml
Any questions?
Thank you