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
-1
votes
1answer
20 views

Maps with Cartoframes outside jupyter [closed]

I use Pycharm as IDE for python. I can not see the visualization of carto within pycharm. This is a problem of configuration or literally to see the maps I MUST use jupyter as IDE?
1
vote
1answer
24 views

Zoomable world map with small countries highlighted

I'd like to create a zoomable world map where countries/territories are color-coded. This is a pretty standard request and Carto has a nice example. However, in standard maps like this, small ...
0
votes
1answer
30 views

Iterate through date columns in CARTO (frames, VL, etc.)

I currently have a data file that has columns for each day over an 8-month period. I am seeking of a way to create an interactive CARTO map that displays the change over time. I want to know if there ...
0
votes
1answer
13 views

Search Function Carto VL

I'm new to Carto VL and html, and could use some help. I'm currently building a map using Carto VL and want to implement a search feature that allows users to type in a location and have the map zoom ...
0
votes
1answer
19 views

How to create an interactive based filter (checkboxes) with multiple layers using Carto VL

I'm relatively new to coding, and have been developing a map using Carto VL and Mapbox. I've found a way to create a filter within a map where users can turn off and on different categories within ...
0
votes
1answer
38 views

Updating map after zoom change

I'm building a map that uses a conditional statement to determine what data to load based on the zoom level. However, the conditional statement is only fired when the map first loads, as opposed to ...
0
votes
1answer
21 views

Displaying currency format in CARTO Builder scorecard widget

I am creating a map in CARTO Builder and I would like to have a scorecard widget showing the average income across all points on the map. In the scorecard, I want the average to be displayed with ...
0
votes
1answer
25 views

Carto Bubble-legend class

I'm trying to Add a Bubble legend with Carto VL to my map but the Bubbles are rather showing as a block and not bubble. Is the "Bubble-legend" class deprecated or should I style it myself ...
-2
votes
1answer
30 views

Interactive filtering histogram widget with cartoJS

I would like an interactive filtering histogram widget like this one https://public.carto.com/builder/0c982e6d-b254-4e2b-86ed-e0f097f519c2/embed (the population density histogram widgets on right ...
1
vote
1answer
105 views

How does Carto make it possible to interact with elements on their tiles? Can I do the same with Leaflet?

I was looking at this Carto Map. You can click on a building and it shows some extra information about it. Then I noticed that these buildings weren't added as individual polygons or something like ...
0
votes
1answer
28 views

Regenerate an isochrone through a widget in CARTOframes

Is there a way to re-generate an isochrone in a CARTOframes map from some kind of user interaction? For example, modify the minute's value: isochrones_gdf, _ = Isolines().isochrones(stadiums_df, [15*...
0
votes
0answers
18 views

Connect Dropbox on Cartodb instance

I have edited the app_config.yml dropbox: app_key: 'myappkey' app_secret: 'myappsecret' callback_url: 'https://urlofmyinstance/user/admin/api/v1/imports/service/...
6
votes
1answer
109 views

How to produce opposite semicircle maps in CARTO or QGIS?

I need to produce a map of opposite semicircles or concentric circles to represent two numerical columns on the same map simultaneously. I have already tried to create a layer for each column's data ...
1
vote
1answer
33 views

Carto: Can I use some “if/then/else” structure in popup custom HTML?

I believe I am asking a question similar to this question that was asked a few years ago about popup functionality in the old CartoDB. I just tried my best to replicate the solution to that question ...
0
votes
1answer
34 views

Populate field with drive time values during isochrone creation in Carto

I'm creating isolines (isochrones) in Carto to show 15, 30, 45, and 60 minute drive times from a set of points in a shapefile. Here is the SQL I've written to create those isochrones in an empty table....
0
votes
1answer
26 views

Is it possible to share CARTO datasets with password?

It's my understanding that only CARTO maps can be password-protected, not datasets. I'm currently using the datasets like so: const source = new carto.source.Dataset(dataset); const style = new carto....
0
votes
1answer
13 views

Access feature data for all features in a NamedMap

For any Cartodb NamedMap, we load it using this function: cartodb.createLayer(map, namedLayerSource, {https: true}) .addTo(map) .done(function (layer) { }); After that I need to ...
0
votes
1answer
49 views

How to Use ST_MakeLine query in leaflet to connect to Carto

I want to run in leaflet a query that works in carto Builder to connect points in a line: SELECT ST_MakeLine(the_geom_webmercator) as the_geom_webmercator, min(cartodb_id) as cartodb_id FROM my_table ...
0
votes
1answer
18 views

Trouble working with a .TSV containing WKT

I'm working with a .TSV file that represents district boundaries in a portion of a country in Carto. The polygon data is represented in a string column of Well-Known Text lat/long vertices, which I'm ...
1
vote
0answers
44 views

How to obtain a live route on a carto map? [duplicate]

My main goal is to build an app that send lat lon from my smartphone to my carto (postgis) database and show the route "live" (in real time) as a line and not as a lot of points. i am able to save ...
0
votes
1answer
28 views

How do I delete data older than 7 days in CartoDB? [closed]

I'm trying to delete data that's older than 7 days. I'm not sure how, though (no SQL experience). Everything I've tried to Google doesn't work. The dates are formatted like "20200426" if that makes ...
0
votes
0answers
21 views

How to add a missing font in CARTO?

If i try to change the default font Dejavu Sans Book font in Layers label i recieve (for example changing in Lato Regular Invalid value for text-face-name, the type font is expected. Lato Regular (...
2
votes
1answer
93 views

What is the difference between the the_geom and the_geom_webmercator in CARTO?

I'm trying to use CARTO for a school project and so I've just been trying to get the hang of the basics of using it and Postgis at the same time. I've read their docs about the difference between ...
0
votes
1answer
54 views

CARTOframe Map doesn't show up

I'm new in Carto. I have been trying to figure out how Maps are used, I tried this code that is in the web; however the map is never displayed. from cartoframes.auth import set_default_credentials, ...
0
votes
1answer
59 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
17 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
51 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 ...
0
votes
1answer
30 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
20 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 ...
-1
votes
2answers
53 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 ...
1
vote
1answer
30 views

Checking status of 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
40 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
23 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
43 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
32 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
22 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
42 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
95 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
46 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
26 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
65 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
38 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
9 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
32 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
47 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
35 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
49 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. ...
1
vote
0answers
24 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
29 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
34 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
2 3 4 5
29