On Tue, May 24, 2011 at 12:00 PM, Piotr Przybylski piotr.prz@gmail.comwrote:
2011/5/24 Madhura Jayaratne madhura.cj@gmail.com:
I have pushed the implementation of the feature 'More options for browsing GIS data' to my repository and you can test it at the demo server[1].
With this, three options have been added to the ‘Options’ section of query result browsing window
* To view geometric data in Well Known Text (WKT) format * To view geometric data in Well Known Binary (WKB) format * To view geometric data with Geometric type indication and size (e.g. [GEOMETRY – 2.2KiB])
You can use geometric data in the 'OpenGIS' database to test the feature. If the database is not there by the time you visit, please use the SQL file at [2] to generate the database. Your feedback is highly valued :)
I have'nt looked closely, but one thing struck me - please add space before units in "[GEOMETRY – 2.2KiB]", seeing "2KiB" may look ok, but "2bytes" is just wrong :)
-- Piotr Przybylski
Hi Piotr,
Thank you for your comment.
Displaying the text 'GEOMETRY' and size next to it was the default way the geometry data were displayed and I did not make any alterations to it. I only added the other two types (WKT and WKB). Looking into it a bit I noticed that a similar way is used for BINARY and BLOB.
Further 2 bytes are displayed as 2B.