You are free to try and propose a pull request.
Alternatively you could look into the geojson-core module and
https://github.com/geotools/geotools/blob/48547967e75f2ef841751c3950b01e88cd5683e7/modules/unsupported/geojson-core/src/main/java/org/geotools/data/geojson/GeoJSONReader.java#L300

Op ma 22 mei 2023 om 17:22 schreef pengfei tian <tiandyt...@gmail.com>:

> Hi,
>     I found GeoJSONUtil.parse(featureCollectionHandler,
> featureCollectionJson,false) cant return FeatureCollection, so I think 
> FeatureCollectionHandler
> should extends DelegatingHandler<SimpleFeatureCollection>
>
> GeoJSONUtil: 
> https://github.com/geotools/geotools/blob/main/modules/unsupported/geojson/src/main/java/org/geotools/geojson/GeoJSONUtil.java
>
> FeatureCollectionHandler:https://github.com/geotools/geotools/blob/main/modules/unsupported/geojson/src/main/java/org/geotools/geojson/feature/FeatureCollectionHandler.java
>
> If this need to be fixed , please let me try to do that.
>
> Best wishes!
> Tiandy
>
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>


-- 
Disclaimer;
This message is just a reflection of what I thought at the time of sending.
The message may contain information that is not intended for you or that
you don't understand.
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to