Tag Archives: python

Retrieve KML links

kmlhell

On my previous post I worked with a kml that was splitted in various networked kmz files. This was particularly annoying given that I had to track the files in my computer.

I am ashamed, this should have been automatized! And since a friend prepared a nice script for it, here it is.

get my kmls

Advertisements

Leave a comment

Filed under gis, tools

Getting information from IPs

earth

Posts come very slowly, but here’s another one.

This post won’t be useful for most people :-(. You know when you use google analytics and get that fantastic map showing where people connect from? Read this, and you will learn how to do it yourself.

Tell me how

Leave a comment

Filed under code, curious, gis, Maps

Numpy in C

C + numpy

When I was temporary working at my former university UPC (Universitat politècnica de Catalunya) in the TALP department (Center for Language and Speech Technologies and Applications), I found myself in the following situation:
My employers had a lot of python code creating matrices and stuff saved to .npy (numpy files) but wanted to speed up their processes.

I thought about loading those files in existing C code, to effectively use the GPU with OpenGL/CUDA. And once everyone was convinced, I spent some time developing a small library to do so, in the following post you will find an explanation of the numpy format and the code for the C library.

really? continue please

4 Comments

Filed under code, tools

Rpi Weather LED

Raspberry-Pi-logo

In this post I will describe how to use a raspberry pi to give feedback according to specific daily weather. And yes, feedback just means LEDs 🙂

continue

Leave a comment

Filed under code, electronic

Convex Hull, one algorithm implementation

chull
I talked about convex hulls some time ago in an alpha shape post.

The convex hull is probably one of the most basic computational geometry algorithms, and because of that it is present in almost, if not all, geometry/cad/gis libraries and software packages. In this post you will find an explanation of one of the existing algorithms to compute it, an implementation with C++, plus a set of scripts to generate various point clouds and the corresponding hulls.

Objective

  • Describe one of the possible convex hull algorithms
  • Implement the algorithm in C++
  • Provide various scripts to generate random point clouds and compute its convex hulls

I won’t lie to you, this post might be boooring ;-).

continue to this long post

3 Comments

Filed under code, gis

DBPedia World

Following my DBpedia Europe Countries post… DBpedia World! Bigger and lovely!.

Maps

Click for full zoomed version!

DBpedia 3.7 World points

DBpedia Live World Points as of july 2012

As always. Everything explained in the post

Leave a comment

Filed under code, gis, Maps