Re: [mapserver-users] Shapefile spatial index challenge

2015-10-22 Thread Rahkonen Jukka (MML)
Hi, I am not sure what you are aiming at. Your shapefile has 9 features. Shptree documentarion says “The quadtree method breaks the file into 4 quadrants, recursively until only a few shapes are contained in each quadrant”. I guess that with the current shptree code it is impossible to build

Re: [mapserver-users] Ogrtileindex bug in Mapserver 7.0

2015-10-22 Thread thomas bonfort
did this work OK with previous mapserver versions ? On 22 October 2015 at 10:39, Rahkonen Jukka (MML) wrote: > Hi, > > I have loads of shapefiles on a disk and I have combined them into a single > layer by creating an index shapefile with ogrtindex >

[mapserver-users] Label formatting on GRID

2015-10-22 Thread Matt McClelland
Hi All I am wanting to truncate (simplify) the grid numbering to match the grid reference users would use in the field. Looking at the top right (of the attached example) I would like 236000 to just display as 36 and 6263000 to just display as 63 In a perfect world I would love it to display

[mapserver-users] Ogrtileindex bug in Mapserver 7.0

2015-10-22 Thread Rahkonen Jukka (MML)
Hi, I was wondering why my ogrtileindex layer sometimes works but sometimes not. It appears that Mapserver is reading data from the shapefiles which are behind the ogrtileindex file only if the BBOX of the WMS GetMap request intersects the boundary of the vector tile. Mapserver version is

[mapserver-users] Shapefile spatial index challenge

2015-10-22 Thread Lydon Chandra
Hi List, How can we generate more quadrants for the spatial index for the Australia polygon below ? Using MapServer shptree, even forcing it to go to 50 level deep, the spatial index does not have more quadrants. More data and details at:

[mapserver-users] Using different datasets at different scales in the same layer

2015-10-22 Thread Andrea Peri
Hi, Often we serve huge datasets in our wms services. To have a faster response, we usually done a secondary hidden layer with a simplified dataset and serve both using a group of two layers with complementary scales. This allow the serve to use the simplified dataset for lower scale and

Re: [mapserver-users] Using different datasets at different scales in the same layer

2015-10-22 Thread ready...@gmail.com
Hi, Maybe scale token can help you : http://mapserver.org/development/rfc/ms-rfc-86.html On 22/10/2015 22:13, Andrea Peri wrote: Hi, Often we serve huge datasets in our wms services. To have a faster response, we usually done a secondary hidden layer with a simplified dataset and serve both

Re: [mapserver-users] Using different datasets at different scales in the same layer

2015-10-22 Thread Andrea Peri
Its seem really interesting . Thx. Il 22 ott 2015 22:20, "ready...@gmail.com" ha scritto: > Hi, > > Maybe scale token can help you : > http://mapserver.org/development/rfc/ms-rfc-86.html > > On 22/10/2015 22:13, Andrea Peri wrote: > >> Hi, >> >> Often we serve huge datasets

Re: [mapserver-users] Ogrtileindex bug in Mapserver 7.0

2015-10-22 Thread thomas bonfort
It's not clear to me what your issue actually is > reading data from the shapefiles which are behind the ogrtileindex file only > if the BBOX of the WMS GetMap request intersects the boundary of the vector > tile ->why is that not the expected behavior? -> what do you mean by "vector tile"

Re: [mapserver-users] Ogrtileindex bug in Mapserver 7.0

2015-10-22 Thread Rahkonen Jukka (MML)
Hi, I have loads of shapefiles on a disk and I have combined them into a single layer by creating an index shapefile with ogrtindex http://www.gdal.org/ogrtindex.html which is doing the same for the original vector datasets than gdaltindex for images by storing an envelope of each source