Hi,
 
But -al (without -so, "summary only") is listing all the features of all the 
layers.  It just happens to be that shapefile always has only one layer.  Have 
a try with Mapinfo tab file or some database with lots of tables and you will 
notice that -al option does go through all the layers.
 
-Jukka-
 
Jan Hartmann  wrote:


                The manual page says:
                
                
                
                -al: 
                List all features of all layers (used instead of having to give 
layer names as arguments). 

        This is not a really clear answer for Antonio's question: when I read 
this the first time, I thought this flag was meant to display information about 
more layers, not to get more information about one layer. Especially difficult 
when English is not your first language and you are not Finnish :-)
        
        Jan 
        
        On 05/10/10 13:18, Jukka Rahkonen wrote: 

                António Rocha <antonio.rocha <at> deimos.com.pt> writes:
                
                  

                        Greetings
                        
                        I need to obtain a little bit more information 
regarding a Shapefile. I 
                        have done ogrinfo <filename> but I only obtained:
                            

                Hi,
                
                What most users propably want to know about shapefiles first 
comes with  
                ogrinfo -al -so file.shp
                
                Perhaps the manual page http://gdal.org/ogrinfo.html could give 
also this
                information?
                
                -Jukka Rahkonen-
                
                _______________________________________________
                gdal-dev mailing list
                [email protected]
                http://lists.osgeo.org/mailman/listinfo/gdal-dev
                  

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to