Using "geojson" format as Geocoder

ysv13 hours ago

Hi ,
I was trying to use my own Geocoding provider which provides response in "geojson" format , Seems Traccar does not work with "geojson" format.
Log shows me a message like

Geocoder network error - MessageBodyReader not found for media type=text/html, type=interface jakarta.json.JsonObject, genericType=interface jakarta.json.JsonObject. - MessageBodyProviderNotFoundException (... < JsonGeocoder:126 < ServerResource:129 < ... < WebServer:123 < ... < OverrideFileFilter:55 < ...)

Any configuration that I can add in traccar.xml to make this work ?
Thank you in advance !

Anton Tananaev10 hours ago

You would probably need to implement it in the code.

ysv9 hours ago

Thank you Anton for confirming .