On Sat, Jul 7, 2012 at 8:38 AM, James Fuller
<[email protected]> wrote:
> On Sat, Jul 7, 2012 at 4:57 PM, Alex Milowski <[email protected]> wrote:
>> I've been told that invalid locations are mapped to the poles in
>> MarkLogic.  For example, when I query on the quadrangle [(-75,0) ,
>> (-90,15)], I get the following stations:
>>
>> NZSP    (-90,0)
>> VE3CGR-4        (-2147483648,-2147483648)
>> W2PE-3  (-2147483648,-2147483648)
>> W8FY-4  (-2147483648,-2147483648)
>> WA9KCU  (-2147483648,-2147483648)
>> WB5AOH-2        (-2147483648,-2147483648)
>>
>> I data I get from CWOP sometimes has flaws and I don't scrub the data.
>>  I'd prefer to retain the data asis and for stations that send
>> nonsense positions, I don't expect them to show up in quadrangle
>> queries.  That way the stations data will always be available by ID
>> but they won't show up on a map at the poles where the certainly
>> aren't located.
>>
>> Is there someway to turn this "feature" off?
>
> if you check where you setup geospatial index (in admin ui),
>
> depending on what version of ML u are using there should be an option
> for rejecting/ignoring values ... reject means on ingestion that
> document will not be ingested, ignore is the scenario I believe you
> want.

In ML 5.0-3, for geospatial attribute pairs, besides the configuration
of parent element and attribute names, all I see is an option for
"range value positions".  Is there some setting elsewhere?

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to