[mapserver-dev] Multiline string error

Ian Walberg ian.walberg at airborne.aero
Wed Aug 13 08:01:10 PDT 2014


Devs,

The MULTILINE string below gives the following in mapprimitive.c and then as the first shape has 0 points the msSmallMalloc fails as the size passed to it is -8.

[Wed Aug 13 07:55:10 2014].618971 Shape contains 2 parts.
[Wed Aug 13 07:55:10 2014].618987       Part 0 contains 0 points.
[Wed Aug 13 07:55:10 2014].619001       Part 1 contains 3 points.
[Wed Aug 13 07:55:10 2014].619016               0: (882.383078, 511.333078)
[Wed Aug 13 07:55:10 2014].619032               1: (825.909890, 260.048026)
[Wed Aug 13 07:55:10 2014].619049               2: (882.383078, 511.333078)

Any clues what we should look at next?

This same source data file and layer work with older versions of mapserver 6.

Thanks

Ian

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, August 11, 2014 3:53 PM
To: mapserver-users at lists.osgeo.org; mapserver-dev at lists.osgeo.org
Subject: [mapserver-users] Multiline string error

Folks,

With Mapserver 6.5-dev from git and GDAL 1.9.1 the line below either does not draw or causes mapserv to error and not render an image without an error message.

MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, -110.221614 38.982708, -110.220980 38.982832),(-110.220980 38.982832, -110.220887 38.982863, -110.221614 38.982708, -110.220980 38.982832))

Changing the final digit on either of the first or last lats/longs and it draws ok!

Any ideas?

Thanks

Ian

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-dev mailing list