Sometimes I have to put text on a path
Showing posts with label API. Show all posts
Showing posts with label API. Show all posts

Saturday, November 12, 2011

google maps, fractals; fractal renderer in HTML 5; it is now possible to render in a browser fractals like Julia sets almost instantly;

Google launched (Jan 2011)  Julia Map on Google Labs, a fractal renderer in HTML 5. Julia sets are fractals that were studied by the French mathematician Gaston Julia in the early 1920s. Fifty years later, Benoît Mandelbrot studied the set z2 − c and popularized it by generating the first computer visualisation. Generating these images requires heavy computation resources. Modern browsers have optimized JavaScript execution up to the point where it is now possible to render in a browser fractals like Julia sets almost instantly.

Julia Map uses the Google Maps API to zoom and pan into the fractals. The images are computed with HTML 5 canvas. Each image generally requires millions of floating point operations. Web workers spread the heavy calculations on all cores of the machine.

We hope you will enjoy exploring the different Julia sets, and share the URLs of the most artistic images you discovered. See what others have posted on Twitter under hashtag #juliamap. Click on the images below to dive in to infinity! (Supported on Chrome 8, Firefox 3.6, Safari 5 and above).


http://juliamap.googlelabs.com/

Google Data client libraries are available to help you write client applications that use the Blogger Data API

http://code.google.com/apis/blogger/code.html


For each language, the client library provides tools and an abstraction layer, letting you construct queries and use response data without having to create HTTP requests or process HTTP responses by hand. Each client library provides classes that correspond to the elements and data types that the API uses. Each client library also provides extensions for specific Google services that have Data APIs.





JavaScript client library

The JavaScript client library provides full read/write capabilities from within JavaScript. Read-only access is also available via raw JSON.

Google Fusion Tables and geospatial data; managing-and-visualizing-your-geospatial-data-with-fusion-tables

Google Fusion Tables (https://www.google.com/fusiontables) is a modern data management and publishing web application that makes it easy to host, manage, collaborate on, visualize, and publish data tables online. Fusion Tables allows for import of geospatial data to quickly and easily display that data on a Google Map.

The Fusion Tables team has been working hard to enrich what Fusion Tables offers for customization and control of the Google Map visualizations. Two very exciting announcements were made at Google I/O during the Fusion Tables session on Managing and visualizing your geospatial data with Fusion Tables (http://www.google.com/events/io/2011/sessions/managing-and-visualizing-your-geospatial-data-with-fusion-tables.html). These announcements include the release of the Info Window and Styling in the Fusion Tables API and Fusion Table Styling in the Google Maps API.


Fusion Tables Styles in the Google Maps API


http://code.google.com/apis/maps/documentation/javascript/overlays.html#fusion_table_styles


Fusion Tables Styles further increases the possibilities of map customization. Rather than applying a style to a table via the API or UI, styling can now be introduced on the client side using the Google Maps API. There are many benefits to Fusion Tables Styles:
It allows for dynamic styling of map features.
It’s opens up the possibility for styling tables with multiple attributes.
You can give your users the opportunity to decide what range of styles works best for your data.
Third party developers can now generate visualizations of your data that differ from your own, which makes sharing your data more powerful and useful.
Fusion Tables styles are available now! Read more about how to use Fusion Tables Styles in the Fusion Tables Layer section (http://code.google.com/apis/maps/documentation/javascript/overlays.html#FusionTables) of the Google Maps API documentation.

Simon Rogers, who joined us for the Fusion Tables I/O session to talk about how the UK Guardian Datablog uses Fusion Tables, has been making great use of Fusion Tables Styles.
Here’s one of the Guardian’s latest examples (http://www.guardian.co.uk/news/datablog/interactive/2011/jun/30/uk-population-mapped).
If you’re interested in creating a map similar to the Guardian’s, we have developed a template for plug-and-play (http://gmaps-samples.googlecode.com/svn/trunk/fusiontables/dynamic_styling_template.html).



Ref.
http://googlegeodevelopers.blogspot.com/2011/07/geo-apis-summer-learning-series.html

bikemap.net: a very good application of Google elevation API.

Map your favorite tracks - or find new route ideas. For training, holidays or excursion planning. Currently there are 587,606 Bike routes (DATA@nov 2011). 
http://www.bikemap.net/#lat=-31.35364&lng=-158.20312&zoom=1&type=2

Bikemap.net, built by Toursprung from Austria and Germany, allows cyclist to view and share bicycling routes from all over the world. Users can rate routes, mark their favorites, send the GPS coordinates to a mobile device, suggest changes to routes, and even share the routes on social media sites. Each route includes details about the distance, surfaces, and difficulty. To help cyclists better understand the terrain the site has an interactive elevation bar.

Google Elevation API

Example: http://www.bikemap.net/route/489685#lat=45.24395&lng=4.42268&zoom=12&type=2

map public data using Fusion Tables (google maps); case studies; Geo Developers at Google I/O 2011; location-based gaming using the Latitude API to tools for citizen journalists to map public data using Fusion Tables

From Geo Developers at Google I/O 2011 (July)

The developer sandbox featured eight Geo API partners who engaged directly with I/O attendees. Joining us in the sandbox were HistoryPin, Icon Fitness, Ubisense, The Wall Street Journal, Footprint Feed, The Bay Citizen, Arc2Earth, and Travel Game. The apps on display ranged from location-based gaming using the Latitude API to tools for citizen journalists to map public data using Fusion Tables. You can learn more about two of our sandbox partners in these video case studies:

The Bay Citizen (video) - The Bay Citizen explains the benefits of the Fusion Tables layer with Google Maps API to build infographics for their online newspaper. 


The Bike Accident Tracker visualizes the prevalence of bike accidents across San Francisco.


http://www.baycitizen.org/data/bike-accidents/



Interactive Polyline Encoder Utility; google maps

Polylines in Google Maps are formed as a set of latitude/longitude pairs. In addition, for each vertex (location) in an encoded polyline, a level can be specified indicating that the location should appear on that level and any level higher (i.e. any decrease in zoom.).

If a location does not appear on a given level, then the line will go from the last visible location to the next visible location. Note that the first and last locations must be Level 3 points, otherwise the polyline won't display on all levels.

You can use this interactive utility to compute the encoding for a polyline.

1. Click on the map to place the first location of your polyline. You may drag the marker to adjust the location of the location.
2. If necessary, specify the appropriate level for the location in the "Min zoom level" field.
3. Click the "Add Location" button to add it to the Locations List.
4. Repeat for each location of your polyline.
5. The polyline encoding will appear in the Encoded Polyline and Encoded Levels fields below. Use these values for locations and levels when you create your google.maps.Polyline.


http://code.google.com/apis/maps/documentation/utilities/polylineutility.html

Saturday, October 22, 2011

some special google charts; Interactive charts;Organizational Chart; use the spreadsheet as a data base; google docs;time-series


http://code.google.com/apis/chart/
http://code.google.com/apis/chart/interactive/docs/more_charts.html

http://code.google.com/apis/chart/image/docs/chart_wizard.html
http://imagecharteditor.appspot.com/
http://code.google.com/apis/chart/interactive/docs/examples.html
just do it:
http://code.google.com/apis/ajax/playground/?type=visualization#chart_editor


Interactive charts
use interactive charts AND use the spreadsheet as a data base (if you change any of the data relevant to this chart in your spreadsheet, the chart will update automatically. You don't need to repeat the steps above to edit this chart).

Organizational Chart
An organizational chart that supports selection.
List all group members in one column of your spreadsheet, and their hierarchical or higher-level relationship in the next column. If you want a tooltip to appear when you point your mouse to each node, you can enter this text in a third column.
https://docs.google.com/support/bin/answer.py?hl=en&answer=190728&topic=30240

rem: ex-ample http://www.cogmap.com/chart/google
Cogmap is the Wikipedia of organization charts. We are an organization chart wiki! This means that it is a collection of organization charts online that anyone can edit, add to, and help maintain.

http://code.google.com/apis/chart/interactive/docs/gallery/orgchart.html

http://code.google.com/apis/ajax/playground/?type=visualization#org_chart

https://spreadsheets.google.com/pub?key=rCaVQNfFDMhOM6ENNYeYZ9Q
http://code.google.com/apis/chart/interactive/docs/examples.html
Infographics (QR code, math equations/formulas, balloons)
http://code.google.com/apis/chart/infographics/


--------time
interactive, zoomable charts of time series.
The dygraphs JavaScript library produces interactive, zoomable charts of time series.
http://dygraphs.com/
http://github.com/danvk/dygraphs


Some of the features of dygraphs:
  • Plots time series without using an external server or Flash
  • ERROR BARS
  • Works in Internet Explorer (using excanvas)
  • Lightweight (69kb) and responsive
  • Displays values on mouseover, making interaction easily discoverable
  • Supports error bands around data series
  • Interactive zoom
  • Displays Annotations on the chart
  • Adjustable averaging period
  • Can intelligently chart fractions
  • Customizable click-through actions
  • Compatible with the Google Visualization API
  • Intelligent defaults make it easy to use

Motion charts
http://code.google.com/apis/ajax/playground/?type=visualization#motion_chart

web search resuls in spreadsheet
The Web Search gadget allows you to search the Web and display results for specified values.
https://docs.google.com/support/bin/answer.py?answer=99488

-----------drawing

Flowchart
https://docs.google.com/previewtemplate?id=1dIhpLxlbTgVrphUcdtRy1xNk0BHSfD9LH-VRMekCWUY&mode=public