Thanks Helmut. v.build did not help, as the topology was already OK.
The problem seems to be that the database has come unconnected. To make
a long story short
1) I used v.in.ogr on a GDB directory, which produced a single feature
with 20 layers, only a few of which had spatial data
2) to isolate the one element I was most interested in I did a v.extract
on layer 20 to create the new map.
3) that worked, except that the database was still attached to layer 20,
even though the new map only had a single layer. So,
4) I did a v.db.connect -d layer=20, followed by a v.db.connect layer=1
on the same table that used to be attached to layer 20.
Now, d.vect newveg doesn't work, but d.vect newveg layer=20 does, and
the query returns layer 20 results, but layer 20 is no longer attached
to a table in sqlite so all I get are area and cat. Presumably, some
permutation of v.category will straighten all of this out.
In the meantime, I discovered that I could import layers from a GDB
individually with v.in.ogr, so all is well.
Dave
On 10/12/16 14:33, Helmut Kudrnovsky wrote:
Dave Roberts wrote
I'm having difficulty getting the wx devices to show vector features.
For example, I have a map called newveg. v.info clearly shows that
newveg has areas, e.g.
Number of points: 0 Number of centroids: 38183
Number of lines: 0 Number of boundaries: 97451
Number of areas: 38183 Number of islands: 7112
If I enter
d.vect newveg
it doesn't render anything. If I enter
d.vect newveg type=area
it doesn't render anything, but if I enter
d.vect newveg type=boundary
I get the boundaries. Furthermore, even when it doesn't draw anything,
the query tool returns information on polygons I can't see.
Unfortunately, even though
v.db.connect -p newveg
says
Vector map
<newveg>
is connected by:
layer <1/newveg> table
<newveg>
in database
</home/dvrbts/grass/romo_gdb/PERMANENT/sqlite/sqlite.db> through
driver
<sqlite>
with key
<cat>
The query tool is returning information on layer 20 that is no longer
connected to newveg (it was once upon a time).
I'm confused
Dave
GRASS 7.3.svn, Linux magicsam 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8
08:40:59 CEST 2016 x86_64 GNU/Linux
tested here with
Number of areas: 989768
rendering takes some time, after finished rendering areas are displayed
without any problem.
try to rebuild topology by eg. v.build map=yourvector
-----
best regards
Helmut
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/boundary-vs-area-in-wx0-tp5290472p5290487.html
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David W. Roberts office 406-994-4548
Professor and Head FAX 406-994-3190
Department of Ecology email drobe...@montana.edu
Montana State University
Bozeman, MT 59717-3460
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user