Hi Mohammed,

There are many different ways to make PostGIS geometry objects. Take a
look at PostGIS constructors for SQL:
http://postgis.refractions.net/documentation/manual-1.5/reference.html#Geometry_Constructors

If you are using a C++ interface, you can also construct geometry
objects using GEOS, which can then be loaded into PostGIS via WKB.
(PostGIS uses GEOS internally for several functions, like buffering).
See some documentation for GEOS here:
http://geos.osgeo.org/doxygen/

-Mike

On 28 September 2010 23:38, Mohammed Rashad <[email protected]> wrote:
>
> How to create a postgis table for a map. i know about shp2pgsql which 
> converts a shapefile to postgis.
> What data I have is the list or coordinates which are used to draw line,point 
> and polygon.
> For My application I use Qt's QPainter widget and draws some lines on it. now 
> i want to convert these lines in to postgis file
>
> _______________________________________________
> postgis-users mailing list
> [email protected]
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to