Datastore is supposed to isolate the web service from individual files; but
you can probable figure it out anyways.

1. Go through the dataStores looking at the connection parameters for the
file name in question (probably represented as a file URL
2. Once located you can check the datastore for its resources (should be
FeatureTypes, or CoverageTypes, or ...)
3. The resource name is the same as the layer name (we never did allow a
resource to publish more than one layer although the separation is in the
data model)

--
Jody Garnett


On Fri, 23 Sept 2022 at 04:32, Ian Turton <ijtur...@gmail.com> wrote:

> I'm struggling to work out how I go from a DataStore (or just a file) to a
> layer in the catalog I can make a WFS request from. The manual page will
> voluminous doesn't currently mention this and I can't find an example of a
> test doing it either which probably means I'm on the wrong path :-)
>
> Can anyone enlighten me?
>
> Ian
>
> --
> Ian Turton
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to