Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-13 Thread Rahkonen Jukka
Hi, Have you tried to use ogrtindex http://www.gdal.org/ogrtindex.html instead of tile4ms? Try also if there is any difference if you read the tileindex through ogr or with the native Mapserver method. I have found some differencies with these options. For example I found this note from my mapf

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-13 Thread thomas bonfort
Joseph, This does indead sound like a bug in tile4ms, and a quick test locally showed I was also unable to create a valid tileindex with tile4ms. That said, given the (absence of) activity around tile4ms (be it in code maintenance or user feedback), I would highly recommend to do as Jukka pointed o

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-13 Thread thomas bonfort
I just had a look, and committed a fix that works for me in https://github.com/mapserver/mapserver/issues/4259 (will be in 6.2.2 and 6.4.0) -- thomas On 13 August 2013 10:49, thomas bonfort wrote: > Joseph, > This does indead sound like a bug in tile4ms, and a quick test locally > showed I was a

Re: [mapserver-users] Best way to do a batch reprojection (on windows)

2013-08-13 Thread Rahkonen Jukka
Hi, I would say that the multi-projection tileindex is the way to go. You can experiment by downloading first Mapserver dev version from http://gisinternals.com/sdk/PackageList.aspx?file=release-1600-gdal-mapserver.zip. Then you can a) make a backup copy of your C:\ms4w\Apache\cgi-bin directo

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

2013-08-13 Thread Andrea Peri
Hi, Try.ing to set a label on a MULTILINESTRING dataset. I set a label with Follow capability. ANGLE FOLLOW But I'm having this error: msOGRFileNextShape(): OGR error. IllegalArgumentException: BufferBuilder::bufferLineSingleSided only accept linestrings Is the Follow compatible with

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

2013-08-13 Thread thomas bonfort
there's something strange in your error message... the singleSidedBuffer stuff is in GEOS, and should have nothing to do in msOGRFileNextShape. post your whole mapfile layer. On 13 August 2013 17:42, Andrea Peri wrote: > Hi, > > I tested trasforming the multilinestring dataset in a linestring dat

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

2013-08-13 Thread Andrea Peri
Hi, I tested trasforming the multilinestring dataset in a linestring dataset but the error is still here. msDrawMap(): Image handling error. Failed to draw layer named 'rt_topogr.50k.etichette.topon_idro_50k'. msOGRFileNextShape(): OGR error. IllegalArgumentException: BufferBuilder::bufferLineSin

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

2013-08-13 Thread Andrea Peri
I'm using spatialite 4.1.1, so use ogr to access the db. LAYER NAME "rt_topogr.50k.etichette.topon_idro_50k" STATUS OFF EXTENT 1554750.74 4678325.52 1771722.76 4924791.90 TYPE LINE CONNECTIONTYPE OGR CONNECTION "/path-to-spatialite/zz_topografica.sqlite" DATA "select

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

2013-08-13 Thread Rahkonen Jukka
Hi, What if there happens to be empty/null geometries in your source data? I guess you can add "AND geometry in not NULL" and perhaps even "AND IsValid(geometry)=1" to your DATA line. -Jukka Rahkonen- Andrea Peri wrote: > I'm using spatialite 4.1.1, > so use o

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

2013-08-13 Thread thomas bonfort
why the double label? they seem to be the same, but in any case multiple labels are not supported for FOLLOW. On 13 August 2013 18:08, Andrea Peri wrote: > I'm using spatialite 4.1.1, > so use ogr to access the db. > > LAYER > NAME "rt_topogr.50k.etichette.topon_idro_50k" > STATUS OFF >

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

2013-08-13 Thread Andrea Peri
Hi Jukka, I check for this critical questions: unfortunately none of all them is in the dataset. No invalid geometry, neither null geometry, neither Empty geometry. :( Andrea. 2013/8/13 Rahkonen Jukka > Hi, > > What if there happens to be empty/null geometries in your source data? I > guess

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

2013-08-13 Thread Andrea Peri
The two label are at different max/min scaledenominator. The goal is to have little label size at low scales and bigger font size at bigger scales. However only one lable is active at one scale level. Is this incompatible with "follow" ? 2013/8/13 thomas bonfort > why the double label? they

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

2013-08-13 Thread thomas bonfort
yes, that's incompatible. use multiple scale-dependant classes for now On 13 August 2013 18:26, Andrea Peri wrote: > The two label are at different max/min scaledenominator. > The goal is to have little label size at low scales and bigger font size at > bigger scales. > > However only one lable i

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

2013-08-13 Thread Andrea Peri
ok, thx. I change to multiple scale. However I do a rapid check removing a label component, but the problem is still here. Now I rewrite a more exact mapfile using two classes. Andrea. 2013/8/13 thomas bonfort > yes, that's incompatible. use multiple scale-dependant classes for now > > On

Re: [mapserver-users] draw map at a precise scale

2013-08-13 Thread Lime, Steve D (MNIT)
Via the CGI you can use a combination of mapxy, mode=map, and scale parameters. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Michael McInnis Sent: Monday, August 12, 2013 1:02 PM To: mapserver-users@lists.osgeo.org Subject: [ma

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

2013-08-13 Thread Andrea Peri
Hi, Perhaps I found the explanation. The "angle follow" with OGR is using the BufferBuilder::bufferLineSingleSided That function seem don't work with a MultiLinestring . It necessary need a simple linestring. The question is that sometime the simple linestirng when is clipped from the visible bbo