[gdal-dev] Convert kml to Shapefile and conserve polygon's colors with Ogr2Ogr

2012-10-22 Thread Wael Tarhouni
Hi All, I'm using Ogr2Ogr to convert kml file to shapefile but the color of the shape output file is unique, i 'm always loosing the colors of my polygons in the shapefile... is there any way to solve this problem ? Best regards; -- Wael Tarhouni Élève ingénieur en Réseaux informatiques et Té

Re: [gdal-dev] Convert kml to Shapefile and conserve polygon's colors with Ogr2Ogr

2012-10-22 Thread xavier lhomme
Hi There is no graphical representation in the shapefile. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Convert kml to Shapefile and conserve polygon's colors with Ogr2Ogr

2012-10-22 Thread Chaitanya kumar CH
Wael, There is no support for style information in shapefile format. However, you can store the style info as a regular attribute value. Using OGR's SQL you can extract the style string from the kml data and then store it in the shapefile. Please go through the OGR SQL page[1]. You can get the sty

Re: [gdal-dev] Convert kml to Shapefile and conserve polygon's colors with Ogr2Ogr

2012-10-22 Thread Smith, Michael ERDC-CRREL-NH
x27; Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center From: Wael Tarhouni Date: Monday, October 22, 2012 4:55 AM To: "gdal-dev@lists.osgeo.org" Subject: [gdal-dev] Convert kml to Shapefile and conserve polygon's colors with Ogr2Ogr Resent-From: Michael Sm