[GRASS-user] Joining vectors by location
lee at isi-solutions.org
Sat Nov 26 15:09:05 EST 2011
Okay, sorry to bug again, but now I do have kind of the same problem again.
Here we go:
v.out.ogr only gives me the field cat in the attribute table, all other
fields are gone:
v.out.ogr input=Buildings at PERMANENT type=area dsn=/tmp/buildings.shp
The geometries are exported, but no attributes from layer 2 come with. In
GRASS I can see that the attributes are readable in layer 2. I really need
these attributes in the shapefile, or I need to be able to export the
geometries directly, together with the attributes, to PostGIS - the goal is
to show them in a Geoserver. Any ideas?
Oh, and a tip for anyone that struggles with similar things: I just revised
my SQL script to make the views so that entries in the table
buildings_globalstrahlung_dachflaeche that don't have a matching entry in
gebaeude_nutzflaeche still come with into the new view. I did that by,
rather than using the operator JOIN, using OUTER JOIN.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user