ShapeFileDataStore should use GeometryFactory of DataStore
Description
Current behaviour: When reading features from a ShapeFileDataStore, the GeometryFactory is taken from Hints specified in the Query. If not present, a new default-factory is used. The GeometryFactory of the ShapeFileDataStore (which is a ContentDataStore) is simply ignored.
Expected behaviour: If the Query doesn't carry a GeometryFactory, and the DataStore has one, use the latter.
Current behaviour: When reading features from a
ShapeFileDataStore
, theGeometryFactory
is taken fromHints
specified in theQuery
. If not present, a new default-factory is used. TheGeometryFactory
of theShapeFileDataStore
(which is aContentDataStore
) is simply ignored.Expected behaviour: If the
Query
doesn't carry aGeometryFactory
, and theDataStore
has one, use the latter.