Hello,
I am trying to create a new vector by selecting with an SQL query. But I cannot
suceed.

Here is the command I used:

v.extract [EMAIL PROTECTED] output=country_selected
type=boundary,centroid,area,face layer=1 where='("name = Ukraine")' --overwrite

The output in the console:

Load categories from the database (table = country, db =
grassdata/testlocation/PERMANENT/dbf/).
dbmi: Protocol error
-1 categories loaded from the database
dbmi: Protocol error
Building topology ...
0 primitives registered      
0 areas built      
0 isles built
Attaching islands: 
Attaching centroids: Topology was built.
Number of nodes     :   0
Number of primitives:   0
Number of points    :   0
Number of lines     :   0
Number of boundaries:   0
Number of centroids :   0
Number of areas     :   0
Number of isles     :   0
Writing attributes...

If I use the following command:
v.extract [EMAIL PROTECTED] output=country_selected
type=boundary,centroid,area,face layer=1 list=34 --overwrite
it all works well.
What could be the error?

Thanks in advance!

Regards,
Timmie

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

Reply via email to