[Phpmyadmin-devel] Visualizing GIS data.

Madhura Jayaratne madhura.cj at gmail.com
Tue May 31 17:19:22 CEST 2011


On Tue, May 31, 2011 at 5:56 PM, Aris Feryanto <aris_feryanto at yahoo.com>wrote:

> 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>
> 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>
>> http://brandonaaron.net/code/mousewheel/docs
>> [2]  <http://threedubmedia.com/>http://threedubmedia.com/
>> [3]  <http://demo.phpmyadmin.net/gsoc-madhura/index.php>
>> 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
>
>
> Hi Aris,


> The basic zooming and panning functionally works well.
>

Thank you for taking time to test the functionality.

>
> 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.
>

Zooming using mouse wheel happens only when you have the cursor over the
image. When you have it elsewhere the page is scrolling. If you still find
the prob pls. let me know.

>
> 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
>


-- 
Thanks and Regards,

Madhura Jayaratne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110531/f197bec7/attachment.html>


More information about the Developers mailing list