Re: [Qgis-user] Union Tool - Ftools/Sextante - How should the real result be

2013-05-08 Thread vinayan
Sorry ...forgot to mention that I was using Qgis master version 9e5b889 for
the above test.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Union-Tool-Ftools-Sextante-How-should-the-real-result-be-tp5051653p5052154.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Union Tool - Ftools/Sextante - How should the real result be

2013-05-08 Thread vinayan
Hi Victor,

Sorry for the late reply. Thanks for the fix. Now for the second case
described in my question, it works well. The results are correct as per the
explanation by Bernhard.

Now for the first case, the results are not correct. Please see the before
and after results from a simple shapefile. There are two issues. First, the
left and right half circles are not created in the result. The polygons are
not splitting among each other as can be seen from the color differences in
the result.

Note - this is probably due to the iterator getting closed when issuing a
getFeaturebyId request..although I am not sure..
Do you want me to file a ticked for this?

 

Thanks
Vinayan



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Union-Tool-Ftools-Sextante-How-should-the-real-result-be-tp5051653p5052152.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] move files with qgis actions

2013-05-08 Thread Nathan Woodrow
Hey Lito,

In your batch file you can use the MOVE command
http://www.computerhope.com/movehlp.htm

If you have a batch file like:

MOVE %1 C:\Temp\

%1 is the first arg passed to the batch file

In QGIS you would have a action that calls the batch file like this

yourbatch.bat [% ImageField %]

- Nathan


On Tue, May 7, 2013 at 8:28 PM, Lito Macieira wrote:

>  Hi guys,
>
> I have one doubt, may be anyone can help me.
> I have one layer (like houses). For each house i have one picture.
> I want that, when a user insert a new feature, choose a picture. Then i
> want that qgis move that picture to another folder with the name of the
> genereted ID for that house.
> I'm trying do that with qgis actions (and a bat file may be??) and i know
> how to give them the genereted id (with the '%ID') but i don't now how to
> move the photo.
> Can anyone help me with that or point me a direction?
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis-messager d'erreur

2013-05-08 Thread Fridolin CHOULA
J'ai installé avec ''QGIS-OSGeo4W-1.8.0-1-Setup''. Je vais reprendre le 
téléchargement. Je travail avec Windows 7.
 
CHOULA Fridolin 
Ingénieur des Eaux, Forêts et des Chasses 
POBox 15788 Yaoundé CAMEROON 
skype: fchoula
Mob: 00 237 99 59 22 41 




>
> De : Stéphane Henriod 
>À : Fridolin CHOULA  
>Cc : "qgis-user@lists.osgeo.org"  
>Envoyé le : Mercredi 8 mai 2013 11h03
>Objet : Re: [Qgis-user] Qgis-messager d'erreur
> 
>
>
>Bonjour
>
>quelle version de Qgis utilisez-vous? Et quel OS? Windows?
>
>Pouvez-vous télécharger la dernière version stable (1.8) ici 
>http://hub.qgis.org/projects/quantum-gis/wiki/DownloadFr et ré-essayer?
>
>
>
>
>
>--
>"Le mot progrès n'aura aucun sens tant qu'il y aura des enfants malheureux" -- 
>Albert Einstein
>
>"A journey does not need reasons. Before long, it proves to be reason enough 
>in itself. One thinks that one is going to make a journey, yet soon it is the 
>journey that makes or unmakes you." -- Nicolas Bouvier
>
>Photos de voyages, photos de montagne: http://www.henriod.info   
>
>
>
>On Wed, May 8, 2013 at 11:47 AM, Fridolin CHOULA  wrote:
>
>Au moment de lancer QGIS, je reçois ce message.
>>''Impossible de démarrer le programme car il manque qwt5.dll
sur votre ordinateur. Essayez de réinstaller le programme pour corriger ce
problème.''
>>J'ai repris l'installation, mais sans succès. Que puis-je faire?
>>
>>
>> 
>>CHOULA Fridolin 
>>Ingénieur des Eaux, Forêts et des Chasses 
>>POBox 15788 Yaoundé CAMEROON 
>>skype: fchoula
>>Mob: 00 237 99 59 22 41 
>>
>
>
>___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS and Oracle native connection

2013-05-08 Thread Jonathan Moules
Bump.
Anyone? I'd love to try this and test it, but can't if I have no idea how
to even connect. Is there any documentation for it anywhere?
Thanks,
Jonathan


On 1 May 2013 15:35, Jonathan Moules wrote:

> Hi List,
> I've got QGIS 1.9.0 based on a weekly nightly and it includes the new
> Oracle Spatial layer connection.
> Unfortunately the help is empty and I can't figure out what I should
> populate my fields with.
>
> There are 6 fields, Four are self explanatory, but I can't figure out the
> other two.
>
> Name - User-friendly string for me.
> Database - ???
> Host -???
>  Port - 1521
> Username - I know this.
> Password - I know this.
>
> My issue is with the "Database" and "Host" settings.
> In Oracle SQL Developer (from the same machine) I have the following that
> work:
> SID: gistest
> Hostname: 10.1.45.34
>
> But when I try this combination in QGIS, I get an ORA-12514 error 
> ("TNS:listener
> does not currently know of service requested in connect descriptor").
>
> Any suggestions?
> Also, what do the bottom four checkboxes do? (The top two are self
> explanatory).
>
> Thanks,
> Jonathan
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis-messager d'erreur

2013-05-08 Thread Stéphane Henriod
Bonjour

quelle version de Qgis utilisez-vous? Et quel OS? Windows?

Pouvez-vous télécharger la dernière version stable (1.8) ici
http://hub.qgis.org/projects/quantum-gis/wiki/DownloadFr et ré-essayer?



--
"Le mot progrès n'aura aucun sens tant qu'il y aura des enfants malheureux"
-- Albert Einstein

"A journey does not need reasons. Before long, it proves to be reason
enough in itself. One thinks that one is going to make a journey, yet soon
it is the journey that makes or unmakes you." -- Nicolas Bouvier

Photos de voyages, photos de montagne: http://www.henriod.info


On Wed, May 8, 2013 at 11:47 AM, Fridolin CHOULA  wrote:

> Au moment de lancer QGIS, je reçois ce message.
> ''Impossible de démarrer le programme car il manque qwt5.dll sur votre
> ordinateur. Essayez de réinstaller le programme pour corriger ce problème.''
> J'ai repris l'installation, mais sans succès. Que puis-je faire?
>
>
> *CHOULA Fridolin
> Ingénieur des Eaux, Forêts et des Chasses *
> *POBox 15788 Yaoundé CAMEROON *
> *skype: fchoula*
> *Mob: 00 237 99 59 22 41*
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Qgis-messager d'erreur

2013-05-08 Thread Fridolin CHOULA
no need to reinstall 
>> SEXTANTE, just reinstall the latest QGIS dev, which includes
>> SEXTANTE)
>>
>> Thanks!
>>
>> 2013/5/7 Ivan Santiago:
>>> Hello:
>>>
>>>
>>>
>>> I downloaded (now) and reinstalled Sextante.
>>>
>>>
>>>
>>> Unfortunately the results were the same, holding duplicate polygons
>>> when using Union tool.
>>>
>>>
>>>
>>> It is easy to see the dups applying transparency.
>>>
>>>
>>>
>>>
>>>
>>> ---
>>> Iv?n Santiago
>>> GIS Specialist
>>> Information Technologies
>>> Office of Management and Budget
>>> 787.725.9420 x 2378
>>> Calle Cruz 254
>>> PO Box 9023228
>>> San Juan, PR 00902-3228
>>>
>>>
>
>
>__ Information from ESET Mail Security, version of virus signature 
>database 8307 (20130507) __
>
>The message was checked by ESET Mail Security.
>http://www.eset.com
>
>
>
>
>--
>
>Message: 7
>Date: Wed, 8 May 2013 08:44:24 +0200
>From: Cascafico Giovanni 
>To: Astou Mbacke mbaye 
>Cc: qgis-user 
>Subject: Re: [Qgis-user] openstreetmap in qgis
>Message-ID:
>    
>Content-Type: text/plain; charset="iso-8859-1"
>
>You can download shapefiles (shp) from geofabrik.de and import straight in
>Qgis (Add vector)
>
>For Importing .Osm I'd wait next qgis version because of a bug (ways with
>high ID ignored)
>
>Once imported you can render by editing layer properties
>-- next part --
>An HTML attachment was scrubbed...
>URL: 
><http://lists.osgeo.org/pipermail/qgis-user/attachments/20130508/0b783f0b/attachment-0001.html>
>
>--
>
>Message: 8
>Date: Wed, 8 May 2013 00:53:05 -0700 (PDT)
>From: marquz74 
>To: qgis-user@lists.osgeo.org
>Subject: [Qgis-user] Transformation tools plugin and CRS
>Message-ID: <1367999585084-5052004.p...@n6.nabble.com>
>Content-Type: text/plain; charset=us-ascii
>
>Hi to all,
>I'm struggling with a *simple* issue concerning CRS transformations.
>The native CRS of my layer is ED50 UTM 33N (EPSG 23033) and I need to get a
>WGS84 (EPSG 4326 - not projected).
>Some good fellows developed an NTV2 grid for the trasformation from ED50
>(EPSG 4230 - not projected) to WGS84 (EPSG 4326) for Sicily.
>
>So these these are the steps I followed:
>1. EPSG 23033 -> EPSG 4230 conversion;
>2. EPSG 4230 -> EPSG 4326 using the NTV2 grid by using the *transformation
>tools* plugin;
>
>After the transformation I expected the *final* CRS was EPSG 4326, but what
>I got was a custom CRS:
>
>USER:11 -  * Generated CRS (+proj=longlat +no_defs
>+nadgrids=/mypath/myNTV2.gsb +ellps=intl +wktext).
>
>So, if I export the shape and want to load it in another GIS, the associated
>CRS results unkown.
>
>I'm probably confused about some basic concept... where am I wrong?
>Thanks in advance.
>Marco
>
>
>
>--
>View this message in context: 
>http://osgeo-org.1560.x6.nabble.com/Transformation-tools-plugin-and-CRS-tp5052004.html
>Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>
>
>--
>
>Message: 9
>Date: Wed, 8 May 2013 02:01:46 -0700 (PDT)
>From: Amon-ra 
>To: qgis-user@lists.osgeo.org
>Subject: [Qgis-user] R script with graphical interface under SEXTANTE
>Message-ID: <1368003706450-5052013.p...@n6.nabble.com>
>Content-Type: text/plain; charset=us-ascii
>
>Dear all,
>
>I need to use R (2.15) scripts under sextante to give the results (spatial
>data) to QGIS.
>My R scripts use many libraries to create BBNs, to change BBNs with
>graphical tools and load data and spatial data.
>
>For now, I can only open temporary (less than 1 second) my R script main
>frame with this :
>## [goupTest]=group
>
>source("c:\folder\main.R")
>
>I found many tutorials to know how I can write a short R script with some
>sextante commands but not really if I can call an entire R script software
>with a graphical interface under sextante.
>
>So, I have many questions:
>
>Can I do that ?
>
>What is the best way ?
>
>Should I re-write all the R scripts or just the main script which call the
>others will be enough?
>
>QGIS will have access to spatia data only after the end of my algorithm, is
>it a way to do it at any time ?
>
>Cheers,
>
>Sophie
>
>
>
>--
>View this message in context: 
>http://osgeo-org.1560.x6.nabble.com/R-script-with-graphical-interface-under-SEXTANTE-tp5052013.html
>Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>
>
>--
>
>___
>Qgis-user mailing list
>Qgis-user@lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>End of Qgis-user Digest, Vol 87, Issue 15
>*
>
>
>___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] update composer and export as png, using python

2013-05-08 Thread Raymond Nijssen
For creating a map animation I've made a python script that updates my 
layer's subset filter many times. It also updates my mapCanvas and the 
title label in my composer.


Now I'd like to automatically update the map in my composer as well, and 
export my entire composer as a png file afterwards.


I've been checking the cookbook and (c++) api docs very well but really 
cannot find a way that works...


Hoping any one can help.

Thanks,
Raymond

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] R script with graphical interface under SEXTANTE

2013-05-08 Thread Amon-ra
Dear all,

I need to use R (2.15) scripts under sextante to give the results (spatial
data) to QGIS.
My R scripts use many libraries to create BBNs, to change BBNs with
graphical tools and load data and spatial data.

For now, I can only open temporary (less than 1 second) my R script main
frame with this :
## [goupTest]=group

source("c:\folder\main.R")

I found many tutorials to know how I can write a short R script with some
sextante commands but not really if I can call an entire R script software
with a graphical interface under sextante.

So, I have many questions:

Can I do that ?

What is the best way ?

Should I re-write all the R scripts or just the main script which call the
others will be enough?

QGIS will have access to spatia data only after the end of my algorithm, is
it a way to do it at any time ?

Cheers,

Sophie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/R-script-with-graphical-interface-under-SEXTANTE-tp5052013.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Transformation tools plugin and CRS

2013-05-08 Thread marquz74
Hi to all,
I'm struggling with a *simple* issue concerning CRS transformations.
The native CRS of my layer is ED50 UTM 33N (EPSG 23033) and I need to get a
WGS84 (EPSG 4326 - not projected).
Some good fellows developed an NTV2 grid for the trasformation from ED50
(EPSG 4230 - not projected) to WGS84 (EPSG 4326) for Sicily.

So these these are the steps I followed:
1. EPSG 23033 -> EPSG 4230 conversion;
2. EPSG 4230 -> EPSG 4326 using the NTV2 grid by using the *transformation
tools* plugin;

After the transformation I expected the *final* CRS was EPSG 4326, but what
I got was a custom CRS:

USER:11 -  * Generated CRS (+proj=longlat +no_defs
+nadgrids=/mypath/myNTV2.gsb +ellps=intl +wktext).

So, if I export the shape and want to load it in another GIS, the associated
CRS results unkown.

I'm probably confused about some basic concept... where am I wrong?
Thanks in advance.
Marco



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Transformation-tools-plugin-and-CRS-tp5052004.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user