Viewing post #779836 by dave

You are viewing a single post made by dave in the thread called Handling ranges in the database.
Image
Feb 4, 2015 7:17 AM CST
Garden.org Admin
Name: Dave Whitinger
Southlake, Texas (Zone 8a)
Region: Texas Seed Starter Vegetable Grower Tomato Heads Vermiculture Garden Research Contributor
Million Pollinator Garden Challenge Charter ATP Member I was one of the first 300 contributors to the plant database! Garden Ideas: Master Level Region: Ukraine Garden Sages
We have a few fields in the database that are absolute values but really should be ranges. Plant Height and Plant Spread are the two main ones. Right now these are simply fields you type a number in. It's very useful information when you're looking at a plant, but completely useless for searching. Plus it has been a headache keeping those fields consistent, since anyone can type whatever they want into them.

What if we came up with a list of possible "Maximum Heights" and "Maximum Spread" options, and migrate the data into that? Then what I can do is update the search page to let you specify a range that will match anything inside that range? It seems like that would be the right solution for this problem. The only downside is that we'd lose a little bit of the freedom that a text box brings. You'd have to select the closest maximum height. We may also need a minimum height since plants can be anywhere inside of a range, and we'd need to specify the lower and upper range on a plant by plant basis.

Anyone have any thoughts on this?

« Return to the thread "Handling ranges in the database"
« Return to Plant Database forum
« Return to the Garden.org homepage

Member Login:

( No account? Join now! )

Today's site banner is by mcash70 and is called "Queen Ann's Lace"

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.