Re: [Qgis-developer] macosx dialog issues

2011-03-06 Thread Alexander Bruy
Hi Carson,

On Sun, 6 Mar 2011 18:02:28 +
Carson Farmer  wrote:

> Hi Alexander,
> 
> > 'Select by layers in the folder' checkbox allow you to select and
> > merge only some shapes not all available in folder. This can be usefull
> > when in folder many shapes with different geometries or when you need
> > only to merge only certain files.
> >
> > When this checkbox turned off tool will work with whole folder, but note
> > that there is no geometry checks and output file will have same geometry
> > as first pocessed file. This behaviour is fixed in separate MergeShapes
> > plugin from GIS-Lab. I'll port it to fTools soon.
> That would be great, thanks for that :-)

Done in r15370.

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


Re: [Qgis-developer] macosx dialog issues

2011-03-06 Thread Alexander Bruy
Hi John,

2011/3/6 John C. Tull :
> Hi Alexander,
>
> Thanks for the explanation. Yes, the improved plugin would be beneficial for 
> many, I suspect. How does your plugin handle mixed geometries? That led to a 
> crash with the ftools plugin.

In MergeShapes plugin there is a combobox that allow to select shapes
with which geometry type should be merged. E.g. when selected 'Polygon'
only polygonal shapes from folder processed all other are ignored.

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


Re: [Qgis-developer] macosx dialog issues

2011-03-06 Thread Carson Farmer
Hi Alexander,

> 'Select by layers in the folder' checkbox allow you to select and
> merge only some shapes not all available in folder. This can be usefull
> when in folder many shapes with different geometries or when you need
> only to merge only certain files.
>
> When this checkbox turned off tool will work with whole folder, but note
> that there is no geometry checks and output file will have same geometry
> as first pocessed file. This behaviour is fixed in separate MergeShapes
> plugin from GIS-Lab. I'll port it to fTools soon.
That would be great, thanks for that :-)


-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] macosx dialog issues

2011-03-06 Thread John C. Tull
Hi Alexander,

Thanks for the explanation. Yes, the improved plugin would be beneficial for 
many, I suspect. How does your plugin handle mixed geometries? That led to a 
crash with the ftools plugin.

Cheers,
John

On Mar 6, 2011, at 8:02 AM, Alexander Bruy wrote:

> Hi John,
> 
> On Sat, 5 Mar 2011 10:40:54 -0800
> John C. Tull  wrote:
> 
>> The only problem I had was with Merge Shapefiles. If I tick the 'Select by
>> layers in the folder', I cannot choose a folder in the dialog. The Ok button
>> never becomes available when trying to select a folder. I can select a
>> shapefile and the OK button is available. I might be misunderstanding what
>> this option is intended to do. When turning it off, I can select a folder,
>> but the tool crashed qgis. This was because my folder had mixed geometry
>> types. See output below. I suppose this crash should be avoided somehow.
> 
> 'Select by layers in the folder' checkbox allow you to select and
> merge only some shapes not all available in folder. This can be usefull
> when in folder many shapes with different geometries or when you need
> only to merge only certain files.
> 
> When this checkbox turned off tool will work with whole folder, but note
> that there is no geometry checks and output file will have same geometry
> as first pocessed file. This behaviour is fixed in separate MergeShapes
> plugin from GIS-Lab. I'll port it to fTools soon.
> 
> Also there is a ticket http://trac.osgeo.org/qgis/ticket/3077 related to
> Merge shapefiles tool crashes
> 
> -- 
> Alexander Bruy

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


Re: [Qgis-developer] macosx dialog issues

2011-03-06 Thread Alexander Bruy
Hi John,

On Sat, 5 Mar 2011 10:40:54 -0800
John C. Tull  wrote:

> The only problem I had was with Merge Shapefiles. If I tick the 'Select by
> layers in the folder', I cannot choose a folder in the dialog. The Ok button
> never becomes available when trying to select a folder. I can select a
> shapefile and the OK button is available. I might be misunderstanding what
> this option is intended to do. When turning it off, I can select a folder,
> but the tool crashed qgis. This was because my folder had mixed geometry
> types. See output below. I suppose this crash should be avoided somehow.

'Select by layers in the folder' checkbox allow you to select and
merge only some shapes not all available in folder. This can be usefull
when in folder many shapes with different geometries or when you need
only to merge only certain files.

When this checkbox turned off tool will work with whole folder, but note
that there is no geometry checks and output file will have same geometry
as first pocessed file. This behaviour is fixed in separate MergeShapes
plugin from GIS-Lab. I'll port it to fTools soon.

Also there is a ticket http://trac.osgeo.org/qgis/ticket/3077 related to
Merge shapefiles tool crashes

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


Re: [Qgis-developer] macosx dialog issues

2011-03-05 Thread John C. Tull
Hi Carson,

On Mar 5, 2011, at 11:28 AM, Carson Farmer wrote:

> Hi John, I believ José had problems with:
> 
> - Geoprocessing tools available as Intersect two layers

Works for me.

> - Data management tools as Export to projection

Also works fine for me.

>> The only problem I had was with Merge Shapefiles. If I tick the 'Select by 
>> layers in the folder', I cannot choose a folder in the dialog. The Ok button 
>> never becomes available when trying to select a folder. I can select a 
>> shapefile and the OK button is available. I might be misunderstanding what 
>> this option is intended to do. When turning it off, I can select a folder, 
>> but the tool crashed qgis. This was because my folder had mixed geometry 
>> types. See output below. I suppose this crash should be avoided somehow.
> Hmm, ok I'll look into this one, thanks for the update.
>> 

I hope it is easily solved.

>> One random thought arose as I tested the tools. Why is the random select 
>> tool limited to 30 features?
> What? It shouldn't be? Unless your layer only has 30 features?

Ok, tested again and it worked fine. I must have been working on a layer with 
only 30 features and did not make the connection there. It works as it should.

Cheers,
John___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] macosx dialog issues

2011-03-05 Thread Carson Farmer
Hi John, I believ José had problems with:

- Geoprocessing tools available as Intersect two layers
- Data management tools as Export to projection

> The only problem I had was with Merge Shapefiles. If I tick the 'Select by 
> layers in the folder', I cannot choose a folder in the dialog. The Ok button 
> never becomes available when trying to select a folder. I can select a 
> shapefile and the OK button is available. I might be misunderstanding what 
> this option is intended to do. When turning it off, I can select a folder, 
> but the tool crashed qgis. This was because my folder had mixed geometry 
> types. See output below. I suppose this crash should be avoided somehow.
Hmm, ok I'll look into this one, thanks for the update.
>
> One random thought arose as I tested the tools. Why is the random select tool 
> limited to 30 features?
What? It shouldn't be? Unless your layer only has 30 features?

Carson

-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] macosx dialog issues

2011-03-05 Thread William Kyngesburye
Which tools?  Is the Browse button missing for the output, or nothing happens 
when you click it?

I've seen odd Qt issues with different Qt versions and I have a couple builds I 
can test.

On Mar 5, 2011, at 5:37 AM, Carson Farmer wrote:

> Hello Devs,
> A user (Dr. José Carlos Guerrero) has contacted me recently with a
> problem that appears to stem from Qt dialogs on MacOS:
> 
> José is unable to specify output files from several of the fTools
> tools where a save dialog should be popping up.
> 
> His install came from here: http://www.kyngchaos.com/software/qgis and
> the relevant particulars are here:
> MACOSX 10.6.6
> QGIS 1.6
> ftools: 0.6.1
> 
> Any thoughts?
> 
> -- 
> Carson J. Q. Farmer
> ISSP Doctoral Fellow
> National Centre for Geocomputation
> National University of Ireland, Maynooth,
> http://www.carsonfarmer.com/
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-
William Kyngesburye 
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no particular 
pleasure I shall kill every ___ I can until the war is over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of the 
allied nations devoted an entire year exclusively to hating the  it 
wouldn't kill one ___ nor shorten the war one day."

 "And it might give 'em all stomach ulcers."

- Tarzan, on war

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