gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] Create an SVG skyview image from JSON data


From: Niccolo Rigacci
Subject: Re: [gpsd-users] Create an SVG skyview image from JSON data
Date: Sat, 13 Oct 2018 10:08:27 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Sat, Oct 06, 2018 at 01:31:51PM -0700, Gary E. Miller wrote:
> 
> Do it correctly, or don't do it.  The precision is in the
> JSON, and it is exactly what non-experts need and expecct.

So I finally opted to draw the estimated error (epx, epy or eph 
and epy) instead of DOP. I found also how to circumvent a bug in 
librsvg 2.40, so now the generated SVG is displayed well, at 
least by Imagemagick's coders/svg.so and by librsvg2.

The long line mess remains, but the code is indeed horrible 
because it mixes logic and presentation in the worst mode 
possible, like old PHP style.

I attach this new version, hoping it can be useful.

-- 
Niccolo Rigacci - http://www.rigacci.net/
Campi Bisenzio - Firenze - Italy
Tel. Mobile: +39-327-5619352

Attachment: skyview2svg.gz
Description: application/gzip

Attachment: skyview.svg.gz
Description: application/gzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]