Re: [Qgis-user] Announcing Load Them All plugin

2010-10-19 Thread Paolo Cavallini
Il 19/10/2010 00:44, Germán Carrillo ha scritto:
 I'm pleased to announce the Load Them All plugin. 
 Download the
 plugin: 
 http://downloads.tuxfamily.org/tuxgis/geoblogs/plugin_LoadThemAll//loadthemall.zip

Thanks a lot Germán. Any special reason not to put in a standard repo? It would 
be
far easier for anybody to install it (and upgrade in the future).
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Fwd: [Qgis-user] QGIS Near

2010-10-19 Thread Zoran Jankovic
Sorry, I found out I sent this only to Carson, and not to the list, so I'm
forwarding the messagge to the list. Has anyone worked on a Near plugin,
or something similar?


-- Forwarded message --
From: Zoran Jankovic zoran.janko...@zisis.hr
Date: Sun, Oct 17, 2010 at 11:26 PM
Subject: Re: [Qgis-user] QGIS Near
To: carson.far...@gmail.com


Carson,

Have you, by any chance, pursued this idea further? I would be very much
interested in a plugin that could determine the closest point feature, and
select it, from the selected layer, when clicked anywhere on the map. Or,
closest to the preselected feature.

Example:

I have a lot of points that represent hydrants. This layer is selected in
the list. I choose this hypothetical Near function from the menu, and
click anywhere on the map. The closest hydrant to where I clicked is
selected.

Example 2:

Same as previous, but I do not have to click, I can select an already
existing point and than have the nearest hydrant to this point selected.

It is crucial that I do not want to create any new layers, define to and
from layers, etc. In the case of clicking on the map, there shouldn't be
any new point created...

I would just need the nearest feature selected.

Bonus: if the nearest feature could be a line, polyline or a polygon, not
just a point.

I'm aware that all of the above is already possible to accomplish in
PostGIS, but this way it would be much simpler, and it would work regardless
of data source: shp, postgis... as long as it is a vector layer in QGIS...

I'm very close to implementing QGIS here in my hometown, and if I manage to
actually earn any money from this, I would be more than happy to sponsor the
development of such a plugin, for a reasonable price. The problem is I need
the functionality now, and the money is yet to be earned :-(.

Best regards,

Zoran Jankovic
www.zisis.hr



On Mon, May 31, 2010 at 1:11 PM, Carson Farmer carson.far...@gmail.comwrote:

 No plugin that I know of, but it could probably be done quite easily
 from the Python console,
 something to the tune of (untested!):

 layer = qgis.utils.iface.mapCanvas().layer(0)
 provider = layer.dataProvider()
 provider.select([])
 feat = QgsFeature()
 index = QgsSpatialIndex()
 while provider.nextFeature(feat):
index.insertFeature(feat)
 provider.select([])
 while provider.nextFeature(feat):
near = index.nearestNeighbour(feat.geometry().asPoint(),1)
nearest = near[0]
# now do something here with the two points... and output results
 as you like

 # Obviously you'd have a bit more work to do here to compute angles
 etc. but all this functionality is available via the QGIS API...
 # If I get a chance, I might try to add this to the fTools/Vector menu...

 Regards,

 Carson

 On 26 May 2010 22:13, whollycow sjgard...@wisc.edu wrote:
  Is anyone aware of a function equivalent to Near in ArcGIS? (see
 
 http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Near_(Analysis)
  for reference) I have been searching all day and haven't come across
  anything quite like it. It seems like such basic functionality I would be
  surprised if someone hasn't already coded a solution.
  
  View this message in context: QGIS Near
  Sent from the qgis-user mailing list archive at Nabble.com.
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 



 --
 Carson J. Q. Farmer
 ISSP Doctoral Fellow
 National Centre for Geocomputation
 National University of Ireland, Maynooth,
 http://www.carsonfarmer.com/
 ___
 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] Announcing Load Them All plugin

2010-10-19 Thread Giovanni Manghi

 Thanks a lot Germán. Any special reason not to put in a standard repo?

+1

cheers!

-- Giovanni --

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


Re: Fwd: [Qgis-user] QGIS Near

2010-10-19 Thread Andreas Neumann
Hi Zoran,

I believe the infrastructure of what you want is already wihtin the
selection and identify tools in QGIS. Isn't this almost implemented in the
current identify tool?

The current identify tool selects near or close by features within a
certain tolerance. This tolerance can be set in Options -- Map tools
search radius. I believe it currently only effects the identify tool. Do
you want the same tolerance also be used for the click-selection tool?

Are you also aware that in QGIS 1.6 there are new selection tools?

* by click
* by rectangle
* by polygon
* by freehand
* by radius

Maybe this also helps to address your needs?

Of course you can combine it with previous selections by pressing the ctrl
key.

Andreas

On Tue, October 19, 2010 9:33 am, Zoran Jankovic wrote:
 Sorry, I found out I sent this only to Carson, and not to the list, so I'm
 forwarding the messagge to the list. Has anyone worked on a Near plugin,
 or something similar?


 -- Forwarded message --
 From: Zoran Jankovic zoran.janko...@zisis.hr
 Date: Sun, Oct 17, 2010 at 11:26 PM
 Subject: Re: [Qgis-user] QGIS Near
 To: carson.far...@gmail.com


 Carson,

 Have you, by any chance, pursued this idea further? I would be very much
 interested in a plugin that could determine the closest point feature, and
 select it, from the selected layer, when clicked anywhere on the map. Or,
 closest to the preselected feature.

 Example:

 I have a lot of points that represent hydrants. This layer is selected in
 the list. I choose this hypothetical Near function from the menu, and
 click anywhere on the map. The closest hydrant to where I clicked is
 selected.

 Example 2:

 Same as previous, but I do not have to click, I can select an already
 existing point and than have the nearest hydrant to this point selected.

 It is crucial that I do not want to create any new layers, define to and
 from layers, etc. In the case of clicking on the map, there shouldn't be
 any new point created...

 I would just need the nearest feature selected.

 Bonus: if the nearest feature could be a line, polyline or a polygon, not
 just a point.

 I'm aware that all of the above is already possible to accomplish in
 PostGIS, but this way it would be much simpler, and it would work
 regardless
 of data source: shp, postgis... as long as it is a vector layer in QGIS...

 I'm very close to implementing QGIS here in my hometown, and if I manage
 to
 actually earn any money from this, I would be more than happy to sponsor
 the
 development of such a plugin, for a reasonable price. The problem is I
 need
 the functionality now, and the money is yet to be earned :-(.

 Best regards,

 Zoran Jankovic
 www.zisis.hr



 On Mon, May 31, 2010 at 1:11 PM, Carson Farmer
 carson.far...@gmail.comwrote:

 No plugin that I know of, but it could probably be done quite easily
 from the Python console,
 something to the tune of (untested!):

 layer = qgis.utils.iface.mapCanvas().layer(0)
 provider = layer.dataProvider()
 provider.select([])
 feat = QgsFeature()
 index = QgsSpatialIndex()
 while provider.nextFeature(feat):
index.insertFeature(feat)
 provider.select([])
 while provider.nextFeature(feat):
near = index.nearestNeighbour(feat.geometry().asPoint(),1)
nearest = near[0]
# now do something here with the two points... and output results
 as you like

 # Obviously you'd have a bit more work to do here to compute angles
 etc. but all this functionality is available via the QGIS API...
 # If I get a chance, I might try to add this to the fTools/Vector
 menu...

 Regards,

 Carson

 On 26 May 2010 22:13, whollycow sjgard...@wisc.edu wrote:
  Is anyone aware of a function equivalent to Near in ArcGIS? (see
 
 http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Near_(Analysis)
  for reference) I have been searching all day and haven't come across
  anything quite like it. It seems like such basic functionality I would
 be
  surprised if someone hasn't already coded a solution.
  
  View this message in context: QGIS Near
  Sent from the qgis-user mailing list archive at Nabble.com.
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 



 --
 Carson J. Q. Farmer
 ISSP Doctoral Fellow
 National Centre for Geocomputation
 National University of Ireland, Maynooth,
 http://www.carsonfarmer.com/
 ___
 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



-- 
Andreas Neumann
http://www.carto.net/neumann/
http://www.svgopen.org/

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

Re: [Qgis-user] CSWclient is available

2010-10-19 Thread Paolo Cavallini
Il 18/10/2010 23:16, Maxim Dubinin ha scritto:
 Hi all,
 
 we're pleased to announce availability of CSWclient plugin from

Hi.
I'm getting an error from one of the default servers (PortalU Catalog Server):
Error getting server response:
Document is XML, but not CSW-ish
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: GRASS QGIS module list

2010-10-19 Thread Micha Silver



On 18/10/2010 23:10, Tim Michelsen wrote:


I've started to add color coding to the wiki page. I did just a few
entries to see how it looks.

Very cool.
But don't we want to have this created automatically somehow?


How might that be done?
The list of available modules is in the XML formatted 
default.qgc file. I suppose that could be parsed to make a list?
But in addition we want to indicate which modules are not 
applicable to QGIS.
And furthermore, there's a separate column to indicate 
priority for adding missing modules. That's more of a judgment 
call.



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

This mail was received via Mail-SeCure System.





--
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918

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


Re: [Qgis-user] CSWclient is available

2010-10-19 Thread Paolo Cavallini
Il 19/10/2010 10:26, Paolo Cavallini ha scritto:
 Il 18/10/2010 23:16, Maxim Dubinin ha scritto:
 Hi all,

 we're pleased to announce availability of CSWclient plugin from
 
 Hi.
 I'm getting an error from one of the default servers (PortalU Catalog Server):
 Error getting server response:
 Document is XML, but not CSW-ish
 All the best.

In fact I also get:
?xml version=1.0 encoding=UTF-8?
ServiceExceptionReport xmlns=http://www.opengis.net/ogc; version=1.2.0
  ServiceException code=InvalidParameterValue 
locator=outputSchemaAttribute
'outputSchema' is invalid./ServiceException
/ServiceExceptionReport

With another server (Alterra CSW), when asking Metadata

An error has occured while executing Python code:

Traceback (most recent call last):
  File /home/paolo/.qgis/python/plugins/cswclient/cswclientdialog.py, line 
692, in
showMetadata
dlg.textXML.document().setDefaultStyleSheet( myStyle )
AttributeError: 'CSWResponseDialog' object has no attribute 'textXML'

Python version:
2.6.6 (r266:84292, Oct  9 2010, 12:40:51)
[GCC 4.4.5]
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] CSWclient is available

2010-10-19 Thread Alexander Bruy
Hi Paolo,

thanks for feedback

19 октября 2010 г. 11:26 пользователь Paolo Cavallini
cavall...@faunalia.it написал:

 Hi.
 I'm getting an error from one of the default servers (PortalU Catalog Server):
 Error getting server response:
 Document is XML, but not CSW-ish

Seems server response is not fully compatible with OGC spec or invalid.

19 октября 2010 г. 11:37 пользователь Paolo Cavallini
cavall...@faunalia.it написал:
 In fact I also get:
 ?xml version=1.0 encoding=UTF-8?
 ServiceExceptionReport xmlns=http://www.opengis.net/ogc; version=1.2.0
  ServiceException code=InvalidParameterValue 
 locator=outputSchemaAttribute
 'outputSchema' is invalid./ServiceException
 /ServiceExceptionReport

 With another server (Alterra CSW), when asking Metadata

This seems to be a problem with the CSW implementation too. Server not
taking valid
parameters (which itself advertises in Capabilities XML).

I'll remove this servers from default list.

 An error has occured while executing Python code:

 Traceback (most recent call last):
  File /home/paolo/.qgis/python/plugins/cswclient/cswclientdialog.py, line 
 692, in
 showMetadata
dlg.textXML.document().setDefaultStyleSheet( myStyle )
 AttributeError: 'CSWResponseDialog' object has no attribute 'textXML'

This should be fixed in 0.0.8

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


Re: Fwd: [Qgis-user] QGIS Near

2010-10-19 Thread Zoran Jankovic
On Tue, Oct 19, 2010 at 9:55 AM, Andreas Neumann a.neum...@carto.netwrote:

 Hi Zoran,

 I believe the infrastructure of what you want is already wihtin the
 selection and identify tools in QGIS. Isn't this almost implemented in the
 current identify tool?


It sort of is, but not completely. Identify will ID all the features within
certain radios (percentage of extent), but it will ID _all_ of the features
within this radius. I only need the nearest, no matter how far away... Let
us say it is, for simplicity, within current extent.


 The current identify tool selects near or close by features within a
 certain tolerance. This tolerance can be set in Options -- Map tools
 search radius. I believe it currently only effects the identify tool. Do
 you want the same tolerance also be used for the click-selection tool?


Look above. This could be useful, but it is not the functionality I'm
currently looking after.


 Are you also aware that in QGIS 1.6 there are new selection tools?

 * by click
 * by rectangle
 * by polygon
 * by freehand
 * by radius


Yup, these are great, but they all select _multiple_ features within radius,
rectangle, etc.


 Maybe this also helps to address your needs?

 Of course you can combine it with previous selections by pressing the ctrl
 key.



BR,


---
Zoran Jankovic
ZIS-Izrada softvera i savjetovanje / ZIS - Software Development and
Consulting

http://www.zisis.hr

M: 00 385 98 682 902
T:  00 385 44 683 374

A. Senoe 4
44320 Kutina
Croatia
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Announcing Load Them All plugin

2010-10-19 Thread Germán Carrillo
Sure Paolo and Giovanni, I'm going to do that at night.

Regards,

Germán

On Tue, Oct 19, 2010 at 2:48 AM, Giovanni Manghi
giovanni.man...@gmail.comwrote:


  Thanks a lot Germán. Any special reason not to put in a standard repo?

 +1

 cheers!

 -- Giovanni --

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


-- 
---
  |\__
(:__)(
  |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user