[postgis-users] tiling with postgis layer

Stephen Woodbridge woodbri at swoodbridge.com
Tue Jun 27 20:14:18 PDT 2006


GotouYutaka wrote:
> Hi everyone,
> I am trying to build application with MapServer.
> I used tiling layer from shpe file.
> 
>         this is mapfile.
> ---------------------------
>   LAYER
>    name hoge
>    tileindex hoge.shp
>    tileitem LOCATION
>    TYPE POLYGON
> ---------------------------
> but I want to use postgis layer with similar method to tile.
> good idea for this issue?

I do not think you need to do that. postgis uses spatial indexes and
does not need to be tiled, just put all the data into a table and
display it. If you have the data in multiple identical tables you can
use inheritance or a view to get all the tables to look like a single
table from mapserver.

-Steve W



More information about the postgis-users mailing list