Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

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

Help with access with the gmail account [on hold]

I am teaching with an online course based on CARTO, but one of my students can not register using his gmail, the error message is as follows: We could not find a user associated with that account. Can ...
0
votes
0answers
17 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
2answers
36 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 ...
1
vote
1answer
29 views

In CartoDB, can columns (e.g. ARPU2011) have descriptions (e.g. Average Revenue Per User 2011)

I have an in-house database with spatial data (Postgres + PostGIS) for which I'm generating an extract (GeoJSON/KML etc) in order to load it into CartoDB. My column names are technical (e.g. ARPU2011,...
0
votes
1answer
41 views

Seeking tutorial on Time Slider in Carto?

I want to add a time slider to a map. It looks as if I have to do that via CartoCSS but I really don't know where to start. Unfortunately, I don't understand what all the other posts regarding this ...
0
votes
1answer
39 views

How to let the right toolbar of CartoDB show out?

How to let the right toolbar of CartoDB show out? My page window is different from that in the guiding video.
2
votes
2answers
6k views

Loop over features of a GeoJSON object from CartoDB

I have just little knowledge about HTML and JavaScript. Nevertheless I was playing, copying and pasting around with Leaflet and CartoDB. I want to display the features GeoJson in a table. This is ...
0
votes
1answer
21 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
1answer
48 views

Editing the description in the dashboard view of a Carto map once the map has been published?

It appears that once you write a description in the dashboard view of a Carto map (where it says "Add description...") the text is un-editable. Is there a way to edit the text? The map on the left ...
0
votes
0answers
26 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
18 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
99 views

React / CARTO Enabling interactions

I have a React JS component that adds a Layer to the Basemap: componentDidMount() { const { client } = this.props; // Craete source, styles and layer with the given props const ...
1
vote
1answer
60 views

Torque.js is not working: L.TorqueLayer is not a constructor

I've been trying to create a carto map with a torque layer as indicated in the Torque.js documentation, but I keep getting the same error: Uncaught TypeError: L.TorqueLayer is not a constructor &...
0
votes
1answer
64 views

CartoDB - Non-animated heatmap, but won't let me layer under

I have a simple heatmap layer that is not animated. I want to move a choropleth layer above that heatmap layer, but Carto will not let me, as it thinks my Heatmap layer is animated. Is there any way ...
1
vote
1answer
203 views

carto giving error: TypeError: Cannot read property 'hasOwnProperty' of undefined

I have a new ubuntu 17.10 server that Im building an Open Streetmap Server on. I installed carto and am now getting this error: osm@atlantageek-System-Product-Name:~/openstreetmap-carto-2.41.0$ ...
2
votes
1answer
65 views

Can a Carto web map auto-pan to follow point animation?

Setting up an animated map in Carto Builder that follows a point across the Pacific. In order to see local route details the map must be scaled in, but then not all of the route is visible at once. ...
0
votes
1answer
104 views

How do I append three columns from a table to my active table?

I am trying to append three columns from srs2016 to srs2013_1 using this sql. INSERT INTO srs2013_1 (the_geom, agency_responsible, description) SELECT the_geom, agency_responsible, ...
2
votes
1answer
205 views

Adding Facebook and Twitter sharing to CartoDB infowindows?

Trying to add share buttons to output something like: {{region}} text {{region_variable}} text www.google.com The below works very intermittently for Twitter, but when I share the URL, the map won't ...
1
vote
0answers
514 views

Using z-index with infowindow and CartoDB CSS? [closed]

I currently have a map where my map div covers 60% of the page and 40% is a fixed Infowindow. My problem happens with cartodb css and its z-index of div.cartodb-infowindow. Currently my information ...
0
votes
1answer
109 views

CartoDB API to make a table public after an import?

I am currently using the import API to import my layer data into CartoDB from another application. My question is whether there is a way to make this table PUBLIC using an API instead of the UI?
1
vote
1answer
72 views

Custom basemap not showing surroundings in CartoDB

I have entered the following png into the XYZ URL for the Carto custom map but it is not working (for either my link below or their example link). I keep getting my custom map, which I rectified on ...
0
votes
2answers
175 views

Odbc_fdw.control is missing

I am using cartoDB and Postgres 9.3 including PostGIS. When I try to create development user in cartoDB I get this error: 'CREATE EXTENSION IF NOT EXISTS odbc_fdw SCHEMA public;' ERROR: could not ...
0
votes
1answer
36 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 ...
2
votes
1answer
190 views

Creating custom legend to map to custom css torque heatmap

I'm hoping someone can help me with html to create a legend that maps to a custom heatmap I made using the style CSS. When I try using the default legend, it neither maps to the right custom colors, ...
0
votes
1answer
51 views

Can legends be exported as image in CARTO BUILDER?

How to add a legend when exporting a BUILDER map as jpg/png image?
1
vote
1answer
117 views

How to fill polygons with patterns in Carto using polygon-pattern-file?

I'm trying to create a layer in Carto with three categories of transparent hatching of different colors. I understand how to use the polygon-pattern-file Carto CSS style but am wondering where I can ...
1
vote
1answer
510 views

Using CartoDB to detect user location and put dot on map? [closed]

I have a CartoDB question. We have a project we are piloting in Rio das Pedras, Brazil, a favela near Rio. We have sampling points, working on adding Fulcrum photo uploads and some pretty bad road ...
1
vote
1answer
53 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
47 views

data dots shift when using cartodb.js

As you can see this is a tutorial example map. It works strangely on my own website. The Florida location is now shifting down a little bit. In fact, all of the dots shift down a little bit. How do ...
0
votes
1answer
31 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 ...
0
votes
0answers
12 views

Changing url of cartodb call in Torque.js?

I am trying to change base url of L.TorqueLayer method call. I want to add my db which is hosted on AWS instead of the default one with the {user}.cartodb.com/api... Also I cannot find options which ...
1
vote
2answers
42 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 ...
2
votes
3answers
39 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 ...
2
votes
1answer
780 views

Is there a way to access the 'data' from the cartodb.createLayer function?

Can I access the data portion of the SQL queries used in the cartodb.createLayer function without the use of special event handlers? I am making a choropleth map, and categorizing the data with Jenks ...
1
vote
1answer
398 views

Displaying json into table using Carto?

I am new to cartodb and i don't understand how to populate a bootstrap table with my json data retreived using sql.execute: sql.execute("SELECT sonde.the_geom,sonde.nom,sonde_data.time,sonde_data.cod,...
1
vote
3answers
246 views

Turning off hover feature in CartoDB?

Is it possible to turn off the 'hover' feature in CartoDB? I have toggled off all the fields from the 'hover' menu, which in the visualization wizard shows as being 'off', but when I visit the ...
0
votes
1answer
72 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 ...
2
votes
1answer
59 views

CARTO.Geometry field in polygons [closed]

I want to know how to import a layer of polygons that I have exported from a database in postgis to txt format to my dataset. I have used the ST_GeomFromText function but it does not identify the ...
3
votes
1answer
60 views

Why is shapefile non recognised in the dataset?

Do CartoDB datasets accept .shp files for the geometry? I should use them to build a map but I can't do it. Can you help me?
2
votes
1answer
47 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
42 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 ...
0
votes
1answer
16 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 ...
0
votes
1answer
39 views

Reprojection not generating tiles properly

I am executing this query with cartodb.js. I am moving the markers randomly to generate a new layer. cartodb.createLayer(map, { user_name: 'mickemr', type: 'cartodb', sublayers: [{...
6
votes
3answers
2k views

Seeking xyz basemap catalog? [closed]

I've been using cartodb odyssey.js for a couple of months and the https://khms1.googleapis.com/kh?v=152&hl=es-ES&x={x}&y={y}&z={z} XYZ basemap has sufficed so far. However, I'm working ...
0
votes
1answer
43 views

Torque.js error creating layertorque: Missing closing ] of filter

I've been trying to create a cartodb map with a torque layer as indicated in the Torque.js documentation, but I keep getting the same error: cartodb.js:14 MAP: error creating layertorque Error: :...
2
votes
2answers
114 views

What is the gdrive callback url for a self hosted cartodb installation?

I have a custom install of cartodb running on my own server. I need to integrate Google Drive with it. I have set up an application on the Google Developers Console, but do not know what to insert ...
9
votes
1answer
2k views

CartoDB opensource vs paid one?

What's the difference between open source CartoDB version vs the paid one? this one the open source: https://github.com/CartoDB/cartodb and this one the "paid" version: https://carto.com/ i don't ...
2
votes
1answer
52 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
231 views

Convert ETRS89 points to CARTO Lat Long

I'm new in Geographic Information Systems and programming. I have some points referencing Barcelona, Spain. These points are comming from City Hall's opendata site. They say they are in ETRS89 ...
1
vote
1answer
66 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 ...