[postgis-users] postgis c or c++ parser

Seamus Thomas Carroll carrolls at cpsc.ucalgary.ca
Wed Feb 18 15:39:59 PST 2004


I was thinking of using postgis functions NumPoints(geometry) 
and PointN(geometry,integer) to do the parsing on the database side.  Not 
as efficient but should do the job well enough under current time 
restrictions.

Seamus

On Wed, 18 Feb 2004, David Blasby wrote:

> Frank Warmerdam wrote:
> > Seamus,
> > 
> > It isn't really a lightweight solution, but the OGR library can be used
> > for this purpose.  It will read PostGIS features and turn them into C++
> > objects from which you can get geometry bits, attribute values and so
> > forth.
> 
> 
> You can also use WKB - its the standard method for easily getting data 
> from the database.  A WKB parser is fairly easy to write.
> 
> dave
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 




More information about the postgis-users mailing list