[Phpmyadmin-devel] Visualizing GIS data.

Aris Feryanto aris_feryanto at yahoo.com
Tue May 31 14:26:19 CEST 2011


Hi Madhura,

On 31 Mei 2011, at 17:42, Madhura Jayaratne <madhura.cj at gmail.com> wrote:

> 
> 
> On Tue, May 31, 2011 at 4:09 PM, Madhura Jayaratne <madhura.cj at gmail.com> wrote:
> Hi all,
> 
> I have pushed into my repo, the code for visualizing GIS data. I used SVG for this purpose and i'm writing the SVG tags accordingly. This allows the users without JS support also to view the visualizing oppose to using jQuery SVG to generate SVGs. Further it allows the SVGs to be saved, which is one of the upcoming features. However I use jQuery SVG to manipulate the SVGs (zoom and pan), so the users with JS support gets a better user experience.
> 
> I have also integrated two small libraries [1],[2] to allow panning the SVG on dragging and zooming on mouse wheel movement. These are not strictly needed but nice to have ones.
> 
> One problem of SVG is the IE versions <=8 does not support is. I am using the GD library to generate a PNG image for them and this is in line with saving those visualization to various formats.
> 
> You can test this out at my demo server[3] using the data in the opengis table. Please be kind enough to share your comments.
> 
> -- 
> Thanks and Regards,
> 
> Madhura Jayaratne
> 
> [1] http://brandonaaron.net/code/mousewheel/docs
> [2] http://threedubmedia.com/
> [3] http://demo.phpmyadmin.net/gsoc-madhura/index.php
> 
> Please note that saving the visualization to various formats (SVG, PNG, PDF) is still not working. So please exclude them from your testings and trying outs
> 

The basic zooming and panning functionally works well.

But, when I tried to zoom using mouse wheel, the page also scrolled (my screen height is 800 pixels). Maybe some javascript to prevent the default page scrolling behavior can be added.

Also, I think a bounding box in the SVG will be great, since I get lost of the main graphic when I panned and zoomed too much.


--
Aris Feryanto 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110531/2a0c0b87/attachment.html>


More information about the Developers mailing list