Custom unit

Bug #1096640 reported by pRototype
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Wishlist
Unassigned

Bug Description

Hi.

I have a feature request.

I've found Inkscape very useful whan I have a map as a bitmap file and want to draw imaginal houses and roads on it. The maps have this scale symbol (100m may be equal to 30px on the image file).

So everytime I want to draw something on the map, I have to manually calculates the length on it before I actually draw it.

Therefore, a custom unit would have done map drawing a lot more easy to acomplish.

There could be a spinbox in Document Properties --> Page, next left of the text "Default Units".
The number in the spinbox should represent: Real world length / length of map scale symbol in pixels

An example:
A map file (PNG from Google maps) is exported into Inkscape. The scale symbol measure 34 pixels and represent one km in the real world. The custom unit would therefore be 1000m / 34px = 29,4117647.

I've atached how I imagine the placement of a new spin box in Document Properties. It should only be visible when Custom unit is choosen.

Tags: preferences
Revision history for this message
pRototype (regeir) wrote :
jazzynico (jazzynico)
tags: added: preferences
Changed in inkscape:
importance: Undecided → Wishlist
Revision history for this message
Mark Jeronimus (mark-jeronimus) wrote :

This feature would also be helpful in my case. I need a 3/32" grid, which is 0.09375", but inkscape only allows inputting 4 numbers after the decimal point.

The closest grid I can create is 3/16" (0.1875), but with this grid I need to place vertices at the midpoints of grid cells, which is impossible. If I could only create a grid where 1 units = 0.1875", I could create a grid with even 3/256" cells!

Revision history for this message
Mark Jeronimus (mark-jeronimus) wrote :

An alternative impementation to pRototpe's suggestion is to implement grid cell subdivision.

Currently, there is the option "Major grid line every X", which groups cells together. An additional option "Subdivide gridlines in X" would be very useful in both our cases. I could set the regular grid to 0.75' (34px in pRototpe's case) and set Subdivide gridlines to 8 (100 in in pRototpe's case).

Revision history for this message
pRototype (regeir) wrote :

At first glance, using "Major grid line every X" looks like a good suggestion. However, when I need to use transform/move dialog box or placing guides numerically, I cannot do that.

Also, when drawing lines on top on a map, grid lines just won't work for me.

Revision history for this message
Louis-Xavier Brusset (lxbrusset) wrote :

I vote for this feature, It could bea a greath enhencement for some applications.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.