Quantcast
Channel: OpenGeofiction diary entries
Viewing all articles
Browse latest Browse all 2382

Issues with Wiki automated tables

$
0
0

Hello dear mappers,

I have started to move the embassies in Guai from their current ungrouped relations type to a set of nodes grouped in a dedicated relation. The purpose is, of course, to manage them more easily in JOSM but also in the corresponding Wiki article.

I started with using Mstr's automated tables but switch to using a regular #get_web_data so that I can concatenate values from "addr:street" & "addr:housenumber" in one single column and displayed "name:en" below the original "name". On this table, I'm facing two issues:

  • The table is not necessarily updated when new members are added to the relation. It does not even display the same results when I'm logged in and when I'm not. I've added #clear_external_data but it doesn't seem enough.

  • I cannot "Order by" country the table so that the result is displayed by node @id by default (e.g. Broceliande Embassy and Cultural Centre are shown separately). Apparently, data should be sorted before being uploaded on the table. For xml file, it appears you need to code in xPath which doesn't contain "order by" operator but a function expression.addSort. My coding knowledge having reached its limits, does anyone know how this could be embedded in the query?

I thank you a lot if someone's got some clue on how to fix these two issues.

Aiki


Viewing all articles
Browse latest Browse all 2382

Trending Articles