Summary
In this chapter, you’ve examined some basic methods of PHP/MapScript and created an application that duplicates the functionality of a MapServer CGI application. You’ve seen how to create a map object from a mapfile and manipulate some of its internal attributes and objects by means of MapScript methods. You’ve also learned how to draw and save the map image, and display it in an interactive web page. You haven’t exhausted MapScript’s capabilities, but you have created a firm foundation upon which you can build larger, more complicated applications that exercise more of MapScript’s talents.
In Chapter 9, you’ll build upon the skills acquired in this chapter to create a PHP application using both MySQL and MapScript. This application will be complete and demonstrate functionality that you’ll be able to incorporate easily into your own applications to make them spatially aware.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2005 Bill Kropla
About this chapter
Cite this chapter
(2005). Using PHP/MapScript. In: Beginning MapServer. Apress. https://doi.org/10.1007/978-1-4302-0053-6_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0053-6_8
Publisher Name: Apress
Print ISBN: 978-1-59059-490-2
Online ISBN: 978-1-4302-0053-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books