[Qgis-user] Opengeo (Geoserver) - QGIS 1:n relations

Alex Mandel tech_dev at wildintellect.com
Tue Jun 9 10:56:45 PDT 2015


On 06/08/2015 07:00 AM, Pedro wrote:
> Hi,
> 
> I'm using Opengeo plugin in QGIS top publish at Geoserver.
> Have a problem that I don't know how to handle it.
> 
> At QGIS Project Properties established a relationship between two postgis
> tables (1:n). 
> So when  when I open an object editor got the information from the two
> tables. (just 1 table have a geometry column).
> 
> By submitting the project to the Geoserver (with OpenGeo plugin) it takes
> the individual layers, i.e.,  it lose the relationship between the tables.
> 
> Are you aware if there is a way to keep this 1:n relationship in Geoserver?
> 
> 
> Thanks,
> Pedro
> 

You probably need to create a Postgis view yourself that mimics what the
plugin did. Then add this view directly to geoserver.

Other than that sounds like a feature request to OpenGeo for adding more
features to their plugin.

Thanks,
-Alex




More information about the Qgis-user mailing list