[mapserver-users] setting zoomand map center by default

Bruno Domenget bruno.domenget at rochservice.com
Thu Apr 9 00:19:51 PDT 2015


Hi Rishi,

 

How are you calling MapServer ? Is there any error message ?

 

You can add the following lines to your mapfile to create an extended log file :

CONFIG "MS_ERRORFILE" "./ mapserver_errors.log"

CONFIG "CPL_DEBUG" "ON"

CONFIG "PROJ_DEBUG" "ON"

DEBUG 5

 

The log file will contain useful information to help you.

 

Bruno Domenget

IT Manager

Tel : 00 33 6 89 70 16 47

 

ROCH Service

Bâtiment APSARA

5, Rue du Petit Albi

BP98431

95807 Cergy Pontoise

FRANCE

 <http://www.rochservice.com/> www.rochservice.com

 

La société Roch Service propose les prestations suivantes dans le domaine de l’éclairage public, de la SLT et des mâts de sport :

·          Inventaire de patrimoine avec géo localisation

·          Contrôle de conformité mécanique 

·          Contrôle de conformité électrique

·          Diagnostic photométrique

·          Réception mécanique, électrique et photométrique des travaux neufs

·          Logiciels de gestion de l’éclairage public

·          Solutions d’étiquetage

·          Assistance technique

 

De : mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] De la part de rishi
Envoyé : jeudi 9 avril 2015 07:02
À : mapserver-users at lists.osgeo.org; Eichner, Andreas - SID; lars.schylberg at saabgroup.com; jmckenna at gatewaygeomatics.com; Fawcett, David (MNIT); thomas bonfort
Objet : Re: [mapserver-users] setting zoomand map center by default

 

Hi all

iam trying to display raster image

but it is not displaying anything, page is blank

my mapfile code is

 

 

MAP

  EXTENT 8240841.450745 2400319.900386 9218007.463612 3107183.406947

  TRANSPARENT on

  IMAGETYPE png

  size 400 400

  SHAPEPATH  "../webgis"

  

  LAYER

   LAYER

    NAME "Photos1967"

    DATA "mpgaps/094_056_d_26mar2012_516_12-mar-08.tif"

    STATUS ON

      TYPE RASTER

    

    PROJECTION

       "init=epsg:4326"

    END

   

  

END

 OUTPUTFORMAT

  NAME "png"

  DRIVER AGG/PNG

  MIMETYPE "image/png"

  IMAGEMODE RGB

  EXTENSION "png"

  FORMATOPTION "GAMMA=0.75"

END

 

 END  

 

 

data path is C:\ms4w\apps\webgis\mpgaps

 

plz correct my mapfile

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150409/56304fbd/attachment.htm>


More information about the MapServer-users mailing list