geostyler / geostyler-wfs-parser

GeoStyler Data Parser implementation for Web Feature Services (WFS)
Other
7 stars 7 forks source link

outputFormat application/geo+json possible? #452

Closed pcace closed 1 year ago

pcace commented 1 year ago

Hi there, is there any quick way to make it possible to be able to use servers with only outputFormat=application/geo+json enabled?

Thanks a lot!

jansule commented 1 year ago

It looks like we are currently hardcoding the outputFormat to application/json (see https://github.com/geostyler/geostyler-wfs-parser/blob/master/src/WfsDataParser.ts#L164).

From my side, it would be ok to make this configurable.

Are you planning on providing a PR for this?

pcace commented 1 year ago

Hi, i currently use my own simple fetch() for the specific usecase i have here, so currently no :/