[mapserver-users] Angle Follow will accept only simple linestring don't MultiLinestring ?

Andrea Peri aperi2007 at gmail.com
Wed Aug 14 02:21:07 PDT 2013


(sorry, my previous response was cancelled , so I resend after remove the
unuseful parts)

It work without any error.

This is the layer I try to use:


LAYER
    NAME "multiline"
    TYPE LINE
    STATUS OFF
    EXTENT  1660351.00 4458445.22 1866743.13 4960849.91
    FEATURE
    WKT "MULTILINESTRING((1662120.546188 4858603.677291, 1662738.746295
4858875.082216, 1663854.522097 4858618.755342, 1664779.309249
4858638.85941, 1665116.052396 4858342.3244, 1665136.156465
4858035.737355),(1660351.388159 4859814.947419, 1661959.71364
4857844.748704, 1663678.611497 4857724.124293, 1663869.600148
4858136.257698, 1664392.30593 4858085.997526, 1664703.918992
4857452.719368, 1668141.714707 4857613.551916),(1662112.755029
4859495.405004, 1662172.424828 4859710.216279, 1662357.401204
4859984.697353, 1662411.104022 4860175.640708, 1662345.467244
4860318.848225, 1662172.424828 4860473.989701, 1662178.391808
4860670.900037, 1662321.599324 4860796.206614, 1662619.948317
4860849.909432, 1662888.462411 4860837.975473, 1663174.877444
4860611.230238, 1663222.613283 4860384.485003, 1663145.042545
4860247.244467, 1662977.967109 4860056.301111, 1662769.122814
4859841.489836, 1662709.453015 4859680.38138, 1662810.891673
4859435.735206, 1663091.339726 4859250.75883, 1663371.78778 4859137.386213,
1663813.344289 4859143.353192, 1663992.353685 4859256.72581, 1664093.792343
4859513.305944, 1664028.155564 4859829.555876, 1663765.60845
4860038.400171, 1663664.169793 4860193.541648, 1663652.235833
4860390.451983, 1663771.57543 4860545.593459, 1664081.858383
4860599.296278, 1664410.042275 4860581.395339, 1664779.995027
4860402.385943, 1664988.839322 4860133.871849, 1665078.34402
4859919.060574, 1665114.145899 4859644.579501, 1665114.145899
4859423.801246, 1665132.046838 4859214.956951, 1664947.070463
4859077.716414, 1664947.070463 4858862.905139, 1665263.320395
4858725.664602, 1665615.372207 4858731.631582, 1665764.546703
4858916.607958, 1665830.183482 4859214.956951, 1665824.216502
4859567.008762, 1665728.744824 4859925.027554, 1665639.240126
4860223.376547, 1665633.273147 4860503.8246, 1665716.810865 4860670.900037,
1665961.457039 4860760.404734, 1666253.839052 4860760.404734,
1666492.518246 4860617.197218, 1666659.593682 4860408.352923, 1666743.1314
4860098.06997, 1666713.296501 4859811.654937, 1666635.725763
4859638.612521, 1666474.617307 4859519.272924, 1666295.607911
4859465.570105, 1666229.971132 4859435.735206, 1665979.357978
4859262.69279, 1666009.192878 4859065.782454, 1666301.574891
4858886.773058, 1666546.221065 4858862.905139, 1666623.791803
4858707.763663, 1666576.055964 4858516.820307, 1666176.268314
4858445.216549))"
    END #FEATURE
    LABELCACHE on
    CLASS
      STYLE
        COLOR 200 200 200
        OUTLINECOLOR 0 255 0
      END
    LABEL
     TEXT 'BLAH BLAH'
        COLOR 0 85 255
        OUTLINECOLOR 212 255 255
        OUTLINEWIDTH 1
        FONT "LiberationSans-Regular"
        #FONT "Calibri"
        TYPE truetype
        SIZE 9
        ANGLE FOLLOW
        OFFSET 15 99
        POSITION auto
        PRIORITY 10
        MAXOVERLAPANGLE 180.0
        BUFFER 1
        FORCE OFF
        PARTIALS FALSE
        MINDISTANCE 200
    END
    END #CLASS
  END



2013/8/14 thomas bonfort <thomas.bonfort at gmail.com>

> what happens if you use an inline wkt feature of type MULTILINESTRING ?
>
> On 14 August 2013 10:47, Andrea Peri <aperi2007 at gmail.com> wrote:
> > Hi,
> >
> > I do other tests.
> >
> > Using instead of a spatialite, a shapefile.
> > And accessing it using ogr or using ogr driver.
> >
> > I see the error trigger when use spatialite or shapefile accessed using
> the
> > OGR driver.
> >
> > Instead it don't trigger when use a directly defined Feature or the
> > mapserver direct shapefile driver.
> >
> > Regards,
> >
> > Andrea.
>
> > -----------------
> > Andrea Peri
> > . . . . . . . . .
> > qwerty àèìòù
> > -----------------
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130814/71260cac/attachment.htm>


More information about the MapServer-users mailing list