[postgis-users] Invalid Geometries

2014-07-14 Thread Andre Mano
Hi list, I have a table with all sort of geometry errors - self-intersections, holes outside polygon, etc. I have some recipes to tackle these problems, but I have a doubt - is there an order or precedence by which I should tackle them? I ask these because I have more than one kind of error in a s

Re: [postgis-users] Reference vrt datasets in postgis raster

2014-07-14 Thread David Haynes
Hello, You might want to try this projection: http://spatialreference.org/ref/sr-org/6842/postgis/ This the most accurate projections, despite the description on the spatial reference site. I am doing related work and found this calculator at the following url http://landweb.nascom.nasa.gov/cgi-bi

[postgis-users] Changing Column data type from WKB to LATLON

2014-07-14 Thread Evan Phillippi
Hello, I am attempting to store some gps coordinates that i collected for a geospatial db in precision ag.  I created a table with a geometry column called "Coordinates"  using the command "Coordinates" geometry(Point,4326).  I then populated the column using the command  ST_SetSRID(ST_MakePoin

Re: [postgis-users] Changing Column data type from WKB to LATLON

2014-07-14 Thread George Silva
Evan, the internal geometry storage format cannot be changed. You can query your database to get the "human" values with ST_AsText and other functions for printing. This depends a lot on what you need to do. On Mon, Jul 14, 2014 at 5:06 PM, Evan Phillippi wrote: > Hello, > > I am attempting to

[postgis-users] Changing column data type from WKB to lat lon

2014-07-14 Thread evan
Hello,I am attempting to store some gps coordinates that i collected for a geospatial db in precision ag.  I created a table with a geometry column called "Coordinates"  using the command "Coordinates" geometry(Point,4326).  I then populated the column using the command ST_SetSRID(ST_MakePoint(-89.

[postgis-users] Changing Column output from WKB to Lat Lon Coordinates

2014-07-14 Thread evan
Hello,I am attempting to store some gps coordinates that i collected for a geospatial db in precision ag.  I created a table with a geometry column called "Coordinates"  using the command "Coordinates" geometry(Point,4326).  I then populated the column using the command ST_SetSRID(ST_MakePoint(-89.

Re: [postgis-users] Changing Column output from WKB to Lat Lon Coordinates

2014-07-14 Thread James David Smith
Google the function st_astext . Should do what you want. Alternatively you can use st_x and st_y. Cheers //JDS On 14 Jul 2014 22:02, wrote: > Hello, > > I am attempting to store some gps coordinates that i collected for a > geospatial db in precision ag. I created a table with a geometry colum

Re: [postgis-users] Changing Column output from WKB to Lat Lon Coordinates

2014-07-14 Thread Mike Toews
There are many geometry output functions [1], such as ST_AsLatLonText() [2], e.g.: 44°7'15.636"N 89°32'8.880"W -Mike [1] http://postgis.net/docs/reference.html#Geometry_Outputs [2] http://postgis.net/docs/ST_AsLatLonText.html On 15 July 2014 07:50, wrote: > Hello, > > I am attempting to store

[postgis-users] ST_Tesselate and TINS is it supposed to maintain solidness

2014-07-14 Thread Paragon Corporation
I tried tesselating a cube NOTE: SELECT ST_Dimension(ST_GeomFromText('POLYHEDRALSURFACE Z( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)), ((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0 0)), ((0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 0 0)), ((1 1 0, 1 1 1, 1 0 1, 1 0 0, 1 1 0)),