Commit d2c9c9bc authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add conversion factor to floorimages table that specifies pixels per

meter for the image.
parent 0a60aafe
......@@ -435,6 +435,7 @@ CREATE TABLE floorimages (
x2 int(6) NOT NULL default '0',
y2 int(6) NOT NULL default '0',
scale tinyint(4) NOT NULL default '1',
pixels_per_meter float(10,3) NOT NULL default '0.000',
PRIMARY KEY (building,floor,scale)
) TYPE=MyISAM;
......
......@@ -2184,3 +2184,9 @@ last_net_act,last_cpu_act,last_ext_act);
and update the default rules:
mysql tbdb < fwrules-create.sql
1.289: Add conversion factor floorimages that converts from pixels to
meters.
alter table floorimages add pixels_per_meter float(10,3) \
NOT NULL default '0.000' after scale;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment