Hello,

is it possible to use the importer extension rest api to do a batch import
over a series of SQL views?

I managed to import a single SQL-view-based-layer by POSTing a new
featuretype with this metadata entry:

<virtualTable>
...
<sql>Select g.* from Geometry g, Layers l, GeoToLayer a, LayerGroups lg
where g.ID = a.GeoID and l.ID = a.LayerID and l.ID = lg.LayerID and
lg.ID = '2345-5435-8768-0302' </sql>
...
</virtualTable>

And now i would like to do a batch import over all existing lg.ID's and not
only specify one so i get one GeoServer Layer per lg.ID, but i don't know
how to approach this. Is it somehow possible with the importer extension?

Greetings
Jones
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to