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

Test case with memory issues with GEOS and JTS #26

Open
mwtoews opened this issue Dec 10, 2015 · 1 comment
Open

Test case with memory issues with GEOS and JTS #26

mwtoews opened this issue Dec 10, 2015 · 1 comment

Comments

@mwtoews
Copy link

mwtoews commented Dec 10, 2015

@pramsey has posted a large invalid geometry that seems to have memory issues with both GEOS and JTS. I'm not sure if there are any issues with prepair, so this is a curious task to find out how it performs.

@mwtoews
Copy link
Author

mwtoews commented Dec 10, 2015

Looks like there are issues with prepare too.

$ wget https://dl.dropboxusercontent.com/u/1184727/deadly_isvalid_geom.zip
$ unzip deadly_isvalid_geom.zip

then convert to WKT in Python:

from osgeo import ogr
with open('deadly_isvalid_geom.txt') as fp:
    g = ogr.CreateGeometryFromWkb(fp.readline().strip().decode('hex'))
with open('deadly_isvalid_wkt.txt', 'w') as fp:
    fp.write(g.ExportToWkt())

then try...

$ ./prepair -f deadly_isvalid_wkt.txt

appears to have similar memory issues.

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

1 participant