The number parameter is telling the slicer/chopper to stop adding to a particular tile one that number is reached.

The -q paramter stands for Quad-tree tiling, which uses a overlapping unequal tiling scheme that's based on the number of elements in the tile. This works very well for point datasets for example, where there are concentration of points in cerain areas and sparsly populated areas in other locations. if the data is more os less even spaced over the coverage area you can use a gridded tiling system instead with essentially the same results.

As far as what number to use, that's a trial and error matter, try one, build the tiles, do a query, then try another . . . .

I've got some datasets with millions of points in them where I went down to 10000 points per tile with good results. If you know what the number of average results a particular view is likely to have in it, you could use that number for the tiling to get you started.

The benefits of tiling the data go down the more tiles you need to look at at query time.

bobb


Zhonghai Wang wrote:

------=_Part_23654_11415646.1147905234312
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi folks,

I have a large shapefile, now I am trying to use shp2tile command to slice
it into pieces, with -r and -c is ok, but I do not fully understand the -q
parameter, what does it actually mean? and what number should a use for thi=
s
parameter normally?

or something like this? -- >shp2tile -q 10000 input_shapefile
output_shapefile

any clues?

zhonghai

18.05.2006

------=_Part_23654_11415646.1147905234312
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi folks,<br><br>I have a large shapefile, now I am trying to use shp2tile =
command to slice it into pieces, with -r and -c is ok, but I do not fully u=
nderstand the -q parameter, what does it actually mean? and what number sho=
uld a use for this parameter normally?
<br><br>or something like this? -- &gt;shp2tile -q 10000 input_shapefile ou=
tput_shapefile<br><br>any clues?<br><br>zhonghai<br><br>18.05.2006<br>

------=_Part_23654_11415646.1147905234312--


Reply via email to