Opened 17 years ago

Closed 17 years ago

#1913 closed defect (fixed)

ogr.Geometry.ExportToJson needs to actually return a json string by default

Reported by: hobu Owned by: warmerdam
Priority: normal Milestone: 1.5.0
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

At Chris Schmidt's good suggestion, I have changed the ExportToJson method of ogr.Geometry to return a string by default rather than an object like it was doing before. If you want an object, pass in as_object=True to the function.

Change History (1)

comment:1 by hobu, 17 years ago

Milestone: 1.5.0
Resolution: fixed
Status: newclosed

added in r12422

Note: See TracTickets for help on using tickets.