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
1answer
22 views

Adding featureOver on map for multiple layers using carto.js and leaflet

How can I add featureOver on map for multiple layers(layers added dynamically) using carto.js and leaflet. This functionality have worked only for one layer. Here is my code: layer.on(carto.layer....
0
votes
0answers
11 views

What is wrong with this Path in Carto Map SDK?

I am using Carto Mobile SDK to develop an Android-based Navigation Application (using Java). I have been following the documentation step by step. Right now I am adding a 3D Vector Object on the map. ...
1
vote
1answer
33 views

Drawing a directed line based on dataframe indexes?

I trying to draw a directed graph based on a geopandas dataframe with the Cartoframe library. The Geopandas dataframe has the following structure: deviceId routeLoad longitude latitude ...
-1
votes
0answers
15 views

Carto.js v3.15.19 and Leaflet integration

I was trying to integrate Carto.js v3.15.19 with Leaflet. But it seems that is a conflict. Calling carto.createLayer() throws an error saying "The provided object is not a layer". Is there a specific ...
0
votes
1answer
20 views

Does Carto.js v4.2 support Named Maps?

I was trying to update my carto.js code from v3.15.19 to v4.2. What I recognized that carto.js v4.2 is no longer supports Named Maps. I researched a lot and checking into the documentation made me ...
0
votes
1answer
19 views

CARTO.js changing the styling only on one segment of a line with multiple segments

I'm attempting to change the styling of a line segment when clicked on a layer that has 4 segments. Only one segment's style would be changed at a time. Each segment has it's own column within a CARTO ...
0
votes
1answer
27 views

Join dataset to geography in Carto (Python)

I'm subscribed to two datasets and one geography on Carto Data Observatory. How can I join them to each other using Python? I have converted both datasets and geography into pandas dataframe, then ...
0
votes
1answer
21 views

Carto, Checking the status of a layer calculation using API

I wrote a python script that updates the values in a dataset and then returns a static image of the map it's connected to. The problem is if I download the image too soon after updating the dataset, ...
1
vote
0answers
25 views

CARTO update existing table from external MySQL database

I would like my Carto data to be updated, using external data (MySQL database, I run and manage locally using PHP scripts), so that the Carto table gets updated with the most recent data, whenever the ...
2
votes
0answers
19 views

Carto animation only showing data points in 1 min intervals

I'm trying to animate location data points, and instead of showing each point at its correct time, Carto seems to show a group of points every 1 minute (1 minute in the visualization, not real life). ...
1
vote
2answers
27 views

Many to one join in Carto

I have two datasets: A point shapefile of companies (each row/record is a unique company) A list of awards given to those companies (each row is a unique award, but since companies can win multiple ...
-2
votes
1answer
26 views

Draw trails/paths in CARTO

I'd like to overlay a trail or path on the map. I have the gpx set of points and I'd like to draw a path on the map.
0
votes
0answers
17 views

Is there any support for offline maps in Carto?

I have an application that is totally offline. I need maps to support it. Users get a map bundled in the app. Has Carto got an SDK that supports say mbtiles or simulator formats?
1
vote
2answers
33 views

Finding format of data source used in official Carto example

I'm trying to apply my own data to this example, but I'm not sure what format the original data was in. I've checked through Carto's stock datasets in the web dashboard, but I can't find it. Is ...
0
votes
1answer
50 views

How to use Facebook (GeoTIFF) maps on Carto?

My intuition is that the maps that Facebook generated for most countries are most useful on interactive maps like Carto's, as the killer feature is the resolution for which you'd need to zoom in. ...
1
vote
0answers
34 views

Using Carto's “Static Maps” API from Python

I want to download a static image of a map to my local PC via a Python script. I'm using carto-print: carto-print I have tried this method: from xlwings import Book, Range from carto.auth import ...
0
votes
1answer
21 views

How can I list all of the sites on my CARTO map on the side of the map for easy access?

I have created a map in CARTO that I would like to have all of the different sites in a list on the side of the map (similar to what the current widget does, but with more than 5 sites, and ideally ...
0
votes
3answers
57 views

.carto file extension is not allowed in CARTO

I want to import a .carto file but I get the following error message: unfortunately this file extension is not allowed. I didn't make this file. Do you know if there is any tool that would help me ...
0
votes
0answers
36 views

Overwrite dataset in Carto using Curl

I have a large number of datasets on Carto (>100). Some of them have geometric errors. Hence, I would like to download all of them using a script (perhaps curl), fix the geometry locally, then re-...
0
votes
0answers
5 views

Handling clicking on Hyperlink which is inside an InfoWindowTemplate which is filled using Mustache Template

A little bit tricky question. I have a CartoDb Map, with lots of features with data filled using Mustache Template. Features data contains HyperLinks. Clicking on Hyperlinks opens a new tab and this ...
1
vote
1answer
25 views

TurboCARTO ramps do not work with CartoCSS user conditional filters

If you want to define manual class breaks with the ramp() function it seems you're out of luck; as far as I can tell this is not working as intended. For example, here I try to supply different colors ...
0
votes
1answer
35 views

List all columns of a dataset?

Using CARTO VL. Having a dataset, is there a way to fetch all columns this dataset has before I create the viz object so I can programmatically decide which variables to add to the viz? Something ...
1
vote
1answer
23 views

Is it possible to load a visualization created in the Carto Builder using Carto VL?

When using CARTO VL to load data from my Carto account I'm able to add Datasets to the map and interact with it. Is there any way to add the whole map built in the Carto builder to a map? With all ...
1
vote
0answers
45 views

Carto trying to set syncing with a PostGIS database connection

I'm trying to set up a syncing connection between Carto and a PostGIS Table. However, I'm not seeing updates in Carto, and the table does not show up in my list of syncs when I make a Get request. ...
0
votes
0answers
20 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
20 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
21 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
24 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
49 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
1answer
64 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
31 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
44 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
24 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
39 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
97 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
46 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
38 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
26 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
25 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
16 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
82 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
59 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
52 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
75 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
27 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
34 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
41 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 ...
1
vote
1answer
25 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
67 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
100 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 2 3 4 5 29