Re: [Qgis-developer] QgsDistanceArea

2014-05-16 Thread G. Allegri
You're right, that method should be update in the cookbook.
It was the way ellipsoidal mode was set until QGIS 1.8 [1], but
setEllipsoidalMode
is the new naming since 2.0 [2]

giovanni

[1] http://qgis.org/api/1.8/classQgsDistanceArea.html
[2] http://qgis.org/api/2.0/classQgsDistanceArea.html


2014-05-16 6:51 GMT+02:00 mmekuria sail...@yahoo.com:

 It seems that those who know are quiet and no one responded to answer my
 earlier query as well. Your guess is as good as mine. I think this is the
 end of the semester or spring time etc. One has to just try every
 possibility and find out on his own, that is what open-source means. No one
 is responsible and no one is obligated to answer.
 One may have to look at the C++ code itself, that is, if the code itself is
 really current and on which version of the code one is working on.
 That is a long winded and the uninitiated version of the answer. May be the
 initiated would step in and help all of us.



 -
 Maaza Christos, PhD
 www.Axumcorp.com

 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/QgsDistanceArea-tp5140588p5140627.html
 Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer




-- 
Giovanni Allegri
http://about.me/giovanniallegri
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] QgsDistanceArea

2014-05-15 Thread AntonioLocandro
Is this reference in the cookbook still valid?

d = QgsDistanceArea()
d.setProjectionsEnabled(True)

It took me 2 days to finally get result I wanted using
d.setEllipsoidalMode(True) but want to know if this is thecorrect way




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QgsDistanceArea-tp5140588.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QgsDistanceArea

2014-05-15 Thread mmekuria
It seems that those who know are quiet and no one responded to answer my
earlier query as well. Your guess is as good as mine. I think this is the
end of the semester or spring time etc. One has to just try every
possibility and find out on his own, that is what open-source means. No one
is responsible and no one is obligated to answer. 
One may have to look at the C++ code itself, that is, if the code itself is
really current and on which version of the code one is working on. 
That is a long winded and the uninitiated version of the answer. May be the
initiated would step in and help all of us.



-
Maaza Christos, PhD
www.Axumcorp.com

--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QgsDistanceArea-tp5140588p5140627.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer