[REF] refactor entry_to_shape
[REF] refactor entry_to_shape

* removed unused paths
* reformat source code

bonus: extract _postgis_index_name helper function and use it in places where
the index name was generated by hand. 


dreispt/geospatial,Endika/geospatial,laslabs/geospatial,riess82/geospatial,ovnicraft/geospatial,riess82/geospatial,dreispt/geospatial,laslabs/geospatial,riess82/geospatial,tiexinliu/geospatial,acsone/geospatial,Endika/geospatial,tiexinliu/geospatial,laslabs/geospatial,dreispt/geospatial,Endika/geospatial,tiexinliu/geospatial,ovnicraft/geospatial,acsone/geospatial,acsone/geospatial