May 04

Introduction

MapServer is an open source and free software for rendering maps, images, and vector data on the web. MapServer was originally developed by the University of Minnesota (UMN) ForNet project in cooperation with NASA and the Minnesota Department of Natural Resources. Presently, the MapServer project is hosted by the TerraSIP, a NASA sponsored project between the UMN and consortium of land management interests (http://mapserver.gis.umn.edu).

MapServer can be compiled on many platforms and operating systems, but in this tutorial, I will focus on unix like system, especially Linux.

Prerequisites

Operating system used in this tutorial is Linux Fedora Core 7 with Apache (httpd-2.0.55), PHP (php-5.2.3), and PostgreSQL(postgresql-8.2.4) already installed using manual source installation (not using default rpm package). Required libraries that already installed are libpng, libjpeg, libtiff, and zlib. Installation manual for those softwares and libraries are beyond the scope of this tutorial.

Read full article here

  • Share/Bookmark

12 Responses to “Installing MapServer and PHP MapScript on Linux”

  1. kaztel Says:

    Una consulta… me aparece un error al instalar gdal, al momento de hacer el “make” sale el siguiente mensaje.
    make[1]:se sale del directorio ‘/usr/local/gdal-1.5.1/apps’

    Alguna sugerencia??
    Gracias

  2. lorenz Says:

    hola kaztel, ¿podría mostrar varias líneas de sus mensajes de error?

    Gracias

  3. lorenz Says:

    Hola Lorenz
    Ya solucione mi problema me faltaban unas dependencias del gdal.
    Muchas Gracias

  4. styxGH Says:

    Thnx alot,
    I’ve been having problems installing on openSUSE10.3
    Would this work on OpenSUSE??

    thanks again.

  5. lorenz Says:

    @styxGH
    I never tested it on openSuse, but if all required libraries are installed, it must be going well

    Best Regards

  6. Carpintonto Says:

    I had a make error like kaztel.

    /usr/bin/ld: cannot find -lodbcinst
    collect2: ld returned 1 exit status
    make: *** [shp2img] Error 1

    found the fix here:
    https://bugzilla.redhat.com/show_bug.cgi?id=232792#c2
    a redhat bugzilla I think about building the mapserver 4.10.1-2 rpm

    ” This is because `$GDAL_CONFIG –dep-libs` in configure adds
    unnecessary linkages.

    Applying a patch for configure to remove the above seems
    good. For sed usage,

    ——————————————————-

    %sed -i.libs -e ’s|`\$GDAL_CONFIG –dep-libs`||’ configure

  7. yoyo imut Says:

    Saya mencoba dengan 2 command di bawah ini, sudah bisa terinstall.
    yum install mapserver
    yum install php-mapserver

    :D

  8. Murdoch Says:

    If your success is not on your own terms, if it looks good to the world but does not feel good in your heart, it is not success at all.

  9. Airola Says:

    If youd success is not on your own terms, if it looks good to the world but does not feel good in your heart, it is not success at all.;

  10. Headboard Light Says:

    `”- I am really thankful to this topic because it really gives up to date information ~’:

  11. Holly Rasheed Says:

    A very curious and interesting blog.

  12. uptodate Says:

    make a plan to get ideas for your content? because i find your articles very engaging everytime i call at your blog.

Leave a Reply

SEO Powered by Platinum SEO from Techblissonline
eXTReMe Tracker