Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] PostGIS Views not showing in uDIG

OK, this explains both issues (views not showing up and the problems
with Hibernate Spatial). I assume the only solution is to manually
update the Geometry Columns table like explained in the PostGIS manual.
Maybe there could be a way to do it programmaticaly, like a function
UpdateGeometryColumns(nameofview, the_geom); :-)

BTW, my uDIG version is 1.2-RC2

JPHespanha 


Sex, 2010-07-09 às 23:57 +1000, Jody Garnett escreveu:
> We switched database connection back ends; this one is strict about asking you to register your geometry columns (even those in views).
> I kind of liked the last one which was more forgiving.
> 
> Jody
> 
> On 06/07/2010, at 9:31 AM, João Paulo Hespanha wrote:
> 
> > Dear All:
> > 
> > Following my recent post on non-spatial tables in uDIG I have followed
> > the advice from Jody Garnett and created a couple of PostGIS Views
> > holding one geometry column and a number of non-spatial columns.
> > 
> > However, when I try to add these as new layers in my cadastral map, they
> > do not show up in the list of tables.
> > 
> > Interestingly enough, this solution works perfectly well in QuantumGIS.
> > 
> > I wonder what is the reason for this difference. Is uDIG just accepting
> > tables which have an entry in geometry_columns?
> > 
> > That could explain the troubles with schemas generated by Hibernate
> > Spatial as well. Although I believe the fault here lies with this last
> > application, because it should update geometry_columns, and enforce the
> > usual check constraints...
> > 
> > Regards,
> > João Paulo Hespanha
> > 
> > _______________________________________________
> > udig-users mailing list
> > udig-users@xxxxxxxxxxxxxxxxxxxxx
> > http://lists.refractions.net/mailman/listinfo/udig-users




Back to the top