On Wed, May 9, 2012 at 7:24 PM, Arthur F. Zanona <[email protected]>wrote:
> Hi everyone,
>
> I'm trying to create layers views (e.g. to publish layers with SQL
> filtering the features) using the rest API, but I cant find any
> documentation on the subject as there is for simple layers, or any
> samples showing it being done.
> Is it possible to publish views with the REST API currently, or is it
> yet to be implemented?
>
sql views are defined in the metadata section of the feature type.
Create one from the GUI, see how it's represented in rest and then
mimic that structure to create a new one
Cheers
Andrea
--
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users