Questions tagged [carto]

CARTO empowers any organization and individual to discover and predict key insights through location data. With CARTO’s intuitive location intelligence platform anyone can build self-service location based apps that help optimize operational performance, strategic investments, and everyday decisions.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Using CSS clip property with CARTO layers in CARTO js (v4)?

Trying to build a very similar application to this one here, this example was built using CARTO js (v3, the old version). With the new CARTO js it will not let me apply the clip property to the style ...
0
votes
0answers
10 views

Formatting widget value to avoid scientific notation

I have visualized a geodataframe using CARTOframes (v1.0b3). The map contains a formula widget that shows the count of the features displayed on the viewport. This is my code: Map(Layer(disagree_lgdf,...
1
vote
0answers
17 views

ogr2ogr: cannot append data to Carto table. Error returned by server : missing data for column “cartodb_id”

I am trying to import data into CARTO using ogr2ogr. I can create new tables, but once I try to append new data to this table, I get an error ogr2ogr \ --config CARTO_API_KEY xxx \ -t_srs "EPSG:...
0
votes
1answer
15 views

Adding different animated widget at same map in cartobuilder

I have 4 layers in Carto and I want to make animated maps for each of them but it seems I can only make one. Is there any way that I can make more than one?
0
votes
1answer
14 views

Carto Torque animation map for polyline

I have a polyline shapefile with time series data. I want to create an animation map using Carto and show the line width based on the value. I used to create an animation map for point data and it ...
1
vote
1answer
43 views

Creating and Analysing sales potential Territories in Carto [closed]

Is there any way to analyse territories and edit territories in Carto? I do not need an algorithm to do it. I would need to aggregate polygons manually in order to create territories, see the results ...
0
votes
0answers
19 views

Using CARTOframes to push to CARTO account

I am using CARTOframes to create and style a map that includes widgets. I'm able to push a Dataset to my Carto account and to publish and update a map, however I can't seem to get that published map ...
0
votes
1answer
24 views

Changing property on Carto VL feature?

I have a map that relates to a table. When the user selects a table row, I would like to highlight the corresponding map feature. This is the only way I found to do it: const siteGeoJSON = ...
0
votes
1answer
28 views

Size Legend for Carto VL

I am trying to construct a legend based on size using Carto VL, and am struggling to implement the solution posed in this Github thread. https://github.com/CartoDB/carto-vl/issues/1260 I built a ...
1
vote
0answers
18 views

How to sync Airship legend component data with CARTO VL legend data

I am trying to sync Airship category legend data as a VueJS component but it looks like the data property is not digesting the values properly: <legend orientation="vertical" data="[object Object],...
1
vote
1answer
29 views

Interactive progress bar in CartoVL

I am creating an animated time series map using Carto VL and have included a progress bar that updates as the animation progresses. The bar updates, but is not interactive — for instance, a viewer ...
1
vote
3answers
67 views

Getting data manually from CARTO.js four dataview?

I have a series of CARTO.js four dataviews, but I want to manually get the data instead of listening to the 'dataChanged' event (when multiple datasets are created, this end in multiple errors). I ...
0
votes
1answer
43 views

WebGL error when switching visualization

I am getting similar WebGL error messages when switching CARTO VL visualizations: [.WebGL-0x59c22054800]RENDER WARNING: there is no texture bound to the unit 0 [.WebGL-0x59c222e5500]RENDER WARNING: ...
1
vote
1answer
33 views

Animation does not work GeoJSON date fields in CARTO VL

In CARTO VL linear function expects a date or numeric field as its first argument. But when the data source is a GeoJSON, date fields are stored as categorical/strings and it returns an error like ...
0
votes
1answer
24 views

Minimum sync time for the CARTO API

I would like to have (almost) real-time synchronization between CARTO and a data source that is connected through an API (excuse any wrong terminology, I am very new to these things). In CARTO ...
0
votes
1answer
16 views

Using features of CARTO Builder to dynamically calculate the average of selected columns

I am trying to find a simple way to calculate the average of selected columns (avg per row) dynamically in CARTO, using only the pre implemented features of CARTO Builder so that it is as user-...
0
votes
0answers
12 views

Creating subLayers using CARTO JS v4.1.8

I created a simple map with multiple layers using the below code. this.cartoSource = new carto.source.SQL(sql); this.layerStyle = new carto.style.CartoCSS(layerStyle); this.layer = new carto.layer....
1
vote
1answer
68 views

What is difference between carto.js and cartoDB?

I am exploring how to use carto.js map in a web application. I had seen couple of samples where carto.JS is used and some of them used cartoDB by including a supporting js file in the document. What ...
0
votes
1answer
49 views

Does CARTO Airship provide a feature for widget attribute editing?

CARTO Builder allows users to edit feature attributes directly from the map building and editing interface. Does Airship offer the same function?
1
vote
1answer
48 views

Using CartodB in Qgis2web?

Is it possible to add Cartodb map in the Qgis2web plugin in Qgis? I tried but I couldn't choose CartodB maps like a basemap
1
vote
1answer
67 views

Mimic in-line GeoJSON using fetch()

For simplicty, referencing this example: https://carto.com/developers/carto-vl/examples/#example-load-external-geojson-layer I would like to have this bit of code behave the same as through it were ...
0
votes
1answer
24 views

What is the DBSCH command being passed to CartoDB's invalidation service?

CartoDB's PostgreSQL extension (cartodb-postgresql) has a function defined here: https://github.com/CartoDB/cartodb-postgresql/blob/2e665a56b4a7dbc3bd8e3d91ac18b52bb932663c/scripts-available/...
0
votes
1answer
33 views

Linking Widgets

I'm new to Carto and would like to display multiple layers of data on the map for the year the user selects from a widget. How would I link the layers so that one click on a year widget will filter ...
1
vote
1answer
36 views

Fixing Histogram selectionChanged from Carto Airship 1.04 to 2.00?

I have spent quite a bit of time playing around with this generous example provided by Jorge Sanz of Carto: https://gist.github.com/jsanz/8025628d669f1d9d0647f658f5511774 One thing I've gotten stuck ...
0
votes
1answer
21 views

How to assign the points that a client of origin passes to a destination with sql of carto?

At the point of destination, can I choose how many kilometers of radius to calculate the points a customer goes through? I know I have to use the function cdb_route_point_to_point. For example, I ...
0
votes
2answers
44 views

How to visualize choropleth with temporal component in browser

I have a vector dataset with monthly water risk data per river basin. The data is available for each month (January - December) and I would like to visualize this in a browser. The geometries are ...
1
vote
0answers
57 views

Animation with time + category interactive filter not working in CARTO VL

I am new to this CARTO VL tool and I am currently facing an issue that I can't fix by reading your Git repos or online help. I have prepared two separate visualizations (one of them has a filter by ...
-1
votes
1answer
20 views

Random IO Error when importing CSV/XLS files into locally installed Carto

The current situation: Carto is installed on a on a cloud VM. Everything is working fine except that the programmatical import using the Import API gives inconsistent results. (I am using the NodeJS ...
0
votes
1answer
23 views

How to get sum of a subset as opposed to the last value? CARTO

When choosing a date subset the displayed value of my application is the lastest value as opposed to the sum on that subset. In the example, 943.974 is the dosage for June 12th. The sum of dosage ...
0
votes
1answer
49 views

How to Handle Proxies within Carto's Python Import API framework

I am attempting to programmatically upload new data sets (tables) to Carto with the Carto Import API Python SDK. Unfortunately, I am doing this behind a proxy which is blocking me from successfully ...
0
votes
0answers
24 views

Carto Maps: Display different points/objects at the same location

I know this question has been asked before, but I could not succeed with the help of the answers that are already out there. Can someone provide me with a detailed description (for dummies that cannot ...
0
votes
1answer
53 views

CARTO VL time steps not working

I am new to CARTO VL and i want to make a simple dashboard with an animation panel as shown in one CARTO VL guide. The problem that i get is that when i try to animate it by the atribute of time of ...
1
vote
1answer
51 views

Auto Style in Carto Airship

There's any native way that I can add an autostyle (to style both layer and category widgets) on Carto Airship/Carto-VL? If the answer is no there's any function that I can use in the code below to ...
1
vote
1answer
47 views

How to know when a widget from CARTO Airship is loaded

I'm getting some information from a server using fetch and using jQuery append to dinamically add the widgets to my page, but I need to know when the widget is done loading, there's any trigger that ...
3
votes
1answer
100 views

Replacing legend item names in Carto VL

I am trying to replace legend item names in a Carto VL map. Using an example from the documentation which describes how to rename the "CARTO_VL_OTHERS" category, I was able to rename one of my legend ...
0
votes
1answer
95 views

Using carto-vl to connect to local installation

I'm trying to use carto-VL on a local instalation via docker. Everything works fine with carto.js v4 and airship, but when i try to use carto-vl it always gives errors and I can't access my datasets, ...
0
votes
1answer
38 views

Enabling ability to change basemap in Carto?

I have a carto web map that I would like to be able to toggle between the Carto basemap and satellite imagery. Similar to how this is easily done in ArcGIS Online with "Basemap Gallery" widget.
0
votes
0answers
26 views

Carto featureClicked in Google Map

I have creating a carto layer in a googlemap using carto.js 4. My layer creation works very well and if I click on a point in my map layer the featureClicked event is executed. But if I create a ...
1
vote
1answer
47 views

CARTO Airship category widget returning NaN values

I am using Airship and carto-vl while working through this tutorial and the values in the widget are coming back as NaN. Here is my code: <!DOCTYPE html> <html> <head> <!-- ...
0
votes
1answer
31 views

Limiting number of selected items in CARTO category widget?

I created a map with several widgets with CARTO but I'd like to limit the number of selected items in a category widget to one. By default you can select all of the items and in my use case that is ...
1
vote
0answers
38 views

Using carto mobile iOS sdk download offline map having satellite map style instead of normal map style

Is there any way to use satellite map style for maps downloaded for offline usage using Carto Mobile SDK?
0
votes
1answer
15 views

Transferring NUTITEQ account to CARTO [closed]

I am using a NUTITEQ API key and now I want to use CARTO mobile in my App. It says the app bundle is already used, but this is via my NUTITEQ account which I think is probably now inactive. Can I ...
0
votes
3answers
131 views

Carto.js and Carto-vl.js not working together

I have worked on a couple of examples in carto's tutorials, and I am trying to put them together now. One example was from the carto.js tutorial and the other from a carto-vl.js tutorial. There is ...
0
votes
1answer
40 views

Can I use external map data with cartojs library? [closed]

I am receiving data from another source apart from cartodb and I would like to use the data for carto maps.
1
vote
0answers
48 views

Importing CSV to Carto from R?

I would like to import a csv file to my Carto account using R. I know the csv has been generated, and I'm able to save it in other locations. Running the code to upload this file to Carto appears to ...
0
votes
1answer
110 views

Zoom to selected feature extent using Carto and Leaflet

I am trying to use the getBounds and setBounds functions to zoom to the extent of a selected polyline feature in Carto. The feature has been selected using an SQL query. I want to zoom to the extent ...
0
votes
1answer
50 views

SQL layer wont ORDER BY in CARTO VL

I have a dataset that shows the borehole yield for fractured aquifers in South Africa. Using the "yield_ls" column, my CARTO VL legend looks like this (notice how the 4th item should be the first). ...
1
vote
2answers
54 views

Updating legend (when active layer is changed) in CARTO VL?

I have made a CARTO VL map that allows the user to update the active layer depending on which groundwater aquifer option is selected. The layers have different Sources, but use the same Viz. For ...
0
votes
1answer
63 views

How to access a table row in CARTO.js histogram dataview

How do I access a certain row in a CARTO source? For instance, I have Chart.js reading the ticketcount column using this: var source = new carto.source.SQL('select * from ticketspercounty_copy'); ...
2
votes
1answer
58 views

Using CARTO in a different language (multilanguage)?

Is it possible to configure CARTO, CARTO Builder, etc to be available in different languages e.g. Spanish, French, Portuguese?