GeoServer won't write to my PostgreSQL updateable view

后端 未结 3 1362
一向
一向 2021-01-15 14:04

Following on from this earlier question I\'m on PostgreSQL 8.4 and am having trouble with updatable views.

I have a view:

CREATE VIEW filedata_view
A         


        
3条回答
  •  无人及你
    2021-01-15 14:33

    If you have Postgres >= 9.3 you can update features coming from a View with GeoServer, at least if the view is a subset of another table (I don't think this will work with joins or compound fields..).

    Here's how: http://osgeo-org.1560.x6.nabble.com/postgresql-postgis-views-and-primary-keys-td3796362.html

    This really worked for me!

提交回复
热议问题