Showing Arc/Info annotations details

Gambin Dejan Dejan.Gambin at PULA.HR
Tue Mar 22 04:58:30 EST 2005


I would like to give some details of what have I tried without a
success:

I have TX6/TX7 annotation files (streets.txt, streets.tat, streets.txx)
located in "C:/Projekti/GIS/Pula/Streets" folder. Using ogrinfo streets
I get:

Had to open data source read-only.
INFO: Open of `streets'
using driver `AVCBin' successful.
1: streets (Point)

ogrinfo -summary streets streets gives me:

Had to open data source read-only.
INFO: Open of `streets'
using driver `AVCBin' successful.

Layer name: streets
Geometry: Point
Feature Count: 508
Extent: (5406638.018711, 4966241.156020) - (5411552.448154,
4973139.175613)
Layer SRS WKT:
(unknown)
UserId: Integer (0.0)
Text: String (0.0)
Height: Real (0.0)
Level: Integer (0.0)

My mapfile loooks like:

LAYER
  NAME "streets"
  STATUS ON
  CONNECTIONTYPE OGR
  CONNECTION "C:/Projekti/GIS/Pula/Streets,streets"
  TYPE POINT
  LABELITEM "Text"

  CLASS
    NAME "all"
  LABEL
    FONT "arial"
    TYPE truetype
    POSITION AUTO
    SIZE 8
    COLOR 255 0 0
    OUTLINECOLOR 55 55 55
    PARTIALS FALSE
  END
  END
END

Trying to show the layer I get "Fatal error: Call to a member function
on a non-object in ... on line ..." 
// the line calls $mapImg->saveWebImage(); and the $mapImg is evaluated
before using map->draw PHP/Mapscript method.

What could be wrong?

Thanks very much

Dejan Gambin



More information about the mapserver-users mailing list