[postgis-tickets] [PostGIS] #2089: liblwgeom cannot be used through python ctypes

PostGIS trac at osgeo.org
Mon Dec 17 09:29:45 PST 2012


#2089: liblwgeom cannot be used through python ctypes
-------------------------+--------------------------------------------------
 Reporter:  brushtyler   |       Owner:  strk         
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  liblwgeom    |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by strk):

 Oh, I thought you overwrote it! Dunno why I'm having a different error
 now...

 Well anyway the comment is above.
 See if you can get any inspiration for an atomic getter/setter.

 I was thinking that maybe the function could take a pointer to a structure
 and the structure would contain all needed pointers and would be written
 all old pointers. That way it's also easy to extend by adding more
 elements to the structure. It would be helpful to have a structure
 initializer, in that case, so that the calling code doesn't need to change
 shall we add more configurable pointers in the future...

 But then again, consider all of this as brainstorming, don't let it block
 you and feel free to attach what you have so far :)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2089#comment:12>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list