Cannot perform spatial search with Rectangle

26 views
Skip to first unread message

Sviluppatori

unread,
Jul 21, 2017, 6:35:24 AM7/21/17
to RavenDB - 2nd generation document database
Hi,

there is a problem performing a geospatial search with a polygon that rapresents a rectangle.

Ravendb always returns 0 results


After changing a single coordinate (just adding a decimal point), Ravendb returns correct results.

You can find a LinqPad files that shows the difference between the two shapes

Thank you in advance

Sviluppatori
TestGeo.zip

Oren Eini (Ayende Rahien)

unread,
Jul 21, 2017, 6:58:42 AM7/21/17
to ravendb
I'm not sure that I'm following. Are you using Spatial4n directly, or with RavenDB?

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


Reparto Sviluppo Software


Astalegale.net S.p.a.

Piazza Risorgimento, 1

20841 Carate Brianza (MB)

Tel. 0362 907601

Fax 039 3309896


Legal Disclaimer:

Il presente messaggio (inclusi gli allegati) contiene informazioni riservate esclusivamente al destinatario/ai destinatari indicati nel messaggio, ed è protetto dalla legge. La diffusione, distribuzione e/o la copia del contenuto del presente messaggio da parte di qualsiasi soggetto diverso dal destinatario è severamente vietata, sia ai sensi dell’art. 616 c.p., sia ai sensi del D.Lgs. n. 196/2003. Se non siete il destinatario del presente messaggio, vi preghiamo di distruggerlo e di darcene immediata comunicazione inviando un messaggio di ritorno all’indirizzo e-mail del mittente.

This message (including any attachments) contains confidential information intended only for the recipient(s) named above, and is protected by law. Any disclosure, distribution and/or copying of this message by any subject different from the named recipient(s) is strictly prohibited by law. If you are not the intended recipient, delete this message and inform us immediately about the deletion by sending a message to the e-mail address of the sender.

--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sviluppatori

unread,
Jul 28, 2017, 6:34:19 AM7/28/17
to RavenDB - 2nd generation document database
RavenDb with the Shape in the script
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Oren Eini (Ayende Rahien)

unread,
Jul 28, 2017, 8:21:14 AM7/28/17
to ravendb
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages