Opened 16 years ago
Closed 15 years ago
#2400 closed defect (fixed)
epsg_tr.py -postgis is broken in stable branch
Reported by: | msieczka | Owned by: | hobu |
---|---|---|---|
Priority: | high | Milestone: | 1.5.4 |
Component: | SWIG (all bindings) | Version: | svn-trunk |
Severity: | major | Keywords: | |
Cc: | warmerdam |
Description
GDAL 1.5 branch, SVN r14575.
Example:
$ epsg_tr.py 2180 -postgis BEGIN; --- --- EPSG 2180 : ETRS89 / Poland CS92 --- Traceback (most recent call last): File "/usr/local/bin/epsg_tr.py", line 182, in <module> trHandleCode(code, gen_dict_line, report_error, output_format) File "/usr/local/bin/epsg_tr.py", line 114, in trHandleCode wkt = gdal.EscapeString(wkt,scheme=gdal.CPLES_SQL) AttributeError: 'module' object has no attribute 'EscapeString'
Change History (2)
comment:1 by , 16 years ago
Cc: | added |
---|---|
Component: | Utilities → SWIG (all bindings) |
Owner: | changed from | to
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This made it into 1.6, but it was not backported to 1.5
Note:
See TracTickets
for help on using tickets.
Yes, this is a problem with the new generation python bindings in 1.5.
The EscapeString binding was only introduced in NG bindings in trunk in r13402.