Luciano,
I think I'm not understanding your goal. Do you have a shapefile
that contains a mix of towns, neighborhoods, blocks and streets? Are
you trying to load the shapefile but break the features up so that
towns get inserted in a PostGIS towns table, neighborhoods get
inserted in a PostGIS neighborhoods table, etc.?
Best,
--Lee
On 04/18/2015 12:22 PM, James Keener
wrote:
I guess I'm still not fully understanding the problem.
I don't understand what problem the normalization is causing you.
You shouldn't need to duplicate the rows in different tables when
you duplicate one in another table.
To edit fields in QGIS you need to enable editing on the layer and
then you can get end editable form for each feature or you can
edit directly in the attribute table. Copy and pasting features in
QGIS copied all of the attributes as well.
Can you give a more complete example of the issue you're facing?
Jim
Jim
On April 18, 2015 12:11:38 PM EDT,
Luciano <[email protected]> wrote:
Yes, I'm using QGIS.
I agree, if I make a table
in the database with
the same structure the shape
file is simple. The copy / paste
works perfectly.
But my question
is how to update
for example the
blocks table,
using the copy /
paste, since the database structure
is different.
For example, if I copy a polygon
layer shape,
and try to stick
to the database layer, the fields of the new polygon
will be void.
Note that my
database blocks
table does not have the same structure of
the shape file because it is normalized (or should
be), so the fields
of two data
sources do not
match.
In this case, what is the
best practice?
tia
--
Sent from my Android device with K-9 Mail. Please excuse my
brevity.
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
--
Lee Hachadoorian
Assistant Professor in Geography, Dartmouth College
http://geospatial.commons.gc.cuny.edu
http://freecity.commons.gc.cuny.edu
|
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users