Topic: Spaces in Sample Spatial Ref
Hi
It seems to be possible to import occurrences into R6 when there are spaces in the sample spatial reference. However, not only do the spaces not appear when then viewing the samples in the R6 field observation interface (so it's not easy to then spot the problem), but the spaces then cause errors in some of the SQL functions used by R6.
For example, when reporting on the 'Sample Easting SW Corner' or the 'Sample Northing SW Corner' in the report wizard the functions used (dbo.LCReturnEastingsV2 and dbo.LCReturnNorthingsV2) do not take into account of any spaces in the grid reference and return incorrect values.
Would it be possible to:
a) Stop the import wizard from allowing spatial references to contain spaces (or remove any spaces during the import)?
and
b) Change all the relevant SQL functions that use the sample spatial reference so that any spaces are removed before using them?
Many thanks
Andy
Systems Manager
Greenspace Information for Greater London (GiGL) CIC
www.gigl.org.uk