Mapserver Application

5,946 views

Published on

MapServer is a popular Open Source project whose purpose is to display dynamic spatial maps over the Internet. Some of its major features include:
support for display and querying of hundreds of raster, vector, and database formats
ability to run on various operating systems (Windows, Linux, Mac OS X, etc.)
support for popular scripting languages and development environments (PHP, Python, Perl, Ruby, Java, .NET)
projections
high quality rendering.

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
5,946
On SlideShare
0
From Embeds
0
Number of Embeds
3,263
Actions
Shares
0
Downloads
12
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Mapserver Application

  1. 1. Mapscript Applications1. Introduction2. Architecture of Mapserver3. Database4. Conclusion Under guidence of Prof. Thost Presented by 11/12/2011 Uday Sharma 1
  2. 2. Introduction of Mapscript application1. Introduction2. Architecture of Mapserver MapServer is a popular Open Source project whose purpose3. Database is to display dynamic spatial maps over the Internet. Some of its major features include:4. Conclusion • support for display and querying of hundreds of raster, vector, and database formats • ability to run on various operating systems (Windows, Linux, Mac OS X, etc.) • support for popular scripting languages and development environments (PHP, Python, Perl, Ruby, Java, .NET) • projections • high quality rendering. 11/12/2011 2
  3. 3. Raster Map1. Introduction1.1 Raster Map1.2 Vector Map1.3 Projection2. Architecture of Mapserver3. Database4. Conclusion 11/12/2011 3
  4. 4. Vector Map1. Introduction1.1 Raster Map1.2 Vector Map1.3 Projection2. Architecture of Mapserver3. Database4. Conclusion 11/12/2011 4
  5. 5. Projection on Map1. Introduction1.1 Raster Map1.2 Vector Map1.3 Projection2. Architecture of Mapserver3. Database4. Conclusion http://www.dmap.co.uk/utmworld.htm http://www.travelmath.com/country/Germany 11/12/2011 5
  6. 6. Architecture of Mapserver1. Introduction2. Architecture of Mapserver3. Database4. Conclusion 11/12/2011 Figure 2. Mapserver architecture 6
  7. 7. WMS , WFS and WCS1. Introduction2. Architecture of Mapserver2.1 WMS ,WFS and WCS 3. WFS (Web2.2 Map Feature Services)Configuration2.3 .map and.shp file3. Database4. Conclusion 1. WMS (Web 2. WCS (Web 11/12/2011 Mapping Service) Coverage Service) 7
  8. 8. Map File Configuration1. Introduction2. Architecture of Mapserver2.1 WMS ,WFS and WCS2.2 MapConfiguration2.3 .map and.shp file3. Database4. Conclusion 11/12/2011 8
  9. 9. Map File MAP1. Introduction NAME "sample" STATUS ON2. Architecture of SIZE 600 400 SYMBOLSET "../etc/symbols.txt" Mapserver EXTENT -180 -90 180 90 UNITS DD2.1 WMS , SHAPEPATH "../data" IMAGECOLOR 255 255 255WFS and WCS FONTSET "../etc/fonts.txt"2.2 Map #Configuration # Start of web interface definition #2.3 .map and WEB IMAGEPATH "/ms4w/tmp/ms_tmp/".shp file IMAGEURL "/ms_tmp/"3. Database END4. Conclusion # .shp File # Start of layer definitions # LAYER NAME global-raster TYPE RASTER STATUS DEFAULT DATA bluemarble.gif END END 11/12/2011 .map File 9
  10. 10. Vector layer over Raster layer Example1. Introduction2. Architecture of Mapserver LAYER NAME "world_poly"2.1 WMS DATA shapefile/countries_area.shp STATUS ON, WFS and TYPE POLYGON CLASSWCS2.2 Map File NAME The World STYLEConfiguration OUTLINECOLOR 0 0 02.3 .map and END END.shp file END # layer2.3.1 Raster over vactormap2.3.2 Class and Symbol2.3.3 Label3. Database4. Conclusion 11/12/2011 10
  11. 11. Class and Symbole Class1. Introduction CLASS NAME "Primary Roads"2. Architecture of STYLE Mapserver COLOR 178 114 1 SIZE 152.1 WMS , END #style1 STYLEWFS and WCS COLOR 254 161 0 SIZE 72.2 Map File END #style2Configuration END2.3 .map and.shp file Symbole2.3.1 Raster over vactormap LAYER2.3.2 Class and Symbol ...2.3.3 Label CLASS NAME "Ski Area"3. Database STYLE SYMBOL "ski"4. Conclusion END END END # layer 11/12/2011 11
  12. 12. Label Label1. Introduction LABEL FONT "sans-bold"2. Architecture of TYPE truetype Mapserver SIZE 10 POSITION LC2.1 WMS PARTIALS FALSE COLOR 100 100 100, WFS and OUTLINECOLOR 242 236 230 END # labelWCS2.2 Map FileConfiguration2.3 .map and.shp file2.3.1 Raster over vactormap2.3.2 Class and Symbol2.3.3 Label3. Database4. Conclusion 11/12/2011 12
  13. 13. Database Connectivity1. Introduction2. Architecture of Mapserver3. Database3.1 DatabaseConnectivity3.2 DatabaseArchitecture3.3 DatabaseTables4. Conclusion 11/12/2011 13
  14. 14. Database Architecture1. Introduction2. Architecture of Mapserver3. Database3.1 DatabaseConnectivity3.2 DatabaseArchitecture3.3 DatabaseTables4. Conclusion 11/12/2011 14
  15. 15. Database Tables1. Introduction2. Architecture of Mapserver3. Database3.1 DatabaseConnectivity3.2 DatabaseArchitecture3.3 DatabaseTables4. Conclusion 11/12/2011 15
  16. 16. CONCLUSION Conclusion1. Introduction 1. Design and develop own Map application2. Architecture of 2. Symbol and Label important area Mapserver 3. Perform verious operation (Zoom in, Zoom Out, Pan, Scaling and etc.3. Database 4. Make graphical office and home route address.4. Conclusion 16
  17. 17. CONCLUSION Bibliography1. Introduction2. Architecture of Mapserver 1.Hoch, Robert, GEOWorld, “Technology Tangled Web, Internet3. Database Mapping Lures Local Governments”, Volume 13, No. 8, 2002 2. Open Source WebGIS pdf4. Conclusion 3.MapServer pdf. Bibliography 4. www.postgresql.org/docs. 5. http://mapserver.org/introduction.html 11/12/2011 17

×