Using Python MapScript
Apress eBooks · 2006
SummaryIn this chapter, you’ve examined some basic methods of Python 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 PHP. If you’re familiar with PHP, this parallel development will allow you to compare and contrast the expression of the API in the three languages, and perhaps gain a clearer understanding of them all. If you don’t know PHP, the next chapter might encourage you to learn it.