[postgis-devel] [PostGIS] #444: Move import function from postgis dir to liblwgeom (GML/KML)

PostGIS trac at osgeo.org
Fri Aug 6 13:59:04 PDT 2010


#444: Move import function from postgis dir to liblwgeom (GML/KML)
----------------------+-----------------------------------------------------
 Reporter:  colivier  |       Owner:  colivier     
     Type:  task      |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  postgis   |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by colivier):

 I met 2 problems on this ticket:

 1) I use Proj in some code of GeomFromGML (automagic reprojection if GML
 mixed SrsName)
    So it implies to also move libxml and proj (and then to be consistant
 GEOS)
    from postgis dir to liblwgeom dir.

    => This one is not that difficult, just to be sure it doesn't hurt
 anyone.


 2) I need to query spatial_ref_sys table (to know if a given projection
    is planar or geocentric) so to use SPI.

    => I see now only 2 solutions:
    A) Don't do anything and keep in_gml and in_kml in postgis dir

    B) Move everything but the this SPI function to liblwgeom and call it
       from liblwgeom.
       But it this case the lib will not be really standalone anymore.

 Any thoughts ?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/444#comment:2>
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-devel mailing list