<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.1">
</HEAD>
<BODY>
Folks,
<BR>

<BR>
I wrote a Python script that splits a shapefile into pieces, using pyshapelib.&nbsp; It was a snap, about 15 lines of code.&nbsp; I'll try to locate the code and pass it along...
<BR>

<BR>
Vic.
<BR>

<BR>
On Fri, 2002-03-15 at 09:27, Stephen Woodbridge wrote:
    <BLOCKQUOTE>
<PRE><FONT COLOR="#737373"><FONT SIZE="3"><I>Luca,</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>I don't think there is a general tool to do that, but if you know C it</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>is pretty easy to use shplib to write utility to read the shape file and</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>dump specific records to different files. You can also do this using</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Perl and the XBase and shplib addins.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Why do you want to split the file?</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>performance? have you tried building a shptree index?</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>-Steve W.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Luca Pescatore wrote:</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; Where i can find &quot;How To Split Large SHP Files&quot; in to small files ?</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; Is it available an How To ? I can't din it on Wiki.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt; Best Regards,</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>&gt;         Luca Pescatore</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
</PRE>
    </BLOCKQUOTE>
</BODY>
</HTML>