Hello list,
I've been working on a custom WPS process. The process originally had a
SimpleFeatureCollection, as the layer/store used was an SQL view. This
was changed to an application schema
(https://docs.geoserver.org/main/en/user/data/app-schema/index.html), so
the process now uses a MappingFeatureCollection.
The original process with the SimpleFeatureCollection had tests, where
the geometries were manually written down in the code and added to the
collection. Now, I would need to alter the tests so it can provide the
MappingFeatureCollection to the process.
1. Can a MappingFeatureCollection be created in code for the purpose of
a simple test?
2. If so, can somebody point me in the right direction on how to make
this happen? I've tried searching, but any mention of
MappingFeatureCollection leads to the original geotools / geoserver
code, where proper datastores are used everywhere.
Best regards,
Kamilla Kisova
_______________________________________________
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users