Jukka/Steve, How do I add a text label to the feature in this case?
Removing the label from my problem layer stops the error occurring. Thanks Ian -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rahkonen Jukka (Tike) Sent: Thursday, August 14, 2014 7:51 AM To: '[email protected]' Subject: Re: [mapserver-users] Multiline string error Hi, This was fun, I had never tried anything like this before. Works for me on Windows with a week old Mapserver build from gisinternals. Big thanks for Tamas for the builds by the way. -Jukka- > -----Alkuperäinen viesti----- > Lähettäjä: [email protected] > [mailto:mapserver-users- [email protected]] Puolesta Lime, Steve > D (MNIT) > Lähetetty: 14. elokuuta 2014 17:40 > Vastaanottaja: Ian Walberg; [email protected]; > mapserver- [email protected] > Aihe: Re: [mapserver-users] Multiline string error > > One quick thing to do would be to take OGR out of the mix. Just set up > a mapfile with the feature in question as a WKT inline feature. Something > like: > > LAYER > NAME 'badwkt' > TYPE LINE > STATUS DEFAULT > FEATURE > WKT ' 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))' > END > CLASS > STYLE COLOR 0 0 0 END > END > END > > Then try to draw... If this fails then it's a MapServer issue. > > Steve > > -----Original Message----- > From: Ian Walberg [mailto:[email protected]] > Sent: Wednesday, August 13, 2014 9:38 PM > To: Lime, Steve D (MNIT); [email protected]; mapserver- > [email protected] > Subject: RE: Multiline string error > > Steve, > > Version 6.4.1 built on the same machine with the same settings does > not have the issue. > > Regards > > Ian > > -----Original Message----- > From: Ian Walberg > Sent: Wednesday, August 13, 2014 3:43 PM > To: 'Lime, Steve D (MNIT)'; '[email protected]'; > 'mapserver- [email protected]' > Subject: RE: Multiline string error > > Steve, > > We will add some debug to the OGR read later today or tomorrow. > > How do I turn on the maximum debug? > > Thanks > > Ian > > -----Original Message----- > From: Ian Walberg > Sent: Wednesday, August 13, 2014 3:20 PM > To: 'Lime, Steve D (MNIT)'; [email protected]; > mapserver- [email protected] > Subject: RE: Multiline string error > > Steve, > > OGR connection to SQLITE DB. > > Regards > > Ian > > -----Original Message----- > From: Lime, Steve D (MNIT) [mailto:[email protected]] > Sent: Wednesday, August 13, 2014 8:46 AM > To: Ian Walberg; [email protected]; mapserver- > [email protected] > Subject: RE: Multiline string error > > How are you submitting the WKT to MapServer? Is it via MapScript, via > inline features or some other mechanism? > > Steve > > -----Original Message----- > From: [email protected] [mailto:mapserver-dev- > [email protected]] On Behalf Of Ian Walberg > Sent: Wednesday, August 13, 2014 10:01 AM > To: [email protected]; [email protected] > Subject: Re: [mapserver-dev] Multiline string error > > 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: [email protected] [mailto:mapserver-users- > [email protected]] On Behalf Of Ian Walberg > Sent: Monday, August 11, 2014 3:53 PM > To: [email protected]; [email protected] > 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-dev > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
