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

Which C++ function corresponds to ST_MakeValid #1176

Closed
afabri opened this issue Oct 4, 2024 · 2 comments
Closed

Which C++ function corresponds to ST_MakeValid #1176

afabri opened this issue Oct 4, 2024 · 2 comments

Comments

@afabri
Copy link

afabri commented Oct 4, 2024

Is there a page with a mapping for this and other functions?

@pramsey
Copy link
Member

pramsey commented Oct 4, 2024

PostGIS accesses GEOS via the GEOS C-API, you can find all the exposures in the header file, https://libgeos.org/doxygen/geos__c_8h.html

@pramsey pramsey closed this as completed Oct 4, 2024
@dr-jts
Copy link
Contributor

dr-jts commented Oct 4, 2024

You have to look at the PostGIS source to find out what GEOS C API backs the function. Then look at geos_ts_c.cpp to see what C++ code are used to implement the functionality.

For GEOSMakeValid the C++ interface is here.

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

No branches or pull requests

3 participants