Needs review
Project:
Geo
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2011 at 22:10 UTC
Updated:
24 Mar 2011 at 22:10 UTC
geo_latlon currently accepts lat/lon values up to 15 characters long, but there seems really no reason to limit it so much. PHP's "print" produces float values up to 16 chars long, and submitting such values to Geo fields in forms produces errors like "Longitude cannot be longer than 15 characters but is currently 16 characters long.". In practice, even longer values can be encountered, e.g. I am getting 18 characters lon/lat values submitted to me by a Java client.
Attached is a patch (against CSV HEAD) that changes the limit to 200 chars. This "should be enough for everyone".
| Comment | File | Size | Author |
|---|---|---|---|
| geo_latlon_maxlength.patch | 887 bytes | ahtih |