I am aware of Finding centrelines from polygons in QGIS? but I am looking for another Open Source GIS way to do this.
Is there a possibility to create centerlines in PostGIS?
I have this shapefile (see below) which contains different zones. I need a centerline in each zone - it may not be one line, it can be more (for example in brown zone).
In ArcGIS I can separate each zone as a new shapefile and then use ET Geowizard to create that lines.

duplicate, or "it wanted all Open Source GIS options" in which case it would betoo broad. To navigate in between I have edited its scope to match its only answer (yours). If the asker is not satisfied with either QGIS or PostGIS answers then they should ask another question about the particular Open Source GIS that they are trying to use. – PolyGeo Nov 15 '15 at 05:49