SHP point to line

Eijnden, Bart van den (AGI) b.vdeijnden at AGI.RWS.MINVENW.NL
Tue Aug 15 03:21:19 EDT 2006


Have a look at LABELANGLEITEM in the MAP file reference.

Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens antti siukola
Verzonden: dinsdag 15 augustus 2006 9:11
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: Re: [UMN_MAPSERVER-USERS] SHP point to line


Hi!

I have a layer (SHP) containing street names that is presented in
points. All these points have an angle defined and a column for the
street name. I wan't to read the street name and use the angle for
drawing the string.
"Do you have an angle column in the shape file that you want to use for
the orientation of the label?" - YES

I also have a shape-file in LINE format that defines the angle but
doesn't contain the street names so is there a way to merge these
layers or something?

Antti S

On 8/14/06, Stephen Woodbridge <woodbri at swoodbridge.com> wrote:
> antti siukola wrote:
> > Hi!
> >
> > Is it possible to get angle data from a shp file that is point information?
> > The shp contains the data but I can't get it automatically out of
> > there. LABEL docs say that ANGLE can automatically computed only from
> > LINE information but is there another way?
>
> Antti,
>
> What is the angle of a point?
> Can you explain what you are trying to do?
> Do you have an angle column in the shape file that you want to use for
> the orientation of the label?
>
> -Steve
>
> > Antti S
> >
> > On 8/8/06, antti siukola <siukola.antti at gmail.com> wrote:
> >> Hi!
> >>
> >> I have a shp-file that contains a lot of point information. Is there a
> >> way I could translate this to lines? Should this even work? The thing
> >> is that the layer contains street names that are connected to these
> >> points but then I can't get the angle information out of the shp
> >> automatically since it only works with lines.
> >>
> >> Cheers!
> >>
> >> Antti S
> >>
> >
>
>


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the mapserver-users mailing list