[Mapserver-users] mapinfo .tab on mapserver

Irvan Kristianto Irvan at pln-jabar.co.id
Thu Jul 3 23:48:07 PDT 2003


hello guys ...

OK prakhov, that's work well ... thanks a lot.

then i start to make mapfile. first time its done successfully.

first mapfile work very well. all controls(zoomin,zoomout,full extent,
center) all works.
but second mapfile (diferent .Tab file) only works on first appearance. all
controls(zoomin,zoomout,full extent, center) not working (map image not
showing)

please, whats happen to my mapfile??

first map:----------------------------------------------
MAP
  NAME "DEMO"
  STATUS ON
  EXTENT 463549.689692 4641034.982725 685728.962267 4820458.629079
  SIZE 400 400 
  SHAPEPATH "E:/Program Files/Apache
Group/Apache/htdocs/gis/maplab/projects/apps/demo/data"
  IMAGECOLOR 255 255 255
  UNITS METERS
  WEB
    MINSCALE 20000
    MAXSCALE 50000000
    IMAGEPATH "E:/Program Files/Apache
Group/Apache/htdocs/gis/maplab/tmp/ms_tmp/"
    IMAGEURL "/gis/maplab/tmp/ms_tmp/"
    LOG "E:/Program Files/Apache
Group/Apache/htdocs/gis/maplab/log/gmap.log"
  END

  LAYER
    NAME "hipo"
    STATUS DEFAULT
    CONNECTIONTYPE OGR
    CONNECTION "E:/Program Files/Apache
Group/Apache/htdocs/gis/maplab/projects/apps/demo/data/mapinfo/hipsometric/E
EHipsometria.TAB"
    TYPE POLYGON
    STYLEITEM "AUTO"  
    CLASS
      NAME "hipo"
      COLOR 100 100 100
      OUTLINECOLOR 255 0 0
    END
  END

  LAYER
    NAME "wistate00"
    STATUS DEFAULT
    CONNECTIONTYPE OGR
    CONNECTION "E:/Program Files/Apache
Group/Apache/htdocs/gis/maplab/projects/apps/demo/data/mapinfo/basque_countr
y/Euskalerria.TAB"
    TYPE POLYGON
    #STYLEITEM "AUTO"  
    CLASS
      NAME "wistate00"
      OUTLINECOLOR 255 0 0
    END
  END


END

second map:------------------------------------------------
MAP
  NAME "DEMO"
  STATUS ON
  EXTENT 2.145567 48.688366 2.615487 49.012394
  SIZE 400 400 
  SHAPEPATH "E:/Program Files/Apache
Group/Apache/htdocs/gis/maplab/projects/apps/demo/data"
  #IMAGECOLOR 255 255 255
  UNITS METERS
  WEB
    MINSCALE 20000
    MAXSCALE 50000000
    IMAGEPATH "E:/Program Files/Apache
Group/Apache/htdocs/gis/maplab/tmp/ms_tmp/"
    IMAGEURL "/gis/maplab/tmp/ms_tmp/"
  END

  LAYER
    NAME "wistate00"
    STATUS DEFAULT
    CONNECTIONTYPE OGR
    CONNECTION "E:\Program Files\Apache
Group\Apache\htdocs\gis\maplab\projects\apps\demo\data\mapinfo\paris\MpaSabe
200\Departement.TAB,Departement"
    TYPE POLYGON
    #STYLEITEM "AUTO"  
    CLASS
      NAME "wistate00"
      OUTLINECOLOR 255 0 0
    END
  END

END

-----Original Message-----
From: Èëüÿ À. Ïðàõîâ [mailto:prakhov at ggc.nnov.ru]
Sent: Juli 03 2003 18:20
To: Irvan Kristianto
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] mapinfo .tab on mapserver


Try to use this:
STATUS default
CONNECTION "E:/Program Files/Apache
Group/Apache/htdocs/gis/maplab/projects/apps/demo/data/mapinfo/basque_countr
y/Euskalerria.TAB"





More information about the MapServer-users mailing list