[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] create a new map
From:       Mike Toews <mwtoews () gmail ! com>
Date:       2010-09-29 6:57:36
Message-ID: AANLkTi=yQkn=S0x7jSWdBs-RT2cv-S6pB3ESV50W=JPi () mail ! gmail ! com
[Download RAW message or body]

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 <rashadkm@hotmail.com> 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
> postgis-users@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic