WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf ·...
Transcript of WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf ·...
![Page 1: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/1.jpg)
1
WEBMAPPINGA Case Study of Watershed Locator Using MySQL/PHP
WHAT IS WEBMAPPING?Viewing geographic information over the internet, including the presentation of general purpose maps to display locations and geographic backdrops
-Wikipedia
![Page 2: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/2.jpg)
2
OBJECTIVESAddress Location
Watershed Identification
Routing
Google Earth
CONCEPTS
Geocoding
Spatially enabled Databases
API Usage
![Page 3: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/3.jpg)
3
TOOLS
Client-side technologies: HTML, JavaScript, Ajax, XmlServer-side technologies: PHPDatabase technology: MySQL/PostGIS
DATASource: www.Inforain.org
Geographic Extent: Pacific Northwest
Metadata:Longitude_of_Central_Meridian: -100Latitude_of_Projection_Center: 45Semi-major_Axis: 6370997.00000False_Easting: 0.00000False_Northing: 0.00000Geodetic ModelHorizontal_Datum_Name:Ellipsoid_Name: Clarke 1866Semi-major_Axis: 6,378,206.4Denominator_of_Flattening: 294.98
![Page 4: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/4.jpg)
4
PROJECTING THE SHAPEFILELambert Azimuthal Coordinate system
-100/45 as Projection center
Spatial Adjustments
Transformation
Exported as WGS84
![Page 5: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/5.jpg)
5
![Page 6: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/6.jpg)
6
MySQL/PHP MODULE
Shapefile – CSV ( FME Software)
MySQL table (Primary_key, Poly_db_id), Poly_point_xPoly_point_y)
PHP/MySQL Application determines the points in Polygon using pointinpoly algorithm
![Page 7: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/7.jpg)
7
GOOGLE API and KML
http://www.google.com/apis/maps/
An application program interface, a set of routines, protocols, and tools for building software applications. A good API makes it easier to develop a program by providing all the building blocks. A programmer puts the blocks together - Wikipedia
http://earth.google.com/kml/
![Page 8: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/8.jpg)
8
GEOCODINGGoogle API fetches the coordinates of the
input address using geocoding properties inbuilt in it
The geocoder returns a point object that have x, y coordinates
Using x, y points, php builds an AJAX request
The SQL wrapper selects all sheds that contain the point
![Page 9: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/9.jpg)
9
![Page 10: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/10.jpg)
10
ShortcomingsMissing Watershed Names
Only > 5000 ha
Missing Projection
CaveatPlease do not use InnoDB tables instead of MyISAMtables for spatial data, It will crash the server (It really did)
OTHER APPLICATIONSJRC Tsunami Propogation ModelAn interface to collections of scientific field data Mapping local resources on corporate intranetMedia Monitoring for within government agencies Engine for collaborative city annotation Mapping Photoblogging travelsMapping social networks and bloggers
![Page 11: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/11.jpg)
11
Future is BrightUbiquitous use in the Flash Player and with RSS feeds.Highly configurable look and feel. Can use images for marking annotations.Annotations updated in the background, live. Accepts input for Collaborative Cartography. Connects annotations for GPS track routes
Acknowledgementshttp://www.google.com/apis/maps/
http://earth.google.com/kml/
http://www.phpbuilder.com/
www.inforain.org
www.esri.com
www.sourceforge.net
Many more……
![Page 12: WEBMAPPING - Portland State Universityweb.pdx.edu/.../Projects/SKottapalli_Webmapping.pdf · WEBMAPPING A Case Study of Watershed Locator Using MySQL/PHP WHAT IS WEBMAPPING? ... ¾Engine](https://reader033.fdocuments.in/reader033/viewer/2022043006/5f8e15e99a57cc2e8a7ab860/html5/thumbnails/12.jpg)
12
THANK YOU
QUESTIONS PLEASE!