[GRASS-dev] display/drivers/HTMLMAP status

Hamish hamish_nospam at yahoo.com
Mon Feb 12 21:06:19 EST 2007


Markus Neteler wrote:
> I have seen that we have
> display/drivers/HTMLMAP
> in 6.3-CVS but it miserably fails to compile.
>
> This is the last trace:
> http://grass.itc.it/pipermail/grassuser/2007-January/037891.html
> 
> I think that it is a nice driver but I cannot estimate
> how painful an update would be.

Glynn:
> The HTMLMAP driver works by "trapping" polygon-fill operations. But
> d.vect doesn't use polygon-fill operations; it does its own
> rasterising, and just sends a series of horizontal-line-drawing
> commands to the driver.
>
> As there currently isn't any use for the HTMLMAP driver, it hasn't
> been maintained. If someone ports d.area to the new vector API, I'm
> willing to port the HTMLMAP driver.


FWIW, d.graph -m draws using the same fns as d.area did:
  R_polygon_abs(xarray, yarray, num);
  R_polyline_abs(xarray, yarray, num);

and d.graph can be piped coordinate lists from stdin.

Maybe not the fastest way, but it might work.


Hamish




More information about the grass-dev mailing list