Tag Archives: script

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

Leave a comment

Filed under gis, tools

Europe Countries – DbPedia+SPARQL+Python

Introduction

DBpedia is a project that aims to extract structured information from Wikipedia. They generate RDF information that can be queried in different ways, one of this is using the SPARQL query language.

In this post I’ll show how to query Dbpedia using a python SPARQL wrapper to obtain all the Wikipedia points of places in Europe. The post explains it step by step, you can fork the code at my github.


..
NOTE from the future:
the original code was Europe.py. The closest actual code would be alldbpediapoints.py
..


Results

The result will look something like this:

DBpedia Europe Points

DBpedia Europe Points

I have time, show me how it’s done

7 Comments

Filed under code, gis, Maps