shp2tile question

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Mon Apr 11 15:32:56 EDT 2005


Don,

The layer should probably be more like this, change to suit your needs:

LAYER
   NAME "parcels"
   STATUS ON
   TYPE POLYGON
   TILEINDEX 'path/to/tileindex'
   MAXSCALE 40000
   CLASS
     COLOR 255 255 0
     OVERLAYCOLOR 0 0 0
   END
END

-Steve

Don Deskins wrote:
> Bart (and Steve),
>
> Thanks.
>
> I have my files created and tried to reference this index in my map file:
>
>   ####################################
>   # parcels
>   LAYER
>     NAME 'tileindex'
>     TYPE TILEINDEX
>     DATA '/path/to/tileindex'
>     MAXSCALE 40000
>   END
>
>   LAYER
>     NAME 'SCAP_Cert2004_ParcelsUTM16M'
>     STATUS ON
>     TYPE POLYGON
>     TILEINDEX '/path/to/tileindex'
>     #TILEITEM 'LOCATION'
>     MAXSCALE 40000
>   END
>   ####################################
>
> I get no error but my shapes are not showing up... do you see a
> problem with the above map?
>
> Don
>
> On Apr 11, 2005 2:58 PM, Bart van den Eijnden <bartvde at xs4all.nl> wrote:
>
>>Hi,
>>
>>It is tile4ms, not tile2ms, probably a typo by Steve.
>>
>>It is a Mapserver utility to make a tileindex. Alternatively, you can also
>>use ogrtindex for vector layers and gdaltindex for raster layers.
>>
>>Best regards,
>>Bart
>>
>
>



More information about the mapserver-users mailing list