0
votes
2answers
131 views

Converting WKT to WKB

How can I convert a WKT string to a WKB byte[] in Java using postgis functions? I need to save that WKT string in a postgis database (geometry column. Thanks
2
votes
3answers
1k views

how to extract lat long from WKT data?

i want to extract lat long form WKT data and stores into arary list i have tried one solution which is proposed by a user but it has some problems String str = tv.getText().toString(); str = ...
4
votes
1answer
766 views

Write out a WKT file from a loaded shapefile

We are looking to load and display a shapefile, simple polygons, then write out a WKT string of that shapefile and have the user save it somewhere. Does anyone have some code snippets of that very ...
1
vote
1answer
582 views

How to get elem_info array from WKT or JTS Geometry in Java?

I have Well Known Text (WKT) string with geometry. Now I want to create Oracle Mapviewer SdoGeometry, which needs sdo_elem_info array as one of arguments which is an array of doubles. How can I ...