Skip to content

Instantly share code, notes, and snippets.

@andrewxhill
Forked from anonymous/cartodb_test.html
Created August 21, 2012 15:31
Show Gist options
  • Save andrewxhill/3416626 to your computer and use it in GitHub Desktop.
Save andrewxhill/3416626 to your computer and use it in GitHub Desktop.
cartodb_test.html
<html><body><h1>Summary</h1> <h3>40 Tests Run with 1 Failures - 2012-08-21 11:30</h3> <table border="1"><tr><th>#</th><th>production</th><th>staging</th><th>sql</th><th>carto</th></tr>
<tr>
<td class="test_count">10</td>
<td class="production_img"><a href='http://examples.cartodb.com/tiles/carto_tests/0/0/0.png?style=%23carto_tests+%7Bmarker-fill%3A%23ff7%3B+marker-max-error%3A0.762117952967%3B+marker-line-opacity%3A0.954313683078%3B+marker-allow-overlap%3Afalse%3B+polygon-fill%3Argba%28255%2C+255%2C+0%2C+1%29%3B+marker-spacing%3A16.0%3B+marker-width%3A4.0%3B+marker-height%3A3.0%3B+marker-opacity%3A0.667163700797%3B+line-color%3Agreen%3B+line-gamma%3A0.524514770107%3B+line-cap%3Around%3B+polygon-opacity%3A0.814145908039%3B+marker-type%3Aarrow%3B+polygon-gamma%3A0.296743932444%3B+line-dasharray%3A2%2C10%3B+line-join%3Amiter%3B+marker-placement%3Aline%3B+line-width%3A12.0%3B+marker-line-color%3Argb%28155%2C+133%2C+0%29%3B+line-opacity%3A0.749564105384%3B+marker-line-width%3A4.0%3B+%7D&sql=SELECT+%27my+polygon+name+here%27+as+name%2C+st_envelope%28st_buffer%28st_transform%28st_setsrid%28st_makepoint%2897.8502834992%2C48.9045645803%29%2C4326%29%2C3857%29%2C10000000%29%29+as+the_geom_webmercator+FROM+generate_series%28-6%2C6%29+x+UNION+ALL+SELECT+%27my+marker+name+here%27+as+name%2C+st_transform%28st_setsrid%28st_makepoint%2869.2642200738%2C-3.55325302956%29%2C4326%29%2C3857%29+as+the_geom_webmercator+FROM+generate_series%28-6%2C6%29+x'><img src='http://examples.cartodb.com/tiles/carto_tests/0/0/0.png?style=%23carto_tests+%7Bmarker-fill%3A%23ff7%3B+marker-max-error%3A0.762117952967%3B+marker-line-opacity%3A0.954313683078%3B+marker-allow-overlap%3Afalse%3B+polygon-fill%3Argba%28255%2C+255%2C+0%2C+1%29%3B+marker-spacing%3A16.0%3B+marker-width%3A4.0%3B+marker-height%3A3.0%3B+marker-opacity%3A0.667163700797%3B+line-color%3Agreen%3B+line-gamma%3A0.524514770107%3B+line-cap%3Around%3B+polygon-opacity%3A0.814145908039%3B+marker-type%3Aarrow%3B+polygon-gamma%3A0.296743932444%3B+line-dasharray%3A2%2C10%3B+line-join%3Amiter%3B+marker-placement%3Aline%3B+line-width%3A12.0%3B+marker-line-color%3Argb%28155%2C+133%2C+0%29%3B+line-opacity%3A0.749564105384%3B+marker-line-width%3A4.0%3B+%7D&sql=SELECT+%27my+polygon+name+here%27+as+name%2C+st_envelope%28st_buffer%28st_transform%28st_setsrid%28st_makepoint%2897.8502834992%2C48.9045645803%29%2C4326%29%2C3857%29%2C10000000%29%29+as+the_geom_webmercator+FROM+generate_series%28-6%2C6%29+x+UNION+ALL+SELECT+%27my+marker+name+here%27+as+name%2C+st_transform%28st_setsrid%28st_makepoint%2869.2642200738%2C-3.55325302956%29%2C4326%29%2C3857%29+as+the_geom_webmercator+FROM+generate_series%28-6%2C6%29+x'/></a></td>
<td class="staging_img"><a href='http://staging.cartodb.com/tiles/carto_tests/0/0/0.png?style=%23carto_tests+%7Bmarker-fill%3A%23ff7%3B+marker-max-error%3A0.762117952967%3B+marker-line-opacity%3A0.954313683078%3B+marker-allow-overlap%3Afalse%3B+polygon-fill%3Argba%28255%2C+255%2C+0%2C+1%29%3B+marker-spacing%3A16.0%3B+marker-width%3A4.0%3B+marker-height%3A3.0%3B+marker-opacity%3A0.667163700797%3B+line-color%3Agreen%3B+line-gamma%3A0.524514770107%3B+line-cap%3Around%3B+polygon-opacity%3A0.814145908039%3B+marker-type%3Aarrow%3B+polygon-gamma%3A0.296743932444%3B+line-dasharray%3A2%2C10%3B+line-join%3Amiter%3B+marker-placement%3Aline%3B+line-width%3A12.0%3B+marker-line-color%3Argb%28155%2C+133%2C+0%29%3B+line-opacity%3A0.749564105384%3B+marker-line-width%3A4.0%3B+%7D&sql=SELECT+%27my+polygon+name+here%27+as+name%2C+st_envelope%28st_buffer%28st_transform%28st_setsrid%28st_makepoint%2897.8502834992%2C48.9045645803%29%2C4326%29%2C3857%29%2C10000000%29%29+as+the_geom_webmercator+FROM+generate_series%28-6%2C6%29+x+UNION+ALL+SELECT+%27my+marker+name+here%27+as+name%2C+st_transform%28st_setsrid%28st_makepoint%2869.2642200738%2C-3.55325302956%29%2C4326%29%2C3857%29+as+the_geom_webmercator+FROM+generate_series%28-6%2C6%29+x'><img src='http://staging.cartodb.com/tiles/carto_tests/0/0/0.png?style=%23carto_tests+%7Bmarker-fill%3A%23ff7%3B+marker-max-error%3A0.762117952967%3B+marker-line-opacity%3A0.954313683078%3B+marker-allow-overlap%3Afalse%3B+polygon-fill%3Argba%28255%2C+255%2C+0%2C+1%29%3B+marker-spacing%3A16.0%3B+marker-width%3A4.0%3B+marker-height%3A3.0%3B+marker-opacity%3A0.667163700797%3B+line-color%3Agreen%3B+line-gamma%3A0.524514770107%3B+line-cap%3Around%3B+polygon-opacity%3A0.814145908039%3B+marker-type%3Aarrow%3B+polygon-gamma%3A0.296743932444%3B+line-dasharray%3A2%2C10%3B+line-join%3Amiter%3B+marker-placement%3Aline%3B+line-width%3A12.0%3B+marker-line-color%3Argb%28155%2C+133%2C+0%29%3B+line-opacity%3A0.749564105384%3B+marker-line-width%3A4.0%3B+%7D&sql=SELECT+%27my+polygon+name+here%27+as+name%2C+st_envelope%28st_buffer%28st_transform%28st_setsrid%28st_makepoint%2897.8502834992%2C48.9045645803%29%2C4326%29%2C3857%29%2C10000000%29%29+as+the_geom_webmercator+FROM+generate_series%28-6%2C6%29+x+UNION+ALL+SELECT+%27my+marker+name+here%27+as+name%2C+st_transform%28st_setsrid%28st_makepoint%2869.2642200738%2C-3.55325302956%29%2C4326%29%2C3857%29+as+the_geom_webmercator+FROM+generate_series%28-6%2C6%29+x'/></a></td>
<td><textarea class="sql" style='width:256px;height:256px'>SELECT 'my polygon name here' as name, st_envelope(st_buffer(st_transform(st_setsrid(st_makepoint(97.8502834992,48.9045645803),4326),3857),10000000)) as the_geom_webmercator FROM generate_series(-6,6) x UNION ALL SELECT 'my marker name here' as name, st_transform(st_setsrid(st_makepoint(69.2642200738,-3.55325302956),4326),3857) as the_geom_webmercator FROM generate_series(-6,6) x</textarea></td>
<td><textarea class="carto" style='width:256px;height:256px'>#carto_tests {marker-fill:#ff7; marker-max-error:0.762117952967; marker-line-opacity:0.954313683078; marker-allow-overlap:false; polygon-fill:rgba(255, 255, 0, 1); marker-spacing:16.0; marker-width:4.0; marker-height:3.0; marker-opacity:0.667163700797; line-color:green; line-gamma:0.524514770107; line-cap:round; polygon-opacity:0.814145908039; marker-type:arrow; polygon-gamma:0.296743932444; line-dasharray:2,10; line-join:miter; marker-placement:line; line-width:12.0; marker-line-color:rgb(155, 133, 0); line-opacity:0.749564105384; marker-line-width:4.0; }</textarea></td>
</tr>
</table></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment