PHP MapScript Tutorial I'd like to use the PHP MapScript API and am curious how others have successfully used it to produce a site that serves up remote sensing data. I've got land surface temperatures, emissivities, and reflectances I'd like to share via a mapserver. I've already installed mapserver on an apache webserver and have also installed the MapScript shared library. What is a good development environment to use for PHP MapScript development? Any example sites that use PHP MapScript people know of? How useful is the MapScript API and how easy is it to use? Thanks in advance!

1 Answer 1


I will try to answer to each question separately, starting from the development enviroment: I guess any IDE that supports php will work for PHP mapscript development. I can't suggest any because I don't use php, just google 'php ide'.

As for example sites I should point you to the two most popular Open Source web applications built with PHP/mapscript:

  1. p.mapper : probably the best one, actively mantained and with the most comprehensive feature set
  2. cartoweb : outdated, still pretty good (for learning the api at least)

With regards to your last question I think that the Mapscript API is probably not the easiest to use, mostly because it's very powerful and documentation still has to catch up for some areas that have recently changed. Other than that I think an average developer should be able to be up and running within days and, if there are any problems, the mailing list and the #mapserver IRC channel are both active.

  • But would you suggest not using the MapScript API? I like that it's powerful but not that it's hard to use. I know there are other SDKs out there besides MapServer as well. I'm looking at your suggested example sites now.
    – nhunsaker
    Commented Aug 28, 2012 at 18:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.