Re: [mapserver-users] [mapserver-dev] Multiline string error

2014-08-14 Thread Ian Walberg
Thomas, Yes of course. Regards Ian -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Thursday, August 14, 2014 2:26 PM To: Ian Walberg Cc: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org Subject: Re: [mapserver-dev] Mu

Re: [mapserver-users] [mapserver-dev] Multiline string error

2014-08-14 Thread thomas bonfort
Ian, Could you open a github issue for this one, and include a minimal mapfile that would allow me to reproduce the issue locally. thanks, thomas On 14 August 2014 18:09, Ian Walberg wrote: > Steve, > > I used points for the feature data rather than the WKT string but seem to > have got the sam

Re: [mapserver-users] Multiline string error

2014-08-14 Thread Ian Walberg
Steve, I used points for the feature data rather than the WKT string but seem to have got the same condition. I have added the debug line to the source to use the msPrintShape in the mapprimative.c file in the msPolylineComputeLineSegments function. Using EXTENT -111.9 37 -110 40 FEATURE

Re: [mapserver-users] Multiline string error

2014-08-14 Thread Ian Walberg
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: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Ju

Re: [mapserver-users] Multiline string error

2014-08-14 Thread Rahkonen Jukka (Tike)
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ä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserv

Re: [mapserver-users] Multiline string error

2014-08-14 Thread Lime, Steve D (MNIT)
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.22161

Re: [mapserver-users] Bulk creation of mapfile

2014-08-14 Thread Alex Lopes
Exactly... 2014-08-14 10:04 GMT-04:00 Marco Afonso : > > > > 2014-08-14 14:57 GMT+01:00 Alex Lopes : > > Dear Andy, >> >> That is a nice question and you're right about your last question. >> > > That was my first response... > > >> >> I'm thinking about a search feature to deal with this large

Re: [mapserver-users] Bulk creation of mapfile

2014-08-14 Thread Marco Afonso
2014-08-14 14:57 GMT+01:00 Alex Lopes : > Dear Andy, > > That is a nice question and you're right about your last question. > That was my first response... > > I'm thinking about a search feature to deal with this large number of > layers, but not sure yet. > > Best regards, > Alex > > > 2014-0

Re: [mapserver-users] Bulk creation of mapfile

2014-08-14 Thread Alex Lopes
Dear Andy, That is a nice question and you're right about your last question. I'm thinking about a search feature to deal with this large number of layers, but not sure yet. Best regards, Alex 2014-08-14 9:29 GMT-04:00 Andy Colson : > On 8/13/2014 8:03 AM, Alex Lopes wrote: > >> Hi Everybody,

Re: [mapserver-users] Multiline string error

2014-08-14 Thread Ian Walberg
Jukka, Added CONFIG "CPL_DEBUG" "ON" and have the layer debug on. I am also building with -DCMAKE_BUILD_TYPE=Debug. It just looked like there was more debug available in the source which was no being displayed, but I might be wrong. Thanks Ian -Original Message- From: Rahkonen Jukka

Re: [mapserver-users] Bulk creation of mapfile

2014-08-14 Thread Andy Colson
On 8/13/2014 8:03 AM, Alex Lopes wrote: Hi Everybody, I need to create a script shell to build thousands of mapfiles based on postgis layers. Which is the best way to accomplish this task? Best regards, Alex On a side note, if you don't mind me asking, I'm curious, why thousands of layers