That's what a majority of urban poor in India live on - public/unclaimed land (i.e. informal housing). They're not counted as homeless as a result, unlike in LA.
That's how LA can appear to have a comparatively larger homeless population, even if it's a lot smaller in reality.
In India this type of housing is illegal and can be destroyed by the government, but that rarely happens because the situation can be leveraged for votes (there's a lot of poor people).
Yay democracy.