Is there any way to use a regular expression to filter a string when using CartoCSS expressions? I have geojson of some ways and route relations I obtained using Overpass Turbo. When creating a new vector tile source from this geojson, Mapbox Studio flattens the nested @relations property to a string. I'd like to use one of the relation's tags for labeling, but it appears I'll need a regular expression to extract it from the flattened string. Is this possible, or are only simple expressions supported? If not possible does anyone have suggestions on dealing with relations in CartoCSS (perhaps some imposm pre-processing is necessary but I'd like to avoid it if possible).
Subscribe to:
Post Comments (Atom)
arcpy - Changing output name when exporting data driven pages to JPG?
Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...
-
Does anyone know if it is possible to add hyperlinks to image fields etc. in the pop-up windows of Qgis2web? I've had a look in the laye...
-
Here is what I'd like to achieve in QGIS. Is there a processing tool to remove the overlapping part of polygons? It is also very importa...
-
I am now working with VIIRS/NPP Active Fires by using python gdal. But I cannot read the data inside the files. Filename = "NPP_AVAF_L2...
No comments:
Post a Comment