[Mapserver-users] Indexing of Shapefiles

Stephen Clark stephen.clark at focus.ca
Fri Mar 5 11:21:37 EST 2004


This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C4028A.E0D0F6F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Indexing of ShapefilesRUN=20

shptree shapefile.shp

at the command prompt=20

It will speed up the display of the shape file in mapserver.

stephen


  ----- Original Message -----=20
  From: Darren.Cope at statcan.ca=20
  To: mapserver-users at lists.gis.umn.edu=20
  Sent: Friday, March 05, 2004 6:38 AM
  Subject: [Mapserver-users] Indexing of Shapefiles


  Hi all,=20

  I have several very large shapefiles that I wish to display.  =
Everything works fine, except that rending and querying take a _long_ =
time.  Does MapServer work with attribute indexes on shapefiles to speed =
up queries?  Spatial indexes to speed up queries?  I have read about the =
TILEINDEX but am not sure how this applies to a single large shapefile.

  Any help would be appreciated!=20

  Thanks,=20

  Darren Cope=20
  Statistics Canada/Statistique Canada=20
  Geography Division/Division de la g=E9ographie=20
  Jean Talon 3D5=20
  Ottawa, Canada=20
  (613) 951-6461=20

------=_NextPart_000_0027_01C4028A.E0D0F6F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Indexing of Shapefiles</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>RUN </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>shptree shapefile.shp</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>at the command prompt </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It will speed up the display of the =
shape file in=20
mapserver.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>stephen</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DDarren.Cope at statcan.ca=20
  href=3D"mailto:Darren.Cope at statcan.ca">Darren.Cope at statcan.ca</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  title=3Dmapserver-users at lists.gis.umn.edu=20
  =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, March 05, 2004 =
6:38=20
AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] =
Indexing of=20
  Shapefiles</DIV>
  <DIV><BR></DIV>
  <P><FONT face=3DArial size=3D2>Hi all,</FONT> <BR><BR><FONT =
face=3DArial size=3D2>I=20
  have several very large shapefiles that I wish to display.&nbsp; =
Everything=20
  works fine, except that rending and querying take a _long_ time.&nbsp; =
Does=20
  MapServer work with attribute indexes on shapefiles to speed up =
queries?&nbsp;=20
  Spatial indexes to speed up queries?&nbsp; I have read about the =
TILEINDEX but=20
  am not sure how this applies to a single large shapefile.</FONT></P>
  <P><FONT face=3DArial size=3D2>Any help would be appreciated!</FONT> =
</P>
  <P><FONT face=3DArial size=3D2>Thanks,</FONT> </P>
  <P><B><FONT face=3D"Arial Narrow" size=3D1>Darren Cope</FONT></B> =
<BR><FONT=20
  face=3D"Arial Narrow" size=3D1>Statistics Canada/Statistique =
Canada</FONT>=20
  <BR><FONT face=3D"Arial Narrow" size=3D1>Geography Division/Division =
de la=20
  g=E9ographie</FONT> <BR><FONT face=3D"Arial Narrow" size=3D1>Jean =
Talon 3D5</FONT>=20
  <BR><FONT face=3D"Arial Narrow" size=3D1>Ottawa, Canada</FONT> =
<BR><FONT=20
  face=3D"Arial Narrow" size=3D1>(613) 951-6461</FONT> =
</P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0027_01C4028A.E0D0F6F0--




More information about the mapserver-users mailing list