cartodb

What version of npm works with nodejs 0.10?

心已入冬 提交于 2020-01-15 08:56:07
问题 I'm trying to install CartoDD as per instructions http://cartodb.readthedocs.org/en/latest/install.html It requires nodejs 0.10 to work. This is what is specified in the instructions: sudo add-apt-repository ppa:cartodb/nodejs-010 && sudo apt-get update sudo apt-get install nodejs sudo apt-get install npm It install nodejs 0.10 OK, but it gives this error message when trying to install npm: ~$ sudo apt-get install npm Reading package lists... Done Building dependency tree Reading state

CartoDB multiple layer toggle

╄→гoц情女王★ 提交于 2019-12-24 07:16:06
问题 I'm trying to make one map where you can toggle between three different layers, and keep the same legend visible for all. I'm currently following this documentation: http://docs.cartodb.com/tutorials/toggle_map_view.html My map in CartoDB has three separate layers (w/ three datasets for the years 2013, 2014 and 2015). I'm trying to make a toggle map like the one in the documentation. Here's what I go so far: <html> <head> <link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/3

CARTO Xamarin Mobile SDK is allowed to use with FREE license? [closed]

随声附和 提交于 2019-12-12 03:41:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I believe, one before, CARTO Xamarin Mobile SDK was activated only with CARTO enterprise license. But now, I don't find such limitation in CARTO's pricing page. https://carto.com/pricing/ This means, CARTO Xamarin Mobile SDK is also allowed to use with FREE license? 回答1: CARTO Mobile SDK pricing is in https:/

Odbc_fdw.control is missing

泪湿孤枕 提交于 2019-12-11 18:09:53
问题 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 open extension control file "/usr/share/postgresql/9.3/extension/odbc_fdw.control": No such file or directory Also, when I try to run odbc_fdw extension inside Postgres I get the same error. Any idea how to fix it? 回答1: You have to install the files odbc_fdw--0.0.1.sql and odbc_fdw.control in the

PostgreSQL “column does not exist” error in CartoDB

删除回忆录丶 提交于 2019-12-08 23:01:42
I'm currently working on a query that should return a subset of a CartoDB table (i.e. a new table) sorted by proximity to a given point. I want to display labels on the map corresponding to the closest, second closest, etc. and thought to capture that by using the PostgreSQL row_number() method in a new column: SELECT *, ST_Distance( ST_GeomFromText('Point(-73.95623080000001 40.6738101)', 4326)::geography, the_geom::geography ) / 1609 AS dist, row_number() OVER (ORDER BY dist) as rownum FROM locations WHERE ST_Intersects( ST_GeomFromText( 'Point(-73.95623080000001 40.6738101)', 4326 ), the

Setting up Persistent Data for Carto/Postgresql on ACI

a 夏天 提交于 2019-12-08 10:45:15
问题 My main objective is to get an image up and running quickly and easily while persisting data. I THINK an ACI is the best way to do this. Assuming this is true... [Edit2] It appears that there may be a more fundamental problem is the inability to specify a hostname like you can in docker. I will ask that question in a separate thread. I was able to attach storage. [Original post] I would like to use an ACI to setup this an image that is on Docker Hub. I have been able to follow the simple

PostgreSQL “column does not exist” error in CartoDB

爷,独闯天下 提交于 2019-12-08 07:35:47
问题 I'm currently working on a query that should return a subset of a CartoDB table (i.e. a new table) sorted by proximity to a given point. I want to display labels on the map corresponding to the closest, second closest, etc. and thought to capture that by using the PostgreSQL row_number() method in a new column: SELECT *, ST_Distance( ST_GeomFromText('Point(-73.95623080000001 40.6738101)', 4326)::geography, the_geom::geography ) / 1609 AS dist, row_number() OVER (ORDER BY dist) as rownum FROM