Hi Florin,<br><br>I have a layer with polygons representing cities (stored in PostGIS), and my idea is to set the colour of these polygons in function of variables like &#39;population&#39;, as I show on my last e-mail.<br>
I&#39;m going to use the same colour for all the polygons, but the colour of the polygon Barcelona will be lighter than the colour of the polygon Madrid, because Madrid has more population.<br><br>The problem is basically how can I relate the numeric variables like population with the geometry of every city? If I can do this I supose that setting the colour will be not a big problem.<br>
<br>Thank you very much!<br> <br><br><div class="gmail_quote">2008/5/13 Florin A. &lt;<a href="mailto:pianosnake@gmail.com">pianosnake@gmail.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Kamap was designed to only take Mapserver input, yes.<br>
Mapserver will take most formats. &nbsp;You can have data in shapefiles, in<br>
a database, a raster image, or in a text file.<br>
Do you have polygons for the cities or do you want to just draw a<br>
circle at their lat/long ?<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On Mon, May 12, 2008 at 4:20 PM, Emilio Ponce &lt;<a href="mailto:yosoycore@gmail.com">yosoycore@gmail.com</a>&gt; wrote:<br>
&gt; Hi everyone,<br>
&gt;<br>
&gt; I&#39;m working with mapserver using ka-map. Now I&#39;m trying to create a new<br>
&gt; layer over the others using alphanumeric data, and &nbsp;I was wondering &nbsp;what&#39;s<br>
&gt; the best method.<br>
&gt; My idea is to represent this data with a colour gradient. For example if the<br>
&gt; data are like this:<br>
&gt;<br>
&gt; City &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Population<br>
&gt; ---------------------------<br>
&gt; Barcelona 4000000<br>
&gt; Madrid &nbsp; &nbsp; &nbsp;7000000<br>
&gt;<br>
&gt; I want to represent the Barcelona area with a light red colour, and Madrid<br>
&gt; with a darker red.<br>
&gt; Someone told me that the only input to Ka-map is mapserver, and mapserver<br>
&gt; uses GDAL/OGR library for this kind of tasks... so what is the best kind of<br>
&gt; input format using this library? And in order to represent the data with the<br>
&gt; colour gradient, where I have to link the alphanumeric data (e.g 4000000)<br>
&gt; with the colour (e.g. dark red)?<br>
&gt;<br>
&gt; Thank you very much guys!<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; &nbsp;mapserver-users mailing list<br>
<div class="Ih2E3d">&gt; &nbsp;<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
</div>&gt; &nbsp;<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br><br clear="all"><br>-- <br>Emilio