Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-28 Thread gene
Thanks, it works for me. -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe:

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-27 Thread gene
Same result for me (MacOSX Yosemite) with QGIS 2.14.x, 2.16 and 2.18: PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.14') PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.16')

Re: [Qgis-user] Standard Deviational Ellipse

2016-05-21 Thread gene
It is very easy to do in R with aspace library(aspace) library rgdal # open the shapefile layer = readOGR("/Users/Shared",layer="points_test_aspace") coords=coordinates(layer) # calculate the ellipse calc_sde(id=1,points=coords) #you can add many parameters here as calc_sde(id=1,

Re: [Qgis-user] Dealing with defective polygons.

2016-05-12 Thread gene
and > summary(cam.points) long lat order hole Min. :365746 Min. :4415479 Min. : 1 Mode :logical 1st Qu.:428318 1st Qu.:4466888 1st Qu.:213378 FALSE:848750 Median :440164 Median :4475549 Median :426754 TRUE :4757

Re: [Qgis-user] Dealing with defective polygons.

2016-05-12 Thread gene
After importing your shapefile in GRASS 7 (True topology, it detects and eliminate the defective polygon) before > cam@data$id = rownames(cam@data) > cam.points = fortify(cam, region="id") Error: IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4 after

Re: [Qgis-user] R in QGIS on OSX using Kyngchaos build

2016-03-07 Thread gene
The test is done in the lines 179-200 in the script Rutils.py. It consists in running the shell command command = ['R --version'] with processing proc = subprocess.Popen( command, shell=True, stdout=subprocess.PIPE, stdin=open(os.devnull),

Re: [Qgis-user] R in QGIS on OSX using Kyngchaos build

2016-03-06 Thread gene
Processing has nothing to do with rpy2. it uses subprocess to execute the original R script The explication is in the /Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/r/RUtils.py script 1) RUtils first create a

Re: [Qgis-user] Geological Map Symbols Continued

2016-01-30 Thread gene
The solution we were using was a True Type font (Font marker symbol) with geological symbols (as ArcGIS with the geology ttf symbols). We cannot use directly this ESRI police ( FAQ: What are the applicable copyright restrictions on Esri fonts?"

Re: [Qgis-user] General interest in geological support for QGIS?

2016-01-30 Thread gene
I am the author of the solution in Python for GRASS in the second link and we have a paper awaiting publication in Rend. Online Soc. Geol. It., "Tools for structural geology analysis in QGIS" (Alberti, Laloux and Zanieri), stereonets and rose diagrams (from the layer data), automatic cross

Re: [Qgis-user] extracting elevations from DEM at certain points

2015-12-15 Thread gene
With PyQGIS, look at How to extract X Y coordinates and RGB from pixels using python in QGIS? or PyQGIS (QGIS 2): geological cross-sections (colorization of a topographic profile build from a DEM with the colors of a raster and placement of the

Re: [Qgis-user] Error installing qgis2leaf

2014-04-27 Thread gene
What version of Python are you using? If the version is 2.7.x, look atMac OS X 10.6.8 QGIS not using user-installed Python 2.7 http://gis.stackexchange.com/questions/91832/mac-os-x-10-6-8-qgis-not-using-user-installed-python-2-7/92020#92020 , for example zero length field name in

Re: [Qgis-user] Error installing qgis2leaf

2014-04-27 Thread gene
I forgot to mention that the plugin works perfectly on Mac OS X 10.6.8 with the Dufour version of KyngChaos http://www.kyngchaos.com/and the master versions of Larry Shaffer http://qgis.dakotacarto.com/ -- View this message in context:

Re: [Qgis-user] How to represent Water Bore/Borewells in 3D view using qgis..?

2014-03-15 Thread gene
Look at Is there are QGIS plugin to allow the 3d visualisation of geological borehole data similar to the functionality of Target for ArcGIS? http://gis.stackexchange.com/questions/41701/is-there-are-qgis-plugin-to-allow-the-3d-visualisation-of-geological-borehole-da/41719#41719 - With Python

Re: [Qgis-user] Installerpackage QGIS 2.2 OSX 10.6?

2014-03-07 Thread gene
You can still use the masters versions of Larry Shaffer, http://qgis.dakotacarto.com/ http://qgis.dakotacarto.com/ : every day a new Snow Leopard version -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Installerpackage-QGIS-2-2-OSX-10-6-tp5108184p5127856.html Sent from

Re: [Qgis-user] 3D dxf files

2013-12-19 Thread gene
Looking at the awk script of Siki Zoltan, I made Python scripts using regular expressions that works : In the dxf file, A 3D face polygon is located between the two delimiters: *3DFace* . * 0* (the spaces before the 0 are important here, because there are also coordinates equal to 0,

Re: [Qgis-user] Matplotlib needs Pyparsing (impossible to install Semi-automatic classification plugin)

2013-11-07 Thread gene
It is a problem of the plugin, and not of Python: http://hub.qgis.org/issues/8792 http://hub.qgis.org/issues/8792 http://hub.qgis.org/issues/8922 http://hub.qgis.org/issues/8922 -- View this message in context:

Re: [Qgis-user] Plugin path on Mac

2013-11-06 Thread gene
It is /Users/.qgis2/python/plugins -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Plugin-path-on-Mac-tp5087808p5087811.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___ Qgis-user mailing list

Re: [Qgis-user] Is there a limit for the nb. of vector layers in a QGIS Project ???

2013-10-27 Thread gene
On Mac OS X, from William Kyngesburye in the Read me file Max Open Files OS X has a hardwired limit of 256 open files per process. What this means for QGIS is that there is a limit to the number of shapefile layers in a project, because QGIS keeps the shapefiles open. Because shapefiles are

Re: [Qgis-user] QGIS on OS X 10.9

2013-10-23 Thread gene
see Any experience with OSX and Mac OSX Maverics using OSGeo? [on hold] http://gis.stackexchange.com/questions/75186/any-experience-with-osx-and-mac-osx-maverics-using-osgeo After reinstalling GDAL everything worked like before. No more errors. -- View this message in context:

Re: [Qgis-user] Problems with Shapely instalation, using the Console

2013-09-29 Thread gene
It is a recurrent question: Shapely is a Python module and not a QGIS plugin. Therefore you must use the terminal (Terminal.app) and not the QGIS python console to install shapely. If you use the QGIS version of Kyng Chaos, this version uses the default Apple Python (modules in

Re: [Qgis-user] matplotlib is not found in QGIS 2.1.0-Master

2013-09-14 Thread gene
Right, the QGIS version of KyngChaos and the Nightly Mac Build of Larry Shaffer use the default Apple Python (modules are installed in the site-packages folder: /Library/Python/2.x/site-packages/). That's why the matplotlib version of KingChaos is installed in /Library/Python/2.6/site-packages/

Re: [Qgis-user] French intro presentation of QGIS

2013-07-13 Thread gene
I'm sorry, I don't quite understand your question: - there is an OSGeo French Local Chapter ( http://osgeo-org.1560.x6.nabble.com/OSGeo-French-Local-Chapter-f3726325.html http://osgeo-org.1560.x6.nabble.com/OSGeo-French-Local-Chapter-f3726325.html ) where you can ask your question; - the user

Re: [Qgis-user] New QGIS users. Attention plugin authors and nightly dev users.

2013-06-09 Thread gene
The QVariant type doesn't exist any more Wow, really very good news for the Python and Python console lovers: the end of the PyQt pollution in the data processing (as in gvSIG, see http://blog.gvsig.org/2013/05/21/gvsig-2-0-scripting-exploit-your-gvsig-iii-generate-a-polygon-from-a-course/

Re: [Qgis-user] nightly build has lost user profile

2013-04-14 Thread gene
The .qgis or .qgis2 folders contains only the plugins (in /.qgis/python/plugins) and the SQLite file(/.qgis/qgis.db) which contains only the projections. The custom general settings (layout, PostGIS, wms, etc.) are saved in: - Linux: settings are saved in a text file:

Re: [Qgis-user] create 3d shapefile and/or GPX

2013-03-16 Thread gene
Yes, in the Python console using other Python modules like Shapely but it is even easier to do it directly in Python without QGIS: *In the Python console of QGIS* see QGIS, visualización 3D de capas vectoriales con Python

Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-14 Thread gene
R has nothing to do with Sextante which only use it. You must install it (see http://hub.qgis.org/issues/6029 http://hub.qgis.org/issues/6029 ) -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Where-is-R-in-QGIS-Sextante-tp5016411p5016478.html Sent from the Quantum GIS -

Re: [Qgis-user] Using/visualizing 3D data (Z values)

2012-10-17 Thread gene
it is a problem of PATH *1) in the shell:* If you read the Read Me.rtf accompanying QGIS, the procedure is specified: /The PyQt programs are included to compile UI and resource files for plugins. To use them, set these in your shell environment (you can add it to your ~/.bash_profile if you

Re: [Qgis-user] Using/visualizing 3D data (Z values)

2012-10-16 Thread gene
Waiting for Globe, a solution to extract the z values of 3D shapefiles is to use ogr or shapely (see in qgis-developer http://osgeo-org.1560.n6.nabble.com/Re-Qgis-user-Using-visualizing-3D-data-Z-values-td5004272.html

Re: [Qgis-user] Using/visualizing 3D data (Z values)

2012-10-16 Thread gene
PyQt4 is present in the QGIS versions of William to be used in the Python console, so, automatically you have a backend. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Using-visualizing-3D-data-Z-values-tp4126375p5009181.html Sent from the Quantum GIS - User mailing list

Re: [Qgis-user] NViz not starting

2012-09-21 Thread gene
Hello, I think you have to study to learn ArcGIS or MapInfo, no ? But here, after trying once NVIZ, without knowing or studying GRASS GIS, you conclude that the result is unsatisfactory for you. A bit fast, no ? will have to revisit QGis when that is done. Start by studying the principles of

Re: [Qgis-user] NViz not starting

2012-09-21 Thread gene
Ok, sorry, but I know many ArcGIS users who reject GRASS after a few test without knowing it. But QGIS and GRASS GIS are two different softwares and what you want to do is use GRASS GIS from QGIS. For 3D, It is much easier to use GRASS directly. But if you have a deadline and do not know

Re: [Qgis-user] Sextante on Mac OS X: a working solution for running GRASS commands

2012-07-18 Thread gene
For a working solution for all OS, in GrassUtils.py (with GRASS 6.4.app): def executeGrass(commands, progress): if SextanteUtils.isWindows(): GrassUtils.createGrassScript(commands) command = [cmd.exe, /C , GrassUtils.grassScriptFilename()] else:

Re: [Qgis-user] how to setup python environtment for qgis python application

2012-07-14 Thread gene
Richard Duivenvoorde wrote But (I would say), developing GIS applications in python, based on QGIS libraries is much harder, and not so much done by people. There are some examples (I think Martin Dobias did some work on this) see, for example

Re: [Qgis-user] Sextante on Mac OS X: a working solution for running GRASS commands

2012-07-11 Thread gene
The Solution for the help files is finally very simple, just put GRASS_HELP_FOLDER=*/Applications/GRASS-6.4.app/Contents/MacOS/docs/html* in sextante_qgis.conf file -- View this message in context:

[Qgis-user] Sextante on Mac OS X: a working solution for running GRASS commands

2012-07-10 Thread gene
I could not use the Grass commands on Mac OS X. So I decided to analyze the Python scripts and the sextante log to understand why they did not work. The log gave me the error GRASS execution console output|/bin/sh: grass64: command not found and This problem is due to the line 249 of the

Re: [Qgis-user] Accessing Spatialite 3.0.1 in QGIS 1.8 using Python Console

2012-07-07 Thread gene
The sqlite module of Python does not enable _load_extension You must use the old pysqlite2 compiled with enable_load_extension = true (in the cfg file) and from pysqlite2 import dbapi2 as sqlite db = sqlite.connect('test.db3') db.enable_load_extension(True); db.execute('SELECT

[Qgis-user] Re: how to rotate a line?

2012-05-10 Thread gene
Hello, In geology, I need to draw lines based on a direction and a distance (euclidean). I do it in the Python console and here is a part of one of my scripts that might help you : from numpy import * class dist_angle(object): def __init__(self,a,angle,distance): self.a =

[Qgis-user] Re: sextante plugin on mac

2012-04-02 Thread gene
I can help in Python but the problem is that there is no version of SAGA GIS for Mac OS X. I tried to install it following http://sourceforge.net/apps/trac/saga-gis/wiki/Compiling%20SAGA%20on%20Mac%20OS%20X http://sourceforge.net/apps/trac/saga-gis/wiki/Compiling%20SAGA%20on%20Mac%20OS%20X but

[Qgis-user] Re: sextante plugin on mac

2012-04-02 Thread gene
yes, but it is necessary to compile these modules -- View this message in context: http://osgeo-org.1560.n6.nabble.com/sextante-plugin-on-mac-tp4671656p4679860.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___ Qgis-user

[Qgis-user] Mac OS X, Sextante and other plugins or the forgotten users..

2012-04-01 Thread gene
Hello, I am a user of QGIS (and GRASS GIS and gvSIG, and...) on Mac OS X and not a C, C + + or Java developer : I use Python in all developments and I'm happy because I can do anything in the Python consoles of the softwares. I am also a member of OSGeo-Fr. I simply note that there are more and

[Qgis-user] Re: Mac OS X, Sextante and other plugins or the forgotten users..

2012-04-01 Thread gene
I installed this plugin (and before the experimental 0.1 from http://code.google.com/p/sextante/source/browse/#svn%2Ftrunk%2Fsoft%2Fbindings%2Fqgis-plugin http://code.google.com/p/sextante/source/browse/#svn%2Ftrunk%2Fsoft%2Fbindings%2Fqgis-plugin ) otherwise I could not say that it not works

[Qgis-user] Re: Mac OS X, Sextante and other plugins or the forgotten users..

2012-04-01 Thread gene
The main problem is (from manual.pdf) SAGA algorithms can be run from SEXTANTE if you have SAGA installed in your system and you configure SEXTANTE properly so it can find SAGA executables. In particular, the SAGA command–line executable is needed to run SAGA algorithms. SAGA binaries are not

[Qgis-user] Re: Closure of forum

2012-04-01 Thread gene
I also think that a project like QGIS should have its own solution and do not rely on Gis - Stack Exchange. For me,it is a catch-all where beginners have difficulty finding their way and they don't dare to ask questions (with a well organized forum, they know where to ask questions or find a

[Qgis-user] Re: Mac OS X, Sextante and other plugins or the forgotten users..

2012-04-01 Thread gene
only ftools and mmqgis works, with problems, but they are already present in QGIS plugins For example, the help calls : subprocess.call(('xdg-open', filename)) but no xdg-open in standard Mac OS X: http://stackoverflow.com/questions/264395/linux-equivalent-of-the-mac-os-x-open-command

[Qgis-user] Re: EPSG 4326 Vs EPSG 900913

2012-03-28 Thread gene
see http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ Tiles à la Google Maps: Coordinates, Tile Bounds and Projection http://osgeo-org.1560.n6.nabble.com/file/n4663243/poster-coordinates.gif -- View this message in context:

[Qgis-user] Re: new xytools plugin: now open and save simple Excel files

2011-12-16 Thread gene
As a complement, my script, Convert a Microsoft Excel file with X,Y coordinates to a shapefile (or a memory layer) ( http://osgeo-org.1803224.n2.nabble.com/new-xytools-plugin-now-open-and-save-simple-Excel-files-td7098439.html#a7099937

[Qgis-user] Re: new xytools plugin: now open and save simple Excel files

2011-12-16 Thread gene
No, there is no need to PyUno and OpenOffice installed. Odt files are simple zipped files. The data are contained in a file named content.xml in the odt archive Then : import zipfile from xml.etree import ElementTree as ET z = zipfile.ZipFile('mycalc.odt') file= z.read('content.xml') data =

[Qgis-user] Re: new xytools plugin: now open and save simple Excel files

2011-12-16 Thread gene
(is xml a standard lib in windows?). yes it is a standard lib for all the distributions of Python since 2.5 version -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/new-xytools-plugin-now-open-and-save-simple-Excel-files-tp7098439p7101831.html Sent from the qgis-user

[Qgis-user] Re: new xytools plugin: now open and save simple Excel files

2011-12-15 Thread gene
Many thanks, I had made a first version (in French), also using xlw and xlrd ( http://www.portailsig.org/content/python-lire-et-ecrire-des-fichiers-microsoft-excel-application-quantum-gis ) Python : lire et écrire des fichiers Microsoft Excel, application à Quantum GIS and published on the

[Qgis-user] Re: PyQGIS: how to create a layer in the console ?

2011-04-30 Thread gene
I forgot, i use QGIS 1.7 r15814 from Kingchaos (Mac OS X) using only the first line (without the for...), id = 1, test=a, x= 235.0, y = 424.0 vl = QgsVectorLayer(Point, test, memory) pr = vl.dataProvider() pr.addAttributes( { id : string } ) True pr.addAttributes( { test : string } ) True

[Qgis-user] PyQGIS: how to create a layer in the console ?

2011-04-28 Thread gene
Hello, I'm trying to directly import Excel files with the Python module xlrd in the console: from PyQt4.QtCore import * import xlrd wb = xlrd.open_workbook('testxy.xls') sh = wb.sheet_by_index(0) for rownum in range(sh.nrows): ...print

Re: [Qgis-user] qgCSW plugin needs the filter python module to be installed

2009-12-20 Thread gene
I install the good owslib in my python site-package. Perhaps my problem comes due to the fact that I have already had a version of owslib installed before trying to install the plugin. -- View this message in context: