[gdal-dev] querry in updating attribute values using ogrdatasource

2014-08-14 Thread SIVA RAMA KRISHNA
Hello, I am trying to update shape file with attribute values .I am performing following functionality. QFileInfo table1(_mActiveLayer); //_mActive Layer is name of file opened QString tablename1; tablename1=table1.baseName(); reader = OGRSFDriverRegistrar::Open(_mActiveLayer.toLatin1().data(),

[gdal-dev] Generating Lat, long Cordinates with bearing line and angle

2013-12-15 Thread SIVA RAMA KRISHNA
Hello, Thanks in advance I have a *lat, lon* coordinate with a known projection system I assume it a initial point. I want to generate a next Position with the an *angle* with (horizontal/vertical) and *bearing length* in lat,lon coordinates and complete it with angles and bearing lengths to fo

[gdal-dev] To know about centriod of a polygon shape file

2013-02-18 Thread SIVA RAMA KRISHNA
Dear All, I am just working on Shape files I am unable to detect duplicate centroids in a shape file .After buffering a polygon does centroids of both will match Any help in greatly appreciated With Regards ___ gdal-dev mailing list gdal-dev@list

[gdal-dev] Removing Dangle lines in shape files

2013-01-15 Thread SIVA RAMA KRISHNA
Dear All, I am Trying to remove Dangle Lines from a shape file containing OGRLineString (polyline).I am thinking that if a line(2),line(3),line(4) crosses a another line(1) detecting the point of intersection and removing the part beyond line1 . I am employing following code and attaching it.

[gdal-dev] Identifying a line for dangle

2013-01-09 Thread SIVA RAMA KRISHNA
hai to All, I am Trying to check for a line (OGRLINESTRING) to be a dangle or not. I am trying it out by checking each feature with remaining feature where any other feature(OGRLINESTRING) crosses its any of the node i am attaching a file any help is greatly appreciated With Regards Danglet

[gdal-dev] creating a shape from another with attributes and values

2012-12-04 Thread SIVA RAMA KRISHNA
To All, I am using the following code for creating a shape file from another with the attributes value; i am unable to fetch attribute values from source and change the features from newly created shape files Any Sort of help is greatly appriciated #include "main.h" #include #in

[gdal-dev] (no subject)

2012-10-28 Thread SIVA RAMA KRISHNA
s.r.kriis...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] errror in building qgis

2012-10-05 Thread SIVA RAMA KRISHNA
Hello all, I am trying to build qgis for Qt in fedora I have INSTALLED dependies for Python pyqt. and sip It is building upto following Steps Scanning dependencies of target python_module_qgis_networkanalysis [ 92%] Building CXX object python/CMakeFiles/pyth

[gdal-dev] add my email

2012-06-20 Thread SIVA RAMA KRISHNA
s.r.kriis...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] to store a shapeFile with the following code getting problem assigning goemetries in translateLayer Function

2012-06-15 Thread SIVA RAMA KRISHNA
#include "main.h"#include "ogrsf_frmts.h"#include "ogr_p.h"#include "cpl_conv.h"#include "cpl_string.h"#include "ogr_api.h"#include "gdal.h"static int TranslateLayer(OGRLayer *poPassedLayer,OGRDataSource *ODS,char *pszNewLayerName,int eGType);int main( ){ const char *pszFormat = "ESRI Shapefil

[gdal-dev] to find area of Shape File

2012-06-14 Thread SIVA RAMA KRISHNA
i am Trying To Find Area of A Polygon with the Following Code int main(){OGRRegisterAll();OGRLayer *poLayer; OGRFeature *poFeature;OGRDataSource *poDS;poDS = OGRSFDriverRegistrar::Open( "first.shp");poLayer = poDS->*GetLayerByName*( "first");int nCount=p

[gdal-dev] to find area of shapeFile

2012-06-12 Thread SIVA RAMA KRISHNA
___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] saving a shape File after obtaining from intersection from to two different shape Files

2012-06-07 Thread SIVA RAMA KRISHNA
___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev