[mapserver-users] OGR - ArcInfo Coverage Help

Jeff McKenna mckenna at dmsolutions.ca
Thu Aug 8 17:41:49 EDT 2002


Chip,

I've experienced similar problems with labelling coverages (my symbols appear
but the labels look like they are in a different projection, way off from the
symbols).  We've filed it as a bug
(http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=184) and we'll be
investigating it.

Jeff



"Hankley, Chip" wrote:
> 
> I can't seem to get the annotation layer in a AI coverage to render through
> OGR... is this possible? I've included some outputs from OGRINFO as well as
> the layer def from my mapfile.
> 
> The issue seems to be the specification of LABELITEM for the layer. When I
> do this, no image is returned (no error, either).
> 
> TIA!
> 
> Chip
> 
> ===================================================================
> 
> C:\>ogrinfo bridges
> Had to open data source read-only.
> INFO: Open of `bridges'
> using driver `AVCBin' successful.
> 1: ARC (Line String)
> 2: LAB (Point)
> 3: igds (Point)
> 
> ... a sampling of
> 
> C:\>ogrinfo bridges igds
> 
> OGRFeature(igds):479
>   UserId (Integer) = 18555
>   Text (String) = NB USH 51 RAMP
>   Height (Real) = 17.500002
>   Level (Integer) = 51
>   POINT (288221.869 179078.766)
> 
> OGRFeature(igds):480
>   UserId (Integer) = 18569
>   Text (String) = EB STH 29
>   Height (Real) = 17.500002
>   Level (Integer) = 51
>   POINT (289595.610 173873.979)
> 
> ... and the pertinent part of the mapfile.
> 
> LAYER
>   NAME "Parks_cov"
>   TYPE POINT
>   CONNECTIONTYPE OGR
>   CONNECTION "C:\Inetpub\wwwroot\Wausau\data\DGN_temp\bridges, IGDS"
>   STATUS default
>   CLASSITEM "UserID"
>   LABELITEM "Text" <= this causes something to choke.
>   CLASS
>     EXPRESSION /./
>     LABEL
>       TYPE TRUETYPE
>       ANTIALIAS TRUE
>       FONT ARIAL
>       POSITION LC
>       SIZE 8
>       COLOR 0 0 0
>       OUTLINECOLOR 255 255 255
>     END
>   END
> END


-- 

Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
http://www.dmsolutions.ca/



More information about the mapserver-users mailing list