Skip to main content

Using PHP/MapScript

  • Chapter
Beginning MapServer
  • 796 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics