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.

3
votes
0answers
96 views

CartoDB.js/Leaflet map - how can I click between multipolygons cleanly?

Here's my map: https://jsfiddle.net/Sidders/4exf969e/3/ I want to apply a click and hover effect to the polygons. So a polygon/multipolygon highlights on hover, and is selected with one click. The ...
3
votes
0answers
143 views

Remove Legend from CartoDB Layer

I am trying to remove the legend associated with the current CartoDB generated map and replace it with a legend from a map generated when the user selects a radio button. My code is as follows: ...
3
votes
0answers
145 views

Why aren't the info windows showing up on my cartodb layers?

I made a cartodb map with 2 layers. The layers draw from the same table but I use filters to display some of the data in one layer and some of the data in another. Without the layers my info windows ...
2
votes
0answers
220 views

CARTO weighted heatmap with variable range per point

I'm trying to do a Heatmap with carto but seems that torque considers each point equal in covered range but my data consists in values from antennas that cover different ranges (and i need that ...
2
votes
0answers
40 views

-torque-resolution equivalent for static CartoDB maps

I'm trying to create a Torque map with tooltips. I couldn't see a way to create tooltips on Torque layers, so as a workaround I've created a separate static layer than can be toggled. Toggling this ...
2
votes
0answers
173 views

How to get road labels on Stamen Watercolor basemap in Cartodb

basic question here. I want to use the Stamen Watercolor basemap on CartoDB, but want the road and locality labels displayed on it, as at http://openlayers.org/en/latest/examples/stamen.html?q=...
2
votes
0answers
49 views

CartoDB geom (coordinates) join: without exact match

Trying to join two datasets (layers) on CartoDB based on their geographical fields (in CartoDB's the_geom created field). However, the basic ST_Intersection function does not work since its tolerance ...
2
votes
0answers
100 views

How to display join query results on a sublayer in CartoDB.js application?

I'm working with my first CartoDB.js application. I created a visualization on the app using cartodb.createVis('map', visjson_url, opts); The app has two layers, base map and data layer. the data ...
2
votes
0answers
74 views

Adding scripts within CartoDB infowindow?

i am trying to implement a simple "zoom to this point" link within a CartoDB infowindow. To do this i figure i need: To be able to place a script within an infowindow (mustache) template, so that the ...
2
votes
0answers
87 views

Can I add sounds to cartoDB map?

I want to create an interactive map that includes sound snippets. Can I do that in CartoDB? If not, any recommendations on how I can make that happen?
2
votes
0answers
104 views

Diagnosis page Error:Trying to visualize a point data using createviz in cartodb.js

I had setup the cartodb locally in my machine following this tutorial https://github.com/danseely/cartodb-install/blob/master/DEV-INSTALLATION.md Everything is installed perfectly: I can visualize a ...
2
votes
0answers
81 views

How to clean the postgres instance while setting cartoDB locally in ubuntu

I am following https://github.com/danseely/cartodb-install/blob/master/DEV-INSTALLATION.md for setting cartoDB locally in ubuntu12.04. While installing cartoDB-postgresql, the second install check ...
2
votes
0answers
384 views

Calculating distance between points in two tables and including name of second point in infowindow in Carto?

I am plotting community gardens in CartoDB and want to show the nearest subway entrance in the infowindow. I have two tables with the location of the gardens and the subway stations. I am able to get ...
2
votes
0answers
164 views

CartoDB named maps and events / infoWindows

I've created the named map, it's working well and I'm able to query it with setParameter() method and use some basic methods like setOpacity() and show/hide but I haven't succeeded to use any of the ...
2
votes
0answers
120 views

Use a field other than the category field to set marker-width in CartoDB's Torque Category

I have rabies data that contains a date, animal type and county. The centroid of the county polygon was used to generate a geometric point, the date used for Torque's Time Column, and the animal type ...
2
votes
0answers
2k views

Combining Feature Selection and Marker Clustering

I am using the basic structure for layer toggling found in this CartoDB tutorial, with buttons wired to a ul navigation menu. In the meantime, I was happy to implement the Marker Cluster Leaflet ...
2
votes
0answers
685 views

Why aren't my CartoDB map layers loading?

We have built our own instance of CartoDB on our servers, setup production environtment successfully. We can upload shape files, table and map view works great. When we trying to create ...
1
vote
0answers
24 views

Carto PackageManager return null on Xamarin.iOS

I have such problem: On Xamarin.IOS Package Manager returns null after invoking GetLocalPackage(packageId) in several places of the application; What do I know about the issue: 1) This happens ...
1
vote
0answers
32 views

How to get the data on screen after movened event is triggered

I am displaying 100 cities on the map. After zoom or move the map, only e.g. 9 items are displaying on the current screen. So how can I get these data from my dataset? Especially the object id? ...
1
vote
0answers
64 views

Map is not showing in Carto

I've created a map in Carto.com with two layers and two widgets. In the builder everything looks fine but somehow this map is not showing anything after I published the map. Find a link: https://wash-...
1
vote
0answers
172 views

CARTO: centered icons instead coloured countries

In CARTO I'm making a tourists per country map Instead of colouring countries, I'd like to put a centered Bagpack icon in the middle of every country, of size depending on the amount of tourists. ...
1
vote
0answers
220 views

How to show a carto map in an ionic 2 app?

Has anyone shown a carto map in an ionic 2 app? When I used ionic 1 there was no problem, because it is angular js and I could add the library in the index.html: <link rel="stylesheet" href="http:/...
1
vote
0answers
124 views

Carto - problem with data import in carto format

I want to do some CARTO guides (https://carto.com/learn/guides) but I can't import the data. It is already a carto format and it doesn't work when I try to drag&drop the file. Any ideas?
1
vote
0answers
102 views

How to specify geometry field in Carto Import API?

I'm trying to import a CSV file into Carto via the Import API. The file looks like: id,name,shape 1,"Test","POINT ( 2673560.14000273 209469.89266413)" I wrote a Python script to upload this test ...
1
vote
0answers
102 views

Why won't my street addresses georeference?

I've been using Carto for about a month or two now and it had been working perfectly, however it suddenly malfunctioned today. I updated my excel document (nothing changed except the number of rows), ...
1
vote
0answers
94 views

Cannot access CartoDB with OGR

I'm having issues using OGR to interact with tables on my CartoDB account. Initially I was trying to upload data using ogr2ogr: ogr2ogr --config CARTODB_API_KEY abcdefghi -t_srs EPSG:4326 -f CartoDB ...
1
vote
0answers
168 views

CartoDB - Deleting datasets via API

We're running our own CartoDB stack and all is working well, but in writing an API testing script, that creates and subsequently deletes a dataset, we've discovered we're not sure how to ...
1
vote
0answers
64 views

Encoding error 2006 from Carto?

When I want to upload a .zip-file of an ESRI-shapefile, I always get the encoding error 2006. When I got this error the first time, I encoded the shapefile to UTF-8 in QGIS. Furthermore I uploaded the ...
1
vote
0answers
127 views

Georeference a dataset in Carto with imported data

I have a number of datasets (in CSV format) that I would like to upload into Carto - the issue is that the dataset with the postal code/georeference data is separate. I would like to upload my data ...
1
vote
0answers
210 views

Georeferencing postcodes into bubble map with Cartodb

I have recently discovered Cartodb and I am trying to create a bubble/thematic map of postcodes. I have a csv document with one column of postcodes from around the UK. I have uploaded the dataset and ...
1
vote
0answers
67 views

How to attach timestamp to single track (not points) in GPX file

I'm trying to build a Torque visualization with CartoDB based on a GPX file I received from a third-party. Unfortunately, it doesn't seem to be formatted quite right as the trkpts don't have ...
1
vote
0answers
415 views

Creating Legends in CartoDB?

I'm trying to add a legend to a simple choropleth map using the ui for custom legends. But I'm not sure where to put it in my code, if it should be within the createLayer function, or outside of it, ...
1
vote
0answers
48 views

How to Change CartoDB Torque Cat Map Slider Range

Map slider range includes 83 month/years (2017, 2018, and 2019 are not there) but actual data only has 57 month/years see: https://sildeag.cartodb.com/viz/1e7ee1c6-0cbc-11e6-9822-0e787de82d45/map Is ...
1
vote
0answers
166 views

How can I strip spaces from a moustache template field in CartoDB infowindow?

I have a custom infoWindow on a cartodb.js map which uses moustache templates to populate the fields in the infoWindow. In it I have a link to tweet a correction to the map which I populate with the ...
1
vote
0answers
133 views

Can cartodb be used with Drupal?

I've found there's integration of DKAN into cartodb http://www.nucivic.com/publish-beautiful-maps-cartodb-dkan/ but does it really allow to setup a separate webpage with a cartodb map?
1
vote
0answers
241 views

PostGIS query: filter rows by area?

I am working with PostGIS (in CartoDB). I want to find all rows in the database with an area of over 100 square metres. I've been trying this: SELECT *, ST_AREA(the_geom::geography) AS area ...
1
vote
0answers
52 views

How to know where views are being generated from in CartoDB?

I see in my dashboard that I can hover over a map and see how much it is being viewed. Many services, like mapbox and even youtube show you where your views are being generated from or perhaps it just ...
1
vote
0answers
125 views

First click layer selector doesn't work in CartoDB?

I'm working on an interactive map using CartoDB built of Leaflet.js. I added a layer selector which works fine after the first click. The first click just doesn't work, if I click the selected layer (...
1
vote
0answers
170 views

how to add timeline controls to cartodb torque heatmap

I figured out how to add multiple torque heatmap layers to a map using cartodb.js but I can't figure out how to add a timeline control. I know it's probably something than can be done with one line ...
1
vote
0answers
42 views

How do I render the most recent objects on top in a “cumulative” CartoDB Torque animation?

I am attempting to create a Torque animation through the CartoDB Editor. I would like to show the cumulative state of the data as the animation progresses. In some areas, the data is very dense (...
1
vote
0answers
68 views

CartoDB: Center and zoom to stacked layer items/clusters with setView?

Is there any way to setView on a location with several layer items on top of each other? Mapbox example: http://www.zeit.de/zeit-magazin/2015/16/regional-einkaufen-deutschlandkarte Google Maps ...
1
vote
0answers
96 views

ESRI/SRID mismatch: How to correct?

I'm currently working with PostgreSQL and CartoDB to display X and Y coordinates converted to a geom. My shp files have been created and are displayed through CartBD. When I try and run a map view, ...
1
vote
0answers
32 views

Why do odyssey.js info bubbles recentre the map?

I'm using Odyssey.js (scroll) and have created a map with info bubbles when the user clicks on features. On the initial load everything works fine. However, scrolling to the first header means that ...
1
vote
0answers
216 views

Null vs. blank in click vs. hover info window in CartoDB?

I've noticed that in my CartoDB info windows, if a given column does not have a value for a point, that lack of value shows up as a blank in the hover window, but it shows up as a null in the click ...
1
vote
0answers
91 views

A basic question on layers, sublayers, and cartodb.js

I am really new to cartodb and have spent a number of hours trying to figure out the distinction between layers and sublayers. Specifically within cartodb.js. For example, I have a map with two ...
1
vote
0answers
86 views

How to scatter all points at identical locations in CartoDB?

I am working on a project in which data points are often at the same location (e.g. Rome). This poses a problem because the data points then overlap and cannot be clicked on. I found some SQL at http:...
1
vote
0answers
67 views

Defocus click event on map

I try building a map using CartoDB.js. The map displays a number of points. When a point is clicked, I change the layer SQL to filter some points out. What I want is that when user click on the map, ...
1
vote
0answers
186 views

cartodb static named map with parameters

I have a named map with a variable that allow me to change the css_color value of a layer when I render it using cartodb.js. I would like to create a static map for this named map but I can't find ...
1
vote
0answers
54 views

CartoDB - feature appears only on some scales

I have a single feature in a cartodb which I am pulling into my HTML page using var layerUrl = 'path-to-/viz.json'; cartodb.createLayer(map, layerUrl) .addTo(map) And I can see the layer on some ...
1
vote
0answers
210 views

Dynamic Content and Infowindow-Size & -Position

I have to display Dynamic Content (aka embeds … tweets, youtube-videos, facebook-posts etc.) inside a Infowindow … now how can I make sure to resize and position the infowindow properly so the ...