Feature request #969

Allow for smaller (fractional) outline width for polygons and line width for lines

Added by springmeyer - over 12 years ago. Updated over 11 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:-
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:11028

Description

The Symbology window of the layer properties allow the user to select outline widths from size 1 to 99 as integers. For general purpose cartography it would be ideal to be able to specify fractional line widths smaller than 1 like .2 or .5.

Currently if the user attempts to manually enter these values the field just ignores the added decimal point so that .5 becomes 5.

This is a very subtle difference but will be useful in fine tuning map products and images exported from QGIS. Because Qgis is becomes such a powerful and easy to use mapping tool small refinements like this will add value.

As an example of the smallest line widths I could squeeze out of qgis, I have attached two sample images. One is created with QGIS 0.9.2rc1 on mac 10.5 where the blue roads are line width 1, while the other graphic was created with Mapnik 0.5 with line width (set in Mapnik's XML config) of .5. It's pretty amazing how similar the graphics are, with the only real difference being the thickness of the QGIS lines.

test_qgis.png - PNG exported from QGIS 0.9.2rc1 for comparison with Mapnik output (203 KB) springmeyer -, 2008-03-04 05:58 PM

test_mapnik.png - PNG exported from Mapnik 0.5 for comparison with QGIS output (174 KB) springmeyer -, 2008-03-04 05:59 PM

test_mapnik_point1.png - PNG exported from Mapnik 0.5 with line width set to .1 for comparison with QGIS output (126 KB) springmeyer -, 2008-03-04 06:13 PM

History

#1 Updated by springmeyer - over 12 years ago

I'm also attaching a third image. This one was created with Mapnik using .1 line width. I took off the white parcel boundaries and changed the road lines to red to make it clearer. Of course Mapnik's rendering engine is different but I thought this would be a useful comparison to see just how small and delicate the lines can be rendered with Mapnik.

#2 Updated by Steven Bell - over 12 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

This is fixed in 68cdb3ab (SVN r8441).

#3 Updated by Anonymous over 11 years ago

Milestone Version 0.9.2 deleted

Also available in: Atom PDF