Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
11 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
26 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
32 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
33 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
90 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
58 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
23 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
16 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
25 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
15 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
34 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
14 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
56 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
26 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
41 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
50 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
45 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
35 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
35 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
33 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?
0
votes
1answer
27 views

Trying to Count Number of Points within Specified Distance from Lines using Carto?

There were multiple points stacked on the same coordinates that I did not notice. I am trying to count the number of points within 10km of lines (routes) so the routes can be styled according to the ...
1
vote
1answer
47 views

How to reverse quantile color palette with CARTO VL

Using CARTO VL (which is awesome by the way), I have made the following groundwater harvest potential map that is styled using 10 quantiles. Although the "temps" palette works well, is it possible ...
0
votes
1answer
57 views

CARTO Airship widget default text

I am testing CARTO Airship. I have a query regarding airship widget default text. There are some default text values in all widgets like "There is no data to display" or "NO DATA AVAILABLE". I also ...
0
votes
0answers
30 views

Cartodbfying and using ghost tables in CartoDB Enterprise?

I'm using Carto Enterprise, and I need help on making custom DB tables show up in Carto builder page when you log in. So far I've turned ON the ghost_tables feature like this. /opt/carto/builder-...
0
votes
1answer
29 views

CARTO polygon styles

How do I assign polygon colors in CARTO based on whether it is a positive or negative number? For example, I want the range of negatives to be one color, and the range of positives another, with a ...
0
votes
0answers
39 views

Using both Google Maps and Carto in Android App?

Can I use Google Maps as a background to an Android App and carto for the source of my data? I know is strange that I ask. But I think to use both solutions is better. Google Maps is a very good and ...
0
votes
0answers
22 views

Xamarin Online Routing with Carto Mobile SDK does not work

I’m currently trying to calculate a route with the RoutingService in Xamarin (Mobile SDK). I initialized the CartoOnlineRoutingService like this: _routingService = new CartoOnlineRoutingService("...
0
votes
1answer
39 views

It's possible to lock a data set programmatically through the API in Carto

We are automating the creation of data sets with Carto. Now we would like to be able to lock to avoid unwanted changes in the data. We know that this can be done through the dashboard, but is it ...
1
vote
1answer
72 views

How to run basic setup CARTO VL?

I'm new to HTML and to CARTO VL, hoping to jump right in to make a map with animated lines and points, which combined are unavailable in CARTO Builder. I've tried to run the basic CARTO VL set-up ...
0
votes
1answer
39 views

Editing Legend Text in Carto (“Other”)

I'm working on a map that has nine unique categories and Carto adds an "Other" category to the legend. There is no other data outside of my nine unique categories and I can't get rid of Other label on ...
2
votes
3answers
64 views

How do you create buffers around points based on individual point values in CARTO?

I am very new to CARTO and have very limited coding skills. I have a data set of points representing the centroid of zip codes. Each point has an associated average commute time. It is relatively ...
1
vote
2answers
47 views

CARTO not styling 36 total representatives

I'm extremely new to CARTO and I'm still learning the ropes. I currently have this territory map where the colors represent a representative in a county. However, it isn't shading the 36 total ...
0
votes
1answer
117 views

Leaflet map with jQuery autocomplete: fitBounds (click input) on selection?

I'm trying to fire a click event on my search button and/or the input field as soon as a user selects something from the jQuery autocomplete <li>: https://jsfiddle.net/grh2dLyw/1/ I'm not sure ...
0
votes
1answer
73 views

cartojs 4 and print button [closed]

Is it possible to use the print function of leaflet with cartojs v.4? i'm not able to use all this plugins https://leafletjs.com/plugins.html#printexport The print button works but can i use also ...
2
votes
1answer
49 views

Group multiple lines of data by country

I'm a novice with Carto and GIS generally. I have a data table with a few thousand lines of data. Each row of data has a country and a numerical value. I'm trying to total the value by country ...
0
votes
1answer
30 views

How to use CARTO map visualization in Odyssey.js sandbox

I have a story map in Odyssey's sandbox GUI. I want to use a visualization I have in CARTO as a base map for this map. How can I find my viz key? All the documentation seems to refer to an option that ...
2
votes
1answer
62 views

St_Segmentize on CARTO

I need help with the phrasing of this query. I am applying this in CARTO to a file with lines. The following query does not generate a curve as expected. I am new to SQL/PostGIS. select mycartoid....
1
vote
1answer
95 views

ST_Area yields total area encompased by a polygon. How do I get just the area covered by a polygon?

Here's my dataset: https://aaron-bauman.carto.com/dataset/curbs_1 I want to calculate the area covered by the purple only. ST_Area seems to be yielding all the area within the purple as well because ...
0
votes
1answer
50 views

Setting coordinate system in CARTO Builder map?

I uploaded a polygon layer in EPSG 25830, called 'parcels'. I know that the geometries are reprojected and the dataset has two geometry columns: 'the_geom' in EPSG 4326 'the_geom_webmercator' in ...
0
votes
1answer
23 views

CARTO Mobile SDK.UWP (C#) Get always get current map's south-west MapPos and north-east MapPos

How can I always get the current map's south-west MapPos and north-east MapPos when I zoom in/zoom out the map or drag the map? I want to create a dynamic bounding box for Carto Map.
0
votes
1answer
46 views

SQL and CARTO - Dot Density Visualization

I need help with running a SQL on CARTO. I want to generate a dot density similar to the link here. The second portion of the SQL code deletes the cartodb column and nothing changes on the map. ...
0
votes
2answers
49 views

Adding labels to a Carto VL visualization?

It was possible to add labels to polygon visualizations in Carto.js 3.x via the CartoCSS; is there a way to add them in Carto VL visualizations? From what I can tell, Carto VL doesn't have the ...
0
votes
1answer
61 views

How can I add a customised Carto Map Marker via Carto Map Moblie SDK.UWP?

I'm implementing a Universal Windows Platform (UWP) app, and I m using the Carto Map Mobile SDK (UWP). However, I don't know how to add a .png image as a Map Marker programmatically. Here is my code: ...
0
votes
1answer
313 views

Blocked loading mixed active content error when loading named map as layer in CARTO?

I am unable to get my layers to draw on my Carto map using https. My map is created I can see the basemap, but the layers do not draw. The layers load locally, but they won't when I host the site on ...
1
vote
2answers
41 views

How to delete dataset in Carto?

I uploaded the incorrect file. How do I delete this dataset from my map or account?
0
votes
1answer
25 views

Carto zoom to areas in “link second layer”

I have a Carto map with two layers which I have linked using Carto's "Link Second Layer" analysis. I added a widget which lets me select the name of polygons and through this link, the map returns ...
0
votes
1answer
99 views

Creating Polygons from Points in Carto

Using Carto, I am trying to create shapefiles of regions using points(Link to Dataset in Carto ) with a shared column value to group by. I've included 3 photographs. 1st photograph of the points ...
0
votes
1answer
45 views

Error while rendering Map from CARTO without any code change [closed]

I have suddenly started getting error while rendering US map. This has come without any code changes. We are using CARTO.js. Uncaught TypeError: Cannot read property 'lat' of undefined at d....
0
votes
1answer
41 views

Carto.JS - Pop up closes when mouse hovers out of feature

As per the CARTO docs I am using the following code to trigger a info pop up when the user's mouse hovers over a feature: const popup = L.popup({ closeButton: false }); ecosystem.on(carto.layer....
0
votes
0answers
87 views

How to convert .yml to .mml file?

I want to use this style in my tile server. But I am using Carto for creating mapnik.xml. It says I need to supply a mml file to convert it to mapnik xml. Is there any way that I can convert a yml ...