[Mapserver-users] Another TAB files problem

Ernesto Vega ervega at microexpertos.cl
Wed Jun 16 18:03:13 EDT 2004


Hi. I have a Mapserver installation running on linux and i have a tab file
to describe my unique layer, named "muestra".

ogrinfo tells me that the geometry for layer muestra( the one named before)
is "Line String". I was able to get the extents for my Map file definition.

Also, defining my layer muestra, as type of vector or type of line, and
defining a class named "Calle", mapserver renders the image but not the
street names,
as describe by ogrinfo, that  shows records like this one:

###########################

OGRFeature(muestra):2
  Street (String) = STO DOMINGO   <------  Don't know how to define this
  FromLeft (Integer) = 1097
  ToLeft (Integer) = 1019
  FromRight (Integer) = 1088
  ToRight (Integer) = 1022
  DIG (Integer) = 0
  Class (String) = CALLE
  direccion (Integer) = 0
  Style = PEN(w:1px,c:#000000,id:"mapinfo-pen-130.ogr-pen-0")
  LINESTRING (-70.65271000 -33.43634800,-70.65134200 -33.43619400)

#########################


my layer definition is this:

#############

LAYER

  NAME muestra
  TYPE VECTOR
  STATUS ON
  CONNECTIONTYPE OGR
  CONNECTION "all/muestra.TAB"
  DEBUG ON
  CLASS
    NAME "Calle"
    DEBUG ON
    COLOR 79 53 181
  END

END # Layer

#########


any ideas why ???

Ernesto Vega





More information about the mapserver-users mailing list