question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

STAsBinary is not returning in WKB format

See original GitHub issue

Driver version

7.4.1.jre8 (but includes all versions up til now)

Problem description

  1. Expected behaviour: STAsBinary() method should return the spacial object in WKB format, as detailed here.

  2. Actual behaviour: STasBinary() returns the spacial object in CLR format.

Issue created from discussion in #1277.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
peterbaecommented, Jul 7, 2020

Fixed in #1364. Please let me know if you encounter any issues.

0reactions
humada05commented, Jun 29, 2020

Hey @peterbae, awesome! I’ll be sure to test this out when i get some free time this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ST_AsBinary - PostGIS
Returns the OGC/ISO Well-Known Binary (WKB) representation of the geometry. The first function variant ... The OGC/ISO WKB format does not include the...
Read more >
Is it possible to convert from Microsoft's format to WKB?
Yes, STAsBinary() will return WKB. https://msdn.microsoft.com/en-us/library/bb933912.aspx.
Read more >
Why is STASBinary so slow - MSDN - Microsoft
My two options are either to return the WKB directly from the database - which seems quite slow on the select. Or to...
Read more >
How is build the format of geography data type in sql server?
Unfortunately, it's not (as far as I know) WKB but rather whatever format ... and STAsBinary() can be called on a geography instance...
Read more >
SQLCreator only reading geometry column ... - FME Community
I'm using an SQL Creator to return data from three tables (Microsoft SQL Server), ... STAsBinary() is not possible as it drops the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found