- Rationale: Why does Dryad use CC0?
- Policy: Frequently asked questions
- Since: 2009-05
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var coord;var output;var xhs;if(!document.getElementById('xhs')){xhs=document.createElement('div');xhs.setAttribute('id','xhs');xhs.setAttribute('style', 'background:url(\'http://www.canadensys.net/crosshair.png\') top left no-repeat;position:absolute;top:50%;left:50%;margin-top:-7px;margin-left:-7px;height:15px;width:15px;');xhs.onclick=function(){coord = [gApplication.getMap().getCenter().lat(),gApplication.getMap().getCenter().lng()];output = Math.round(coord[0]*10000000)/10000000 + '\t' + Math.round(coord[1]*10000000)/10000000;prompt('Latitude and Longitude',output);};void(document.getElementById('map').appendChild(xhs));}else{void(document.getElementById('map').removeChild(xhs));} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- SetSRID defines the datum. Use 31370, not 31300 for Belgian Lambert 72 | |
SELECT | |
*, | |
ST_Transform(ST_SetSRID(ST_MakePoint(x,y),31370),4326) as geom_from_lambert, | |
ST_Y(ST_Transform(ST_SetSRID(ST_MakePoint(x,y),31370),4326)) as latitude_from_lambert, | |
ST_X(ST_Transform(ST_SetSRID(ST_MakePoint(x,y),31370),4326)) as longitude_from_lambert | |
FROM table_name | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE rbins_radar_occurrences | |
RENAME COLUMN expr1000 to date; | |
ALTER TABLE rbins_radar_occurrences | |
ALTER COLUMN area SET data type integer USING area::integer; | |
ALTER TABLE rbins_radar_occurrences | |
ALTER COLUMN av_reflectivity SET data type integer USING av_reflectivity::integer; | |
ALTER TABLE rbins_radar_occurrences | |
ALTER COLUMN date SET data type timestamp with time zone USING date::timestamp with time zone; | |
ALTER TABLE rbins_radar_occurrences |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** torque visualization */ | |
Map { | |
-torque-frame-count:2048; | |
-torque-animation-duration:30; | |
-torque-time-attribute:"date_time"; | |
-torque-aggregation-function:"count(cartodb_id)"; | |
-torque-resolution:1; | |
-torque-data-aggregation:linear; | |
} |
NewerOlder