------------------------------------
Jia Yu,
Ph.D. Student in Computer Science
Reach me via Jia Yu's Homepage | GitHub Repositories
I recently noticed that `ST_Transform` is throwing errors on latitude too close to the pole. For some reason, this is happening due to a confusing behavior concerning latitude and longitude order. In theory `ST_Transforms` expects X = longitude and Y = latitude, as stated here, but the in practice it is considering X = latitude and Y = longitude. The optional boolean arguments to force the behavior seems not to work. I am reading the polygons from WKB, so swap latitude and longitude is not feasible. Is there any way to bypass this odd behavior?
--
You received this message because you are subscribed to the Google Groups "GeoSpark Discussion Board" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geospark-discussio...@googlegroups.com.
To post to this group, send email to geospark-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/geospark-discussion-board.
To view this discussion on the web visit https://groups.google.com/d/msgid/geospark-discussion-board/0a48ed9a-42a9-4aaa-a666-e9df73df6bde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Marcelo,Please read here: http://datasystemslab.github.io/GeoSpark/api/sql/GeoSparkSQL-Function/#st_transformIt is easy to bypass this.Thanks,Jia------------------------------------
Jia Yu,
Ph.D. Student in Computer Science
Reach me via Jia Yu's Homepage | GitHub Repositories
On Thu, Jun 28, 2018 at 2:49 PM marcelo.rabello via GeoSpark Discussion Board <geospark-dis...@googlegroups.com> wrote:
--
I recently noticed that `ST_Transform` is throwing errors on latitude too close to the pole. For some reason, this is happening due to a confusing behavior concerning latitude and longitude order. In theory `ST_Transforms` expects X = longitude and Y = latitude, as stated here, but the in practice it is considering X = latitude and Y = longitude. The optional boolean arguments to force the behavior seems not to work. I am reading the polygons from WKB, so swap latitude and longitude is not feasible. Is there any way to bypass this odd behavior?
You received this message because you are subscribed to the Google Groups "GeoSpark Discussion Board" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geospark-discussion-board+unsub...@googlegroups.com.
------------------------------------
Jia Yu,
Ph.D. Student in Computer Science
Reach me via Jia Yu's Homepage | GitHub Repositories
Hello, Jia!
I have already tried it, it is not working for me. Tried all combinations for the boolean arguments described in the docs, and I am still getting the same error. Any other ideas?Thanks in advance,
Marcelo
Em quinta-feira, 28 de junho de 2018 18:51:23 UTC-3, Jia Yu escreveu:
Hi Marcelo,Please read here: http://datasystemslab.github.io/GeoSpark/api/sql/GeoSparkSQL-Function/#st_transformIt is easy to bypass this.Thanks,Jia------------------------------------
Jia Yu,
Ph.D. Student in Computer Science
Reach me via Jia Yu's Homepage | GitHub Repositories
On Thu, Jun 28, 2018 at 2:49 PM marcelo.rabello via GeoSpark Discussion Board <geospark-dis...@googlegroups.com> wrote:
--
I recently noticed that `ST_Transform` is throwing errors on latitude too close to the pole. For some reason, this is happening due to a confusing behavior concerning latitude and longitude order. In theory `ST_Transforms` expects X = longitude and Y = latitude, as stated here, but the in practice it is considering X = latitude and Y = longitude. The optional boolean arguments to force the behavior seems not to work. I am reading the polygons from WKB, so swap latitude and longitude is not feasible. Is there any way to bypass this odd behavior?
You received this message because you are subscribed to the Google Groups "GeoSpark Discussion Board" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geospark-discussio...@googlegroups.com.
To post to this group, send email to geospark-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/geospark-discussion-board.
To view this discussion on the web visit https://groups.google.com/d/msgid/geospark-discussion-board/0a48ed9a-42a9-4aaa-a666-e9df73df6bde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GeoSpark Discussion Board" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geospark-discussio...@googlegroups.com.
To post to this group, send email to geospark-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/geospark-discussion-board.
To view this discussion on the web visit https://groups.google.com/d/msgid/geospark-discussion-board/0a8d7904-1781-4e68-90ed-b82c4e32b747%40googlegroups.com.