<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div id="yui_3_16_0_1_1436261753835_3281733">Generic Mapping Tools (http://gmt.soest.hawaii.edu) can do all you want, fully scripted:</div><div id="yui_3_16_0_1_1436261753835_3281757"><br></div><div id="yui_3_16_0_1_1436261753835_3281749" dir="ltr">surface, triangulate, xyz2grd, greenspline can all generate a grid from scattered point data, depending just how you want it done<br></div><div id="yui_3_16_0_1_1436261753835_3281517"><span id="yui_3_16_0_1_1436261753835_3282022">gridhisteq can normalise it if required</span></div><div id="yui_3_16_0_1_1436261753835_3281758" dir="ltr"><span id="yui_3_16_0_1_1436261753835_3282021">grdimage will turn it into a postscript image</span></div><div id="yui_3_16_0_1_1436261753835_3281759" dir="ltr"><span id="yui_3_16_0_1_1436261753835_3281765">ps2raster will turn it into a georeferenced png</span></div><div id="yui_3_16_0_1_1436261753835_3281760" dir="ltr"><br></div><div id="yui_3_16_0_1_1436261753835_3282023" dir="ltr">if you want to clip it to a contour, you can use psclip, or you can use a colour palette to set cells representing certain values to NA, & render them as transparent <br></div><div id="yui_3_16_0_1_1436261753835_3282019" dir="ltr"><br><span></span></div><div id="yui_3_16_0_1_1436261753835_3281762" dir="ltr"><span id="yui_3_16_0_1_1436261753835_3281761">you can then provide it as a WMS layer with mapserver, qgis server or geoserver </span></div><div id="yui_3_16_0_1_1436261753835_3281871"><br></div><div id="yui_3_16_0_1_1436261753835_3282020">See sections 7.14-7.19 here:</div><div dir="ltr" id="yui_3_16_0_1_1436261753835_3282046"><a id="yui_3_16_0_1_1436261753835_3282048" href="http://gmt.soest.hawaii.edu/gmt4/gmt/html/GMT_Docs.html">http://gmt.soest.hawaii.edu/gmt4/gmt/html/GMT_Docs.html</a><br></div><div><br></div><div dir="ltr" id="yui_3_16_0_1_1436261753835_3281796">GDAL may be adequate, but has a more limited set of gridding & cartographic tools, and GRASS can also do what you want.<br></div><div id="yui_3_16_0_1_1436261753835_3281800"><br>  </div><div id="yui_3_16_0_1_1436261753835_3281793" style="font-family: times new roman, new york, times, serif; font-size: 16px;"> <div id="yui_3_16_0_1_1436261753835_3281792" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1436261753835_3281794" dir="ltr"> <hr size="1">  <font id="yui_3_16_0_1_1436261753835_3281795" face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Marcelo de Moraes Serpa <celoserpa@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> qgis-user <qgis-user@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, July 25, 2015 3:13 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Qgis-user] Organic heatmap outter contour, and making it look better<br> </font> </div> <div id="yui_3_16_0_1_1436261753835_3281791" class="y_msg_container"><br><div id="yiv9087783740"><div id="yui_3_16_0_1_1436261753835_3281790"><div id="yui_3_16_0_1_1436261753835_3281789" dir="ltr">Ops, forgot to include the reference heatmaps here. The goal is to get it to look +- like the ones below:<div id="yui_3_16_0_1_1436261753835_3281797"><br clear="none"></div><div id="yui_3_16_0_1_1436261753835_3281788">* <a id="yui_3_16_0_1_1436261753835_3281787" rel="nofollow" shape="rect" target="_blank" href="http://www.gislounge.com/wp-content/uploads/2014/08/fortune1000-heat-kernel-us.png">http://www.gislounge.com/wp-content/uploads/2014/08/fortune1000-heat-kernel-us.png</a><br clear="none"></div><div id="yui_3_16_0_1_1436261753835_3281798">and/or</div><div id="yui_3_16_0_1_1436261753835_3281799">* <a id="yui_3_16_0_1_1436261753835_3282113" rel="nofollow" shape="rect" target="_blank" href="http://i.stack.imgur.com/DvVyU.png">http://i.stack.imgur.com/DvVyU.png</a></div><div id="yui_3_16_0_1_1436261753835_3282114"><br clear="none"></div><div>Cheers,</div><div id="yui_3_16_0_1_1436261753835_3281870"><br clear="none"></div><div id="yui_3_16_0_1_1436261753835_3281863">-- Marcleo.</div></div><div class="qtdSeparateBR"><br><br></div><div class="yiv9087783740yqt8203168857" id="yiv9087783740yqt12286"><div id="yui_3_16_0_1_1436261753835_3281867" class="yiv9087783740gmail_extra"><br clear="none"><div id="yui_3_16_0_1_1436261753835_3281866" class="yiv9087783740gmail_quote">On Fri, Jul 24, 2015 at 9:58 PM, Marcelo de Moraes Serpa <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:celoserpa@gmail.com" target="_blank" href="mailto:celoserpa@gmail.com">celoserpa@gmail.com</a>></span> wrote:<br clear="none"><blockquote id="yui_3_16_0_1_1436261753835_3281865" class="yiv9087783740gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id="yui_3_16_0_1_1436261753835_3281864" dir="ltr">Thanks to @Neumann, @Abdishakur and @Richard from my previous thread, the info was valuable! I did reply the post with some additional questions it but for some reason the mailing list server bounced my messages. They are not so relevant anymore, but if you get them, I'd still want to know your opinions.<div><br clear="none"></div><div>Anyway, I played a couple of hours today with the data I have and with the interpolation and countours features of QGis (which seems to use Gdal under the cover, which was, for me, a quite interesting finding! That means that any result I get with QGis could easily be scriptable, which is  a must, since it will eventually be used in a web app pipeline) and I got this: </div><div><br clear="none"></div><div><a rel="nofollow" shape="rect" target="_blank" href="https://www.dropbox.com/s/9ig76n1kcxoo76w/Screenshot%202015-07-24%2021.39.00.png?dl=0">https://www.dropbox.com/s/9ig76n1kcxoo76w/Screenshot%202015-07-24%2021.39.00.png?dl=0</a><br clear="none"></div><div><br clear="none"></div><div id="yui_3_16_0_1_1436261753835_3281868">It still doesn't look quite like I want*[0] but I'm getting there. The countours feature seems to be what I want. The numbers, by the way, is revenue per day in a certain area. The colors are not quite right (too many of them) so I need to tweak the styles, I think, and I don't want the actual countours lines to appear. They all seem to be simple problems to solve, but if you know how to do them, I'd love to know!</div><div><br clear="none"></div><div>What seems to be more complicated, is how to create an organic feeling to the map. I don't want it to be a square, like this, I want the edge to follow the outter points. Here's what I mean: <a rel="nofollow" shape="rect" target="_blank" href="https://www.dropbox.com/s/k6na766a4ox1ngg/Screenshot-2015-07-15-21.47.55.jpg?dl=0">https://www.dropbox.com/s/k6na766a4ox1ngg/Screenshot-2015-07-15-21.47.55.jpg?dl=0</a>. Does anyone have any idea of to do this?</div><div><br clear="none"></div><div>Thanks!</div><span class="yiv9087783740HOEnZb"><font color="#888888"></font></span><div><br clear="none"></div><div>-- Marcelo.</div><div><br clear="none"></div><div><br clear="none"></div></div>
</blockquote></div><br clear="none"></div></div></div></div><br><div class="yqt8203168857" id="yqt34652">_______________________________________________<br clear="none">Qgis-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br clear="none"><a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div><br><br></div> </div> </div>  </div></body></html>