Ticket #310 (closed task: fixed)

Opened 3 years ago

Last modified 3 months ago

Unify prototypes of WKTReader and WKBReader constructor

Reported by: mloskot Owned by: strk
Priority: major Milestone: 3.4.0
Component: Core Version: svn-trunk
Severity: Annoyance Keywords:
Cc:

Description

Constructor of both WKTReader and WKBReader accept GeometryFactory?, however both do it in different way:

This is inconsistent and requires extra work on client side. For example, if one wants to write simple function or class template that can be specialised by any of the two reader types it becomes a challenge.

I would suggest to change ctor of WKTReader to accept reference instead of pointer.

Change History

Changed 3 years ago by strk

  • milestone set to 3.3.0

+1

Btw, wouldn't you call these "troubles" ? :)

Changed 2 years ago by strk

  • milestone 3.3.0 deleted

Changed 2 years ago by strk

  • milestone set to GEOS Future

Changed 3 months ago by strk

  • status changed from new to closed
  • type changed from defect to task
  • resolution set to fixed
  • milestone changed from GEOS Future to 3.4.0

Done in r3770

Note: See TracTickets for help on using tickets.