Hi, On 23.06.2011, at 13:19, Parveen Arora wrote: > Hello Everyone, > As we can import the OSM data file into the database using osm2pgsql, > I want to know that can we optimise that data before importing. > Means If I need only the Information of National Highways, what is the > need of storing all the data in the database. > So can I optimise the data before importing to the database.
you should have a look at imposm[0]. You can define custom mappings that only import the data you need (highways in your case). It can also create tables with generalized/simplified geometries. [0] http://imposm.org Regards, Oliver -- Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de http://mapproxy.org | https://bitbucket.org/olt | @oltonn _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev