[mapserver-users] Error displaying layer with tileindex of TAB files

Peter N pen at orbicon.dk
Wed Sep 2 10:03:26 EDT 2009


I have 133 TAB files that i want to display as a single layer. I have used
OGRTINDEX to create an indexfile (hojde_idx.tab) pointing out the TAB files.


  LAYER
    NAME "Kurver"
    DEBUG 5
    TYPE LINE
    STATUS OFF
    CONNECTIONTYPE OGR
    TILEINDEX "C:\WebGraf_kort\proj\Herning\Hojdekurver\hojde_idx.tab"

    CLASS
      COLOR 150 150 150
    END
  END

When i turn the layer on i get the following error in my log file:

[Wed Sep 02 15:23:23 2009].936000
msOGRFileOpen(C:\WebGraf_kort\proj\Herning\Hojdekurver\4km_6228_492.TAB,0)...
[Wed Sep 02 15:23:23 2009].936000
OGROPen(C:\WebGraf_kort\proj\Herning\Hojdekurver\4km_6228_492.TAB)
[Wed Sep 02 15:23:23 2009].951000 msConnPoolRegister(Kurver,(null),15912010)
[Wed Sep 02 15:23:23 2009].951000 msConnPoolRegister(): Missing CONNECTION
on layer Kurver.
[Wed Sep 02 15:23:23 2009].951000 msConnPoolRegister(): General error
message. Missing CONNECTION on layer Kurver.

It seems like MapServer can't find my TAB files, so i have tried setting
SHAPEPATH, creating the tileindex with relative paths, but nothing seems to
help me.

Peter
-- 
View this message in context: http://n2.nabble.com/Error-displaying-layer-with-tileindex-of-TAB-files-tp3566728p3566728.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list