Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST_geometry import to Geometry #153

Open
Kim-Kam opened this issue Feb 27, 2018 · 3 comments
Open

ST_geometry import to Geometry #153

Kim-Kam opened this issue Feb 27, 2018 · 3 comments
Labels

Comments

@Kim-Kam
Copy link

Kim-Kam commented Feb 27, 2018

Hi Everyone,
i have ST_geometry column in oracle db, and i want to read this column and convert the st_gemetry to Geometry for further processing. is it possible with geometry-api.

on accessing data Oracle does return the ST_geometry in correct format , however i am not able to convert ST_GEOMETRY to some usable java object to get individual attributes.
OperatorImportFromESRIShape does not work.
i cannot use sde.ST_AStext method , since my middle tier does not allow it.
Thanks for any help,
Kim

@stolstov
Copy link
Member

@Kim-Kam The formats that this library understands are Esri shape, REST JSON, WKT, WKB, and Geojson. Can you use ST_AsBinary to extract WKB?

@Kim-Kam
Copy link
Author

Kim-Kam commented Feb 28, 2018

Thanks for the response.
No unluckily i cannot use ST_AsBinary either. is there any other known API that does it.
Thanks,
Kamran

@randallwhitman
Copy link
Contributor

Seems that options would be to change the middle tier to allow AsWkt/AsText, or write custom OperatorImportFromSomething capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants