ahmet,<br><br>Perhaps the python script rgb2pct.py can help you. ( Refer to <a href="http://www.gdal.org/rgb2pct.html">http://www.gdal.org/rgb2pct.html</a> & <a href="http://www.gdal.org/gdal_utilities.html">http://www.gdal.org/gdal_utilities.html</a> )<br>
<br>PS: You can easily set some fancy color tables using some desktop GIS applications.<br><br><div class="gmail_quote">On Thu, Sep 23, 2010 at 5:48 PM, ahmet temiz <span dir="ltr"><<a href="mailto:ahmettemiz88@gmail.com" target="_blank">ahmettemiz88@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I learnt later. This color file should be created by myself.<br>
<br>
I had asked if there was any automatic way of generation of that file<br>
as in "GMT makecpt"<br>
<br>
regards<br>
<br>
2010/9/23 Chaitanya kumar CH <<a href="http://chaitanya.ch" target="_blank">chaitanya.ch</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>>:<br>
<div><div></div><div>> ahmet,<br>
><br>
<br>
<br>
> The gdaldem color-relief utility uses the color entries from a text file<br>
> which is given as the argument color_text_file. If you did create a map<br>
> using gdaldem color-relief, you should already have the file. Use the<br>
> entries from it.<br>
><br>
> On Wed, Sep 22, 2010 at 1:12 AM, ahmet temiz <<a href="mailto:ahmettemiz88@gmail.com" target="_blank">ahmettemiz88@gmail.com</a>> wrote:<br>
>><br>
>> So, what are they ?<br>
>><br>
>> 2010/9/21 Chaitanya kumar CH <<a href="http://chaitanya.ch" target="_blank">chaitanya.ch</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>>:<br>
>> > ahmet,<br>
>> > You have to create a legend of the dem from the color configuration file<br>
>> > using some other tool.<br>
>> ><br>
>> > On Wed, Sep 22, 2010 at 12:32 AM, ahmet temiz <<a href="mailto:ahmettemiz88@gmail.com" target="_blank">ahmettemiz88@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> I used gdaldem color-relief and created the map.<br>
>> >><br>
>> >> Now, how can I generate the legend of the dem ?<br>
>> >><br>
>> >> kind regards<br>
>> >> _______________________________________________<br>
>> >> gdal-dev mailing list<br>
>> >> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
>> >> <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Best regards,<br>
>> > Chaitanya kumar CH.<br>
>> > /tʃaɪθənjə/ /kʊmɑr/<br>
>> > +91-9494447584<br>
>> > 17.2416N 80.1426E<br>
>> ><br>
><br>
><br>
><br>
> --<br>
> Best regards,<br>
> Chaitanya kumar CH.<br>
> /tʃaɪθənjə/ /kʊmɑr/<br>
> +91-9494447584<br>
> 17.2416N 80.1426E<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>