[Yt-svn] commit/yt-doc: MatthewTurk: Adding mapserver section to the docs, including a screenshot.

Bitbucket commits-noreply at bitbucket.org
Fri Aug 26 12:43:58 PDT 2011


1 new changeset in yt-doc:

http://bitbucket.org/yt_analysis/yt-doc/changeset/a0977e3b6570/
changeset:   a0977e3b6570
user:        MatthewTurk
date:        2011-08-26 21:43:37
summary:     Adding mapserver section to the docs, including a screenshot.
affected #:  5 files (116.6 KB)

--- a/source/index.rst	Fri Aug 26 14:02:50 2011 -0400
+++ b/source/index.rst	Fri Aug 26 15:43:37 2011 -0400
@@ -14,7 +14,8 @@
 possible in parallel. For more detailed information, see our `ApJS paper
 <http://adsabs.harvard.edu/abs/2011ApJS..192....9T>`_.
 
-To install ``yt``, see :ref:`orientation` or :ref:`installing-yt`.
+To install ``yt``, see :ref:`orientation` or :ref:`installing-yt`.  To see
+what's new since the last version, check out :ref:`changelog`.
 
 If you use ``yt`` in a paper, you are highly encouraged to submit the
 repository containing the scripts you used to analyze and visualize your data


--- a/source/interacting_with_yt.rst	Fri Aug 26 14:02:50 2011 -0400
+++ b/source/interacting_with_yt.rst	Fri Aug 26 15:43:37 2011 -0400
@@ -110,6 +110,36 @@
 Mapserver
 ---------
 
+The mapserver is a new, experimental feature.  It's based on `Leaflet
+<http://leaflet.cloudmade.com/>`, a library written to create zoomable,
+map-tile interfaces.  (Similar to Google Maps.)  yt provides everything you
+need to start up a web server that will interactively re-pixelize an adaptive
+image.  This means you can explore your datasets in a fully pan-n-zoom
+interface.
+
+To start up the mapserver, you can use the command ``yt`` (see
+:ref:`command-line`) with the ``mapserver`` subcommand.  It takes several of
+the same options and arguments as the ``plot`` subcommand.  For instance:
+
+.. code-block:: bash
+
+   yt mapserver DD0050/DD0050
+
+That will take a slice along the x axis at the center of the domain.  The
+field, projection, weight and axis can all be specified on the command line.
+
+When you do this, it will spawn a micro-webserver on your localhost, and output
+the URL to connect to to standard output.  You can connect to it (or create an
+SSH tunnel to connect to it) and explore your data.  Double-clicking zooms, and
+dragging drags.
+
+.. image:: _images/mapserver.png
+   :width: 500
+
+This is also functional on touch-capable devices such as Android Tablets and
+iPads/iPhones.  In future versions, we hope to add halo-overlays and
+markers-of-interest to this.
+
 .. _paraview:
 
 ParaView


--- a/source/reference/changelog.rst	Fri Aug 26 14:02:50 2011 -0400
+++ b/source/reference/changelog.rst	Fri Aug 26 15:43:37 2011 -0400
@@ -1,3 +1,5 @@
+.. _changelog:
+
 ChangeLog
 =========
 


--- a/source/visualizing/image_panner.rst	Fri Aug 26 14:02:50 2011 -0400
+++ b/source/visualizing/image_panner.rst	Fri Aug 26 15:43:37 2011 -0400
@@ -206,8 +206,8 @@
 ID as the image name: so all of these will save out ``wimage_XXX.png`` files,
 where ``XXX`` is the tile ID of that window.
 
-Google Maps Interface
----------------------
+Native Map Interface
+--------------------
 
 If you have `Chaco <http://code.enthought.com/chaco/>`_ installed, either by
 itself or as part of the full Enthought Tool Suite, you can use a pan and zoom

Repository URL: https://bitbucket.org/yt_analysis/yt-doc/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list