We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From version 0.7.1, geoalchemy/utils.py:
line 39 reads:
geomtype = geom[:geom.index["("]]
it should read:
geomtype = geom[:geom.index("(")]
(note change of [] to ()). .index is a function, not a sequence type.
The text was updated successfully, but these errors were encountered:
--- a/geoalchemy/utils.py +++ b/geoalchemy/utils.py @@ -36,7 +36,7 @@ def from_wkt (geom): elif geom.startswith("POLYGON"): geomtype = "Polygon" else: - geomtype = geom[:geom.index["("]] + geomtype = geom[:geom.index("(")] raise Exception("Unsupported geometry type %s" % geomtype) return {"type": geomtype, "coordinates": coords}
Sorry, something went wrong.
Merge pull request #25 from danpat/master
0e0d97f
Fixes for issues #23 and #24
No branches or pull requests
From version 0.7.1, geoalchemy/utils.py:
line 39 reads:
it should read:
(note change of [] to ()). .index is a function, not a sequence type.
The text was updated successfully, but these errors were encountered: