<HTML><HEAD><TITLE>Re: [Gvsig_english] error loading big shapefile</TITLE>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18372"></HEAD>
<BODY>
<DIV id=idOWAReplyText84129>
<DIV><FONT color=#000000 size=3 face="Times New Roman">Hello, Wolfgang. This magical script will tell you how many vertices it has (approx.):</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3 face="Times New Roman">ls -la myfile.shp | awk '{ print ($5/16) " VERTICES (APPROX)"&nbsp; }'</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3 face="Times New Roman">An this will tell you how many features it has:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3 face="Times New Roman">ogrinfo myfile.shp myfile | awk '{ if (NR &lt; 15) print; }'</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3 face="Times New Roman">So we'll have an idea of the size, and an estimation of the average number of vertices per feature.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3 face="Times New Roman">Regards,</FONT></DIV>
<DIV><FONT color=#000000 size=3 face="Times New Roman"></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature78095>
<DIV><FONT size=2 face="Courier New"><FONT size=3 face="Times New Roman">Juan Lucas Domínguez Rubio<BR></FONT>---</FONT></DIV>
<DIV><FONT size=2 face="Courier New"><FONT size=2 face="Courier New"><FONT size=2 face="Courier New">Prodevelop SL, Valencia (España)</FONT></DIV>
<DIV>
<DIV><FONT size=2 face="Courier New">Tlf.: 96.351.06.12 -- Fax: 96.351.09.68<BR></FONT><A href="http://www.prodevelop.es/"><FONT size=2 face="Courier New">http://www.prodevelop.es</FONT></A><BR><FONT size=2 face="Courier New">---</FONT></DIV></FONT></DIV></FONT></DIV>
<DIV><BR>
<HR>
<FONT size=2 face=Tahoma><B>De:</B> gvsig_internacional-bounces@listserv.gva.es en nombre de Wolfgang Qual<BR><B>Enviado el:</B> mié 03/03/2010 15:35<BR><B>Para:</B> gvsig_internacional@listserv.gva.es<BR><B>Asunto:</B> Re: [Gvsig_english] error loading big shapefile<BR></FONT><BR></DIV>
<DIV><BR>
<P><FONT size=2>Dear Juan Lucas,<BR>unfortunately, the ogrinfo-command did not work. Available options of my<BR>ogrinfo-command:<BR><BR>ogrinfo --help<BR>Usage: ogrinfo [--help-general] [-ro] [-q] [-where restricted_where]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-spat xmin ymin xmax ymax] [-fid fid]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-sql statement] [-al] [-so] [--formats]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datasource_name [layer [layer ...]]<BR><BR>seems that I have a quite old version of that application ;( [1]<BR><BR>Best,<BR>Wolfgang<BR><BR>[1] <A href="http://www.gdal.org/ogrinfo.html">http://www.gdal.org/ogrinfo.html</A><BR><BR><BR><BR>--<BR>View this message in context: <A href="http://n2.nabble.com/error-loading-big-shapefile-tp4661053p4667840.html">http://n2.nabble.com/error-loading-big-shapefile-tp4661053p4667840.html</A><BR>Sent from the gvSIG international mailing list archive at Nabble.com.<BR>_______________________________________________<BR>Gvsig_internacional mailing list<BR>Gvsig_internacional@listserv.gva.es<BR><A href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</A><BR></FONT></P></DIV></BODY></HTML>