nchaulet/node-geocoder

How can get boundary details?

rajeev-k-tomy opened this issue · 0 comments

Hi,

I cannot figure out a way to retrieve boundary details from the package. It is not given in the documentation. Is there any way to do this?

I used the very first example in the documentation to get the response and I am getting the output as mentioned.

When I go through the library, it seems to me that, the raw data holds the information that I need (i.e, boundary details), but it will be removed from the result when _format happens.

This happens exactly at this line. Due to this, even if I write a custom formatter, I cannot access the data, since the custom formatter is called after the above action is done.

So what should I do in order to get the boundary details?