making polygon from array of points: ST_MakePolygon(ST_MakeLine(sha)); if line is not closed: ST_MakePolygon(ST_AddPoint(ST_MakeLine(sha), ST_StartPoint(ST_MakeLine(sha)))); turning geom_dump setof into array: gs1 = array(SELECT geom…(Read More)
This is an example of how to create a simple downloader of websites, which are behind login mechanism and further download them – for example…(Read More)
As i talked about ecma2015/es6 with a few people, i’ve realized that many features are still a mystery in the community. One of them is Proxy…(Read More)
This post will be about making pie charts and doughnut chart with html5 canvas and plain javascript/coffeescript. As there are lot of other possible solutions for…(Read More)
Last week I found an interesting blog about replacing grunt/gulp with npm-scripts that inspired me to try this approach. And write a blog about this struggle….(Read More)
In this post I’d like to show you how to visualize traffic situation on a route over various times in a week with HERE routing…(Read More)
There is a lot of services that provide geocoding or reverse geocoding. In this example I would like to show you an easy way how…(Read More)
After reading a few chapters of the Canvassing ebook, I started to think intensively about how to create a basic canvas blackboard and how simply it is.
Even if it is not so common, there are websites, which won’t allow you to enter text and search by it. But you can utilize…(Read More)
How to use html5 canvas to create animation that looks like neural net(part 2) I took a little harder way to start, since I first…(Read More)
How to use html5 canvas to create animation that looks like neural net A few months ago i saw some animation, which you could see…(Read More)
In this short tutorial, I would like to show how to use google spreadsheet as a database for web GIS map.
Sometimes when I want to pull a git repository, I get this error message:
1 |
fatal: object xyz is corrupted |
For example, I want to move element ‘a’ in array [‘a’, ‘b’, ‘c’, ‘d’] two position after its actual position to have something like [‘b’, ‘c’,…(Read More)
This is the second part of my tutorial on building basic html5 canvas game (the firts part is here). Last time, we built some easy…(Read More)
In this post, I would like to shortly describe how to easily create, style and use self-defined control button. L.Control.extend We should start with…(Read More)
In this post, I would like to present you my first attempt to code a javascript game based on canvas. As my experiences with this technology…(Read More)
This is a short snippet for converting number to characters in alphabet. For example, 3 should be D, 7 is H. It should be a…(Read More)
I was searching for possibilities to build “windows-like” div’s without the need of importing jquery UI. I found out, there are still not a lot…(Read More)
Canvg is a js library that parses svg and creates canvas. However I found out, it is also a nice way (and the only I…(Read More)