Closed loicdtx closed 5 months ago
Agreed @loicdtx. I could add a __repr__()
to model classes that returns a GeoJSON-like dict representation. __str__()
would use that by default. Would that work for you?
@sgillies that's precisely what I'm after. Great!
I have a (hopefully easy) feature suggestion. I miss the ability to simply print a feature and inspects its properties; geometry coordinates, etc. This used to be possible in previous versions of Fiona that used a different data model, but is no longer the case. Any chance to bring this back? Would adding a
__str__()
method toObject
be sufficient?