You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nathan-Faggians-MacBook-Pro:visualize nfaggian$ python
Python 2.7.2 (default, Aug 21 2011, 13:33:19)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import editor
ed = editor.Editor()
QWidget: Must construct a QApplication before a QPaintDevice
I think being able to draw point and line features is important. One way we could go is to use shapely, which has a nice representation for these things.
Activity
nfaggian commentedon Mar 9, 2012
Nathan-Faggians-MacBook-Pro:visualize nfaggian$ python
Python 2.7.2 (default, Aug 21 2011, 13:33:19)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Abort trap: 6
nfaggian commentedon Mar 11, 2012
Fixed the bug above - might just be an obscure osx thing.
nfaggian commentedon Mar 11, 2012
Do we want to have a data model?
I think being able to draw point and line features is important. One way we could go is to use shapely, which has a nice representation for these things.
So we would need:
shapely for representation
qt for visualization and manipulation
yaml for serialization?
Any thoughts?
nfaggian commentedon Mar 11, 2012
http://toblerity.github.com/shapely/
riaanvddool commentedon Mar 11, 2012
I would definitely like to have a data model for some sort of mvc type architecture.
I like the look of Shapely, want to get to know it anyway.
Do we have an alternative? :P
3.) Need to read up on yaml a bit, but I think that is what you used for serializing the features already anyway, so I will go with that.
nfaggian commentedon Mar 16, 2012
Hi,
I am playing around with mvc in controller.py, I am trying to follow this:
http://elabs.se/blog/33-why-serenade