[mapserver-users] want to know about OGR

ikhwana.fath aka.djw4n at gmail.com
Thu Dec 2 03:52:12 PST 2010


Dear master of GIS..
i was complicated with OGR library..
I used the ogr library for called .TAB from MapInfo file in mapserver. But,
i dont why it's not appear in localhost..
this is the code..

[spoiler=code]

MAP

  NAME "Indonesia"
  STATUS ON
  EXTENT 92.5 -19.5 142.5 14.0
  IMAGETYPE PNG
  SIZE 450 300
  SHAPEPATH "../data/dayeuh_kolot/tab"
  IMAGECOLOR 255 255 255

  WEB
    IMAGEPATH "/tmp/ms_tmp/"
    IMAGEURL "/ms_tmp/"
  END

  LAYER

    NAME "Propinsi"
    CONNECTIONTYPE OGR
    CONNECTION "desa_table.TAB"
    STATUS DEFAULT
    TYPE POLYGON

    CLASS
      COLOR 225 200 100
      OUTLINECOLOR 0 0 0
    END

  END

END

[/spoiler]

and called the code with url like mapserver called..
but i dont know why still not appear.. when i used the code from book
tutorial, it was appear..
Is there something wrong in Map info files or how to create it was?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101202/886bcd8c/attachment.htm>


More information about the MapServer-users mailing list