Category Archives: gis

Color2Attribute for Qgis3.x

Well, it didn’t take that much. I ported the small Qgis plugin to Qgis version 3.x. Luckily the renderer classes did not change, so the biggest thing to do was reorganize the code for PyQt5 and all the Qgis2 to Qgis3 API breaking changes. Just one coffee and a morning was enough :-).

It should be available from the qgis repository itself.

Related

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

Advertisements

Leave a comment

Filed under code, gis

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

Leave a comment

Filed under code, gis, tools

Google earth and WMS

A year ago, my sister gave me an awesome present. A big set of small card-sized photos with a set of the highest mountains of Catalunya. The idea is to write on the back when and with whom I “climbed” that mountain.

Last Easter I was planning which closer hikes could I do during the holidays, so I can start filling each card (feels like gotta climb em’ all). It was difficult to know each mountain location from the cards, I fired Google Earth for Linux and started creating points.

It was very easy with the famous ones, since Google Earth finds them directly (Pedraforca, Pica d’estats, etc..), but more obscure ones are a no-no. So I needed extra support to map them.

Mountain Cards

Mountain Cards

more

4 Comments

Filed under gis, Maps

DBPedia Daily Map

dbpediamaplogo

I am pleased to announce the DBPedia Places map. Since I wrote my master thesis about vague places I wanted to do something like this. The vague-places generator was one of the outputs of such work, but I felt the need to see DBpedia points on a map, changing every day.

The final result can be poked at the dbpediamap.tk, this post is an overview of how this small project works.

As a quick taste, here’s a screenshot showing a dataset presented on the website:

DBpedia viewer USA

DBpedia viewer USA

Explain me a little bit more

1 Comment

Filed under code, gis, Maps

Europe DbPedia 2017

europeflagdbpedia
I was kind of bored while doing some work, and just past week we were discussing with a colleague about my vague-places project.

This project was forgotten in time, but today I’ve blown the dust away, recovered it, and updated the Europe DbPedia map.

Image overview

Most of you won’t be interested in the full story. So here, see a set of results. If something picks your interest (like, why Portugal has almost no points) just keep reading 😀

Keep Reading

1 Comment

Filed under curious, gis, Maps

SLD in HTML and SVG

sld

A standard way to style any OGC layer is using SLD. Styled Layer Descriptors.

The Styled Layer Descriptors are a simple (and standard) way to style your web maps. But when you style you also want to generate a nice legend for it.

I recently found myself with the situation of reworking a website styling code. Instead of writing it from scratch we used existing pieces to cleanly fill our webapp divs with the correct legend.

Let’s style!

1 Comment

Filed under code, gis, Maps