Re: [postgis-users] setting up a read only user / group for AutoCAD, ArcGIS, QGIS, and MapServer.

2014-04-14 Thread Andy Colson
On 4/14/2014 7:25 AM, Mark Volz wrote: Hello, I would like to set up a user account in PostGIS / PostGRES with the following: ·The user has read only access to all of the layers in a particular database. ·The user also have read only access to any layers added or updated through the shapefile

Re: [postgis-users] curves geometries and topology

2014-04-14 Thread Eric Ladner
As long as they are simple circles, you should be able to convert back and forth between curves and lines. Splines, beziers, et al, are probably not going to work at all and would need to be approximated as lines. http://boundlessgeo.com/2012/01/getting-curvey/ On Mon, Apr 14, 2014 at 8:02 AM,

Re: [postgis-users] setting up a read only user / group for AutoCAD, ArcGIS, QGIS, and MapServer.

2014-04-14 Thread Richard Greenwood
On Mon, Apr 14, 2014 at 8:01 AM, Andy Colson a...@squeakycode.net wrote: On 4/14/2014 7:25 AM, Mark Volz wrote: Hello, I would like to set up a user account in PostGIS / PostGRES with the following: ·The user has read only access to all of the layers in a particular database. ·The user

Re: [postgis-users] How to check if two linestring are near to each other

2014-04-14 Thread Åsmund Tokheim
Hi The test select st_hausdorffdistance(st_geometryfromtext('LineString(0 0, 1 0)'), st_geometryfromtext('LineString(0 5, 1 5)')) gives a distance of 5, not 0 as one would expect if HD only measured shape similarity, so I think it still can be used for your task. Something like hibernate spatial