[Mapserver-users] Using DGN files to show text information

Gabriel Vieira Ferrari gabriel at ciasc.gov.br
Fri May 23 14:06:48 EDT 2003


Listers.

Frank it's work fine.

But now I have a new question.

At DGN file the text are rotated, but at MS diz rotation are not applied.

What's wrong ?


----- Original Message -----
From: "Frank Warmerdam" <warmerdam at pobox.com>
To: "Gabriel Vieira Ferrari" <gabriel at ciasc.gov.br>
Cc: "mapserver-users" <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, May 22, 2003 1:24 PM
Subject: Re: [Mapserver-users] Using DGN files to show text information


> Gabriel Vieira Ferrari wrote:
> > Listers.
> >
> > I would like to use text information from DGN files.
> >
> > The text information is separated in one file.
> >
> > I use CONNECTIONTYPE OGR to show the text, but it don't became visible.
> >
> > I try LAYER TYPE, POLYGON and ANNOTATION.
> >
> > What is wrong ?
>
> Gabriel,
>
> I have successfully displayed text from DGN using a layer definition like
this:
>
> LAYER
>    NAME "text"
>    TYPE ANNOTATION
>    CONNECTIONTYPE OGR
>    CONNECTION "lignum_overview.dgn,0"
>    STATUS ON
>    STYLEITEM "AUTO"
>    CLASS
>      NAME "test1"
>    END
> END
>
> The key is to set the STYLEITEM to AUTO otherwise it may not be possible.
> Note, I haven't tested this capability in half a year.
>
> Best regards,
>
> --
> ---------------------------------------+----------------------------------
----
> I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>



More information about the mapserver-users mailing list