I'm not sure exactly what you want here. So you update one of the
tables that the view is constructed from. But when you trigger a re-
render it doesn't show the new data? Is that right.
Assuming so. Does it show new data if the data is well within the
existing bounding box?
Jesse
Le 26-Jan-08 à 9:32 PM, David Garbin a écrit :
I am using uDIG RC13 to visualize PostGIS layers under OSX. In
general, this has worked very well, but there is one last thing
that I need to make this a smashing success. I want uDIG to
respond to changes in the underlying PostGIS tables based on my
input. I do this using views as features as follows:
1. I create PostGIS tables with a "visible" column.
2. Based on an event, I have a trigger function manipulate the
"visible" column to mark only the records I want to show.
3. I create views of the tables in PostGIS to contain only those
records marked visible. The geometry column is registered for
these views.
4. I add the views as layers in uDIG. When I start uDIG, it
correctly displays the layers.
The problem occurs when I then trigger an event and the views
change in PostGIS. When I refresh the display in uDIG, the old
view disappears, but the new contents of the view do not display.
It's like there is not a refresh of the geometry from the
database. Ironically, the new attributes of the views display
correctly in the Table window. If I then close uDIG and open it
again, the correct view contents are pulled in and displayed.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel