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
17 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 ...
0
votes
0answers
8 views

Torque.js rendering issue on Safari [closed]

It is as simple as that. Toqrue.js data being rendered properly on Chrome and Firefox. But Safari is NOT rendering it properly it seems like it doesn't position the rendered layer properly. See the ...
-2
votes
1answer
24 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
89 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
18 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
16 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
94 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
30 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
33 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
25 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
11 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
45 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
13 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
42 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
23 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
79 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
40 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
53 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
16 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
47 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
29 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
51 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
27 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
37 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
22 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
41 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
31 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
21 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
40 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
78 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
41 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
64 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
37 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
8 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
30 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
42 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
31 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
48 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
26 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
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
24 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
32 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
77 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
42 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
56 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
32 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
2 3 4 5
29