Summary
In this chapter, you’ve examined some basic methods of Perl 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 and display it in an interactive web page. You haven’t exhausted MapScript’s capabilities, but you’ve created a firm foundation upon which you can build larger, more complicated applications that exercise more of MapScript’s talents.
The next chapter will be devoted to creating the same application based on Python rather than Perl. If you’re familiar with Python, this parallel development will allow you to compare and contrast the expression of the API in the two languages, and perhaps gain a clearer understanding of both. If you don’t know Python, the next chapter might encourage you to learn it.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
Rights and permissions
Copyright information
© 2005 Bill Kropla
About this chapter
Cite this chapter
(2005). Using Perl MapScript. In: Beginning MapServer. Apress. https://doi.org/10.1007/978-1-4302-0053-6_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0053-6_6
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