Tag Archives: qgis

Color2attribute in QGIS Plugin servers

Something like 7 years ago I created a very small plugin for Qgis (V1.x and V2.x later on).

This plugin was available via my github on a clone and copy fashion.

Yesterday I stopped being lazy and fixed that, The plugin is now available directly from the QGis plugin servers. And can be installed from Qgis itself.

Although I’m late as always since It does not work on 3.x versions.. oh well (look at this changelist!).

QGIS Color to Layer

Related

Original Post
2.X update
Plugin at the Qgis plugin website
Plugin source

Advertisement

Leave a comment

Filed under code, gis, tools

Color to attribute. Qgis 2.X

qgis-logo-plugincolor

In 2012 I created a small plugin for Qgis1.x. It allowed you to modify a vector layer, creating a new column to hold the color of the features. This proved useful for me at the time. I could use Qgis to decide the color palettes and then export to wherever I wanted.

Come 2013, a new version of Qgis appeared, and the plugin broke. I wasn’t using it at the time and I didn’t realize it. But someone did, and kindly pointed me to the problem. I don’t have as much free time as I used to. However as my grandma used to say “better later than never”, here we have the plugin to work with the 2.x series!.

You can get it from my github. The master branch has the original code, and there is a new qgis2.0 branch with the new revamped plugin.

Salut!

2 Comments

Filed under 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

Qgis – Color to layer attribute


Recently I was working with some data layers in QuantumGIS, playing to decide the proper color combination for my visualization. The result had to be presented in a web environment using OpenLayers.

The point is. I define and check the visualization in Qgis, and then I want to export the results to be served as a OpenLayers Vectorlayer, or as a Mapserver layer. Of course, with the color defined in Qgis.

Openlayers and Mapserver give the option to read the color from an attribute value (here and here). Maybe there is an easier way, but in this case I developed a small plugin to export the current visualized color into a specific layer attribute.

Screenshots

humm… more

3 Comments

Filed under code, curious, gis, Maps, 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

Shackleton – Imperial Trans-Antarctic Expedition Map

Recently I’ve been reading Endurance: Shackleton’s Incredible Voyage. On the whole book they describe its current position, movement, etc.. but it’s difficult for me to understand certain positions on the poles. Also, the history is so astonishing that it deserved a cool map.

There are some maps of the Imperial Trans-Antartcic Expedition: http://www.kodak.com, http://www.wgbh.org, coolAntarctica, and a long etcetera. But I wanted to play a little bit.

Results

Online Map:
Nice view of Shackleton Imperial Trans-Antartcic expedition. Information of each point and also photos.

Interactive Shackleton Map at MapBox

That’s interesting, show me how

6 Comments

Filed under Maps