[Corona] Geo-Index Getting in the Way of Insert

Ryan Grimm grimm at xqdev.com
Sun Jun 3 17:46:37 PDT 2012


Hey Tom,

It looks like the geo points that are in the XML you're trying to insert aren't valid coordinates (0.0 isn't a valid latitude/longitude pair). But the element names in the error message suggest that something else might be going on as well, perhaps the geospatial index configuration isn't matching the document structure. Could you attach the document that you're trying to insert so we can have a closer look?

--Ryan

On Jun 3, 2012, at 5:16 PM, Tom Hubschman <tom.hubschman at warriorgateway.org> wrote:

> Hi All,
> 
>    I have a question regarding a Geo-Index I added a while back. It was added to provide the geo-query functionality in the GINetwork app. I have not had the need to add any additional XML documents since then. When I tried to turn on new add functionality today by adding a sample document I got the following error:
> 
> 2012-06-03 19:57:27.359 Info: 9092-Corona-20120110a: Error: {"error":{"status":500,"code":"corona:INTERNAL-ERROR","message":"Range index error (XDMP-RANGEINDEX: Range index error: point fn:doc(\"/GINetwork/providers/32d32a.xml\")/*:wg_provider/*:contact_information/*:physical_address/*:latitude: XDMP-CAST: (err:FORG0001) Invalid cast: xs:untypedAtomic(\"0.0\") cast as cts:point)"}}
> 
>    Do you have any ideas? I am sending this also to the Corona listserv. I previously had no problem adding documents. 
> 
> Regards,
> 
> Tom
> 
> _______________________________________________
> Corona mailing list
> Corona at developer.marklogic.com
> http://community.marklogic.com/mailman/listinfo/corona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://community.marklogic.com/pipermail/corona/attachments/20120603/f5228deb/attachment.html 


More information about the Corona mailing list