<br><br><div class="gmail_quote">On Thu, Jun 2, 2011 at 1:32 PM, Tyron Madlener <span dir="ltr"><<a href="mailto:tyronx@gmail.com" target="_blank">tyronx@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div></div><div>On Thu, Jun 2, 2011 at 4:27 AM, Madhura Jayaratne <<a href="mailto:madhura.cj@gmail.com" target="_blank">madhura.cj@gmail.com</a>> wrote:<br>
><br>
><br>
> On Thu, Jun 2, 2011 at 1:42 AM, Marc Delisle <<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>> wrote:<br>
>><br>
>> Madhura Jayaratne a écrit :<br>
>> (...)<br>
>> >      >     Hi Ammar,<br>
>> >      ><br>
>> >      >     I'm not sure what exactly your requirement is. But pls have a<br>
>> >     look<br>
>> >      >     at the visualization of data at [1] by clicking on the<br>
>> > 'Visualize<br>
>> >      >     GIS data' link in the 'Query results operations' section<br>
>> >     towards the<br>
>> >      >     bottom of the page. Try out zooming by double clicking and<br>
>> >     panning<br>
>> >      >     by dragging. I believe you are looking for something like<br>
>> >     this for<br>
>> >      >     your zoom search feature.<br>
>> ><br>
>> >     Madhura,<br>
>> ><br>
>> >     I have issues operating panning and zooming. Here is the scenario:<br>
>> ><br>
>> >     1. Browse world_cities and click Visualize GIS data<br>
>> >     2. Click-drag: pans OK<br>
>> >     3. Double-click: this is a zoom out, I guess<br>
>> >     4. Click-drag: no panning<br>
>> >     5. Click "zoom out": data points are enlarging, isn't this a<br>
>> > zoom-in?<br>
>> ><br>
>> > Marc,<br>
>> ><br>
>> > This is a Firefox compatibility problem. Resolved and pushed to the<br>
>> > repo. Demo will take some time to upgrade to the new version. Meanwhile<br>
>> > if you have Chrome, you can still experience what it's suppose to do.<br>
>><br>
>> Madhura,<br>
>> ok, panning and zooming are fine now.<br>
>><br>
>> Is the saving feature ready? I tried to save in PNG and got a bunch of<br>
>> binary data on-screen.<br>
>><br>
>> Saving in PDF generates<br>
>> Fatal error: Call to undefined method<br>
>> PMA_GIS_Visualization::toFileAsPdf() in<br>
>> /srv/http/<a href="http://pma.cihar.com/gsoc-madhura/libraries/gis_visualization.lib.php" target="_blank">pma.cihar.com/gsoc-madhura/libraries/gis_visualization.lib.php</a><br>
>> on line 161<br>
>><br>
>> --<br>
>> Marc Delisle<br>
>> <a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
>><br>
> Hi Marc,<br>
> In my previous mail to the group, I mentioned that this feature is not yet<br>
> ready. BTW, this is a feature which is to be delivered in the second half of<br>
> GSoC (after mid-term eval), according to the schedule. However I started<br>
> working on it, since it is very much related to what I've done so far. I<br>
> should be able to get it ready (for all 3 formats, SVG, PNG and PDF) by the<br>
> end of this week.<br>
<br>
</div></div>Just in case I'm allowed to use Highcharts, could you make your<br>
conversion code generic enough so I could use it too? :)<br>
And just for your information, the current SVG converter of highcharts<br>
uses following post variables to a php file that calls a java tool<br>
(source is available btw):<br>
<br>
 * $tempName string The desired filename without extension<br>
 * $type string The MIME type for export.<br>
 * $width int The pixel width of the exported raster image. The height<br>
is calculated.<br>
 * $svg string The SVG source code to convert.<br>


<br></blockquote></div>Hi Tyron,<div><br></div><div>For my work I am not doing any conversions as such. I am generating SVGs and PNG separately in their basic forms. It's not that I generate it in one form and converting it to the other.</div>

<div><br>-- <br>Thanks and Regards,<div><br></div><div>Madhura Jayaratne<br><div><br></div></div><br>
</div>