[Mapserver-users] Shapefile indexing

Michael Schulz mschulz at webgis.de
Wed Dec 17 03:48:35 EST 2003


Hi Martin,

yes you can display them, i haven't used tile4ms so far, but tiled 
layers are drawn when you specify the TILEINDEX with the path/filename 
to your tileindex-shapefile, in your case
TILEINDEX "./shp/kataster" , omit the the DATA parameter.

More information, esp. on the additional TILEITEM keyword in the 
mapserver doc:
http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer

Cheers, Michael


Martin Kiuru schrieb:

> Hello,
> 
> I have 248 shapefiles with size about 500 KB each, and they cover all
> the area of Estonia. So, I need to display that shapes in one layer. To
> do that, I created an index file using "tile4ms" utility (kataster.shp).
> But when I'am trying to crate a new layer using kataster.shp, I see only
> squares (borders of shapefiles - with no polygons inside). So, how can I
> put polygons from shapefiles on my map using indexfile analogically with
> tiff - rasterfiles ? Here is my layer, which shows borders of shapefiles
> :
> 
> 
> LAYER
> NAME "INDEX"
> STATUS ON
> DATA "./shp/kataster"
> TYPE POLYGON
> UNITS METERS
> SIZEUNITS PIXELS
> TOLERANCE 0
> TOLERANCEUNITS PIXELS
> MAXSCALE 30000
> CLASS
> NAME "KATASTER1"
> TEMPLATE "ttt_query.html"
> STYLE
> SYMBOL 0
> OUTLINECOLOR 51 51 255
> SIZE 1
> MINSIZE 1
> MAXSIZE 100
> END
> END
> END
> 
> So, can I display many shapefiles in one layer, or I have to generate
> one huge shapefile and work with it ? Please, help!
> 
> Thanks in advice,
> 
> Martin Kiuru.
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 

-- 
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                 Informationstechnologie mbH
                                      In den Weihermatten 66
		                             79108 Freiburg
                                      0761 55695-95 (Fax 96)
mschulz at webgis.de              www.webgis.de/www.zopecms.de




More information about the mapserver-users mailing list