Hello, Wolfgang. This magical script will tell you how many vertices it has 
(approx.):

ls -la myfile.shp | awk '{ print ($5/16) " VERTICES (APPROX)"  }'

An this will tell you how many features it has:

ogrinfo myfile.shp myfile | awk '{ if (NR < 15) print; }'

So we'll have an idea of the size, and an estimation of the average number of 
vertices per feature.

Regards,

Juan Lucas Domínguez Rubio
---
Prodevelop SL, Valencia (España)
Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
http://www.prodevelop.es <http://www.prodevelop.es/>
---

________________________________

De: [email protected] en nombre de Wolfgang Qual
Enviado el: mié 03/03/2010 15:35
Para: [email protected]
Asunto: Re: [Gvsig_english] error loading big shapefile




Dear Juan Lucas,
unfortunately, the ogrinfo-command did not work. Available options of my
ogrinfo-command:

ogrinfo --help
Usage: ogrinfo [--help-general] [-ro] [-q] [-where restricted_where]
               [-spat xmin ymin xmax ymax] [-fid fid]
               [-sql statement] [-al] [-so] [--formats]
               datasource_name [layer [layer ...]]

seems that I have a quite old version of that application ;( [1]

Best,
Wolfgang

[1] http://www.gdal.org/ogrinfo.html



--
View this message in context: 
http://n2.nabble.com/error-loading-big-shapefile-tp4661053p4667840.html
Sent from the gvSIG international mailing list archive at Nabble.com.
_______________________________________________
Gvsig_internacional mailing list
[email protected]
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional


_______________________________________________
Gvsig_internacional mailing list
[email protected]
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional

Reply via email to