[postgis-tickets] [PostGIS] #2228: topology.AsTopoJSON(TopoGeometry)

PostGIS trac at osgeo.org
Mon Mar 18 10:23:47 PDT 2013


#2228: topology.AsTopoJSON(TopoGeometry)
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  strk         
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  topology     |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by strk):

 Example outputs:
 {{{
 {"type": "LineString", "arcs": [42, 43]}
 {"type": "Polygon", "arcs": [[42, 43], [44]]}
 }}}

 The numbers in square brackets (array elements) are "arc identifiers",
 pretty much like our edge identifiers except they are (0-based) indices
 into an array, which we'll need to build somehow.

 Also, backward arcs/edges are expressed with -(INDEX+1)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2228#comment:1>
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