Re: [Qgis-user] Announcing ChartMaker plugin

2010-08-16 Thread Paolo Cavallini
Il 15/08/2010 13:49, Ricardo Filipe Soares Garcia da ha scritto:
 I have uploaded a new plugin called 'ChartMaker'.

Hi Ricardo.
Thanks for this. It looks very similar to Statist plugin, what are the main
improvements over it?

BTW, if I run the Profile romLine without selecting a line (I know this is 
wrong), I
get an error:

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
  File 
/home/paolo/.qgis/python/plugins/ProfileFromLine/ProfileFromLineDialog.py,
line 44, in accept
params[interval], self.ui.progressBar)
  File /home/paolo/.qgis/python/plugins/ProfileFromLine/ProfileFromLine.py, 
line
106, in create_profile_layer
AttributeError: 'NoneType' object has no attribute 'dataProvider'

This should be trapped, and a more meaningful error should be displayed to the 
user.

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] Announcing ChartMaker plugin

2010-08-16 Thread Ricardo Filipe Soares Garcia da
Hi Paolo

 Hi Ricardo.
 Thanks for this. It looks very similar to Statist plugin, what are the main
 improvements over it?

As far as I can tell, the Statist plugin is giving you statistics for
an attribute, like maximum, mean value, ... and it also displays a
nice histogram with the frequency distribution.
With the ChartMaker plugin my intention is different: being able to
simply plot two attribute fields (or more, using more data series), to
show a graphical representation of the data. So the ChartMaker plugin
applies to pairs of fields and plots them, without giving the user any
stats (for that the Statist plugin is doing quite well!)

 BTW, if I run the Profile romLine without selecting a line (I know this is 
 wrong), I
 get an error:

 Errore durante l'esecuzione di codice Python:

 Traceback (most recent call last):
  File 
 /home/paolo/.qgis/python/plugins/ProfileFromLine/ProfileFromLineDialog.py,
 line 44, in accept
    params[interval], self.ui.progressBar)
  File /home/paolo/.qgis/python/plugins/ProfileFromLine/ProfileFromLine.py, 
 line
 106, in create_profile_layer
 AttributeError: 'NoneType' object has no attribute 'dataProvider'

 This should be trapped, and a more meaningful error should be displayed to 
 the user.


Yeah, you're right. I'll look into it later. Thanks for testing it out ;)


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


[Qgis-user] Re: Available CRS's not shown with some WMS servers

2010-08-16 Thread Goyo
2010/8/11 Goyo goyod...@gmail.com:

 I'm trying this server:
 http://www.idee.es/wms/PNOA/PNOA

 When I choose a layer the dialog says there is one CRS available but
 none is selected by default (see attached screenshot). If I press the
 Change button no CRS is available. This used to work in 1.4.0 and in
 1.5.0 after my report and the fix.

I found a workarount to show the layers in this server setting the CRS
in the properties dialog, then saving and reloading the project. Still
QGis don't get the available CRS's from the getcapabilities document
but I can't find anything wrong in it.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Available CRS's not shown with some WMS servers

2010-08-16 Thread Borys Jurgiel
Dnia poniedziałek 16 sierpnia 2010 o 12:19:43 Goyo napisał(a):
 2010/8/11 Goyo goyod...@gmail.com:
  I'm trying this server:
  http://www.idee.es/wms/PNOA/PNOA
  
  When I choose a layer the dialog says there is one CRS available but
  none is selected by default (see attached screenshot). If I press the
  Change button no CRS is available. This used to work in 1.4.0 and in
  1.5.0 after my report and the fix.
 
 I found a workarount to show the layers in this server setting the CRS
 in the properties dialog, then saving and reloading the project. Still
 QGis don't get the available CRS's from the getcapabilities document
 but I can't find anything wrong in it.

In the getcapabilities response there is a strange line:

SRSEPSG:4230 EPSG:4258 EPSG:4326 EPSG:25828 EPSG:25829 EPSG:25830 EPSG:25831 
EPSG:23029 EPSG:23030 EPSG:23031 EPSG:32628 EPSG:32629 EPSG:32630 
EPSG:32631/SRS

Personally, I've never seen a series of SRSes put together in one line. 
Usually it looks like that:

SRSEPSG:4230/SRS
SRSEPSG:4258/SRS
SRSEPSG:4326/SRS
...

Could somebody state if it breaks the OGC WMS specification or not? If not, we 
should adapt this format too.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Available CRS's not shown with some WMS servers

2010-08-16 Thread Goyo
2010/8/16 Borys Jurgiel borysia...@aster.pl:

 In the getcapabilities response there is a strange line:

 SRSEPSG:4230 EPSG:4258 EPSG:4326 EPSG:25828 EPSG:25829 EPSG:25830
 EPSG:25831 EPSG:23029 EPSG:23030 EPSG:23031 EPSG:32628 EPSG:32629 EPSG:32630
 EPSG:32631/SRS

 Personally, I've never seen a series of SRSes put together in one line.
 Usually it looks like that:

 SRSEPSG:4230/SRS

 SRSEPSG:4258/SRS

 SRSEPSG:4326/SRS

 ...

 Could somebody state if it breaks the OGC WMS specification or not? If not,
 we should adapt this format too.

It is the only way in version 1.1.0 and it is deprecated (but have to
be handled by clients) in version 1.1.1. QGis 1.4 is supposed to
support both versions as stated in the manual. From WMS 1.1.1
specification[1]:

--%--
When a Layer is available in several Spatial Reference Systems, there
are two ways to
encode the list of SRS values. The first of these is new in this version of the
specification, the second is deprecated but still included for
backwards compatibility.

1. Optional, recommended: Multiple single-valued SRS elements: a list of SRS
values is represented as a sequence of SRS elements, each of which
contains only a
single SRS name. Example: SRSEPSG:1234/SRS SRSEPSG:5678/SRS.

2. Deprecated: Single list-valued SRS element: a list of SRS values
is represented as
a whitespace-separated list of SRS names contained within a single
SRS element.
Example: SRSEPSG:1234 EPSG:5678/SRS.

WMS 1.1.1 Clients shall be prepared to handle either encoding.

NOTE: Change from version 1.1.0: Only the second, deprecated encoding
was previously defined.
--%--

I'm pretty sure QGis has supported this in the past.

[1]http://portal.opengeospatial.org/files/?artifact_id=1081version=1format=pdf
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Available CRS's not shown with some WMS servers

2010-08-16 Thread Borys Jurgiel
 WMS 1.1.1 Clients shall be prepared to handle either encoding.

So could you please fill a ticket on trac?

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


Re: [Qgis-user] Re: Available CRS's not shown with some WMS servers

2010-08-16 Thread Jürgen E . Fischer
Hi,

On Mon, 16. Aug 2010 at 13:26:40 +0200, Goyo wrote:
  SRSEPSG:4230 EPSG:4258 EPSG:4326 EPSG:25828 EPSG:25829 EPSG:25830
  EPSG:25831 EPSG:23029 EPSG:23030 EPSG:23031 EPSG:32628 EPSG:32629 EPSG:32630
  EPSG:32631/SRS

Hm, looks like I've seen that with CRS instead.  r13666 might be responsible
for the regression and in that case r14090 should fix it.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-user] Re: Available CRS's not shown with some WMS servers

2010-08-16 Thread Goyo
2010/8/16 Borys Jurgiel borysia...@gmail.com:
 WMS 1.1.1 Clients shall be prepared to handle either encoding.

 So could you please fill a ticket on trac?

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


[Qgis-user] Re: Available CRS's not shown with some WMS servers

2010-08-16 Thread thedok78

I can confirm that it's working fine in 14091.

Ciao
Luca
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Available-CRS-s-not-shown-with-some-WMS-servers-tp5411788p5427778.html
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


[Qgis-user] plugin topography

2010-08-16 Thread Dario
plugin topography does editing postgis layer?
I tried to draw polygons, but could not.

Dario
dari...@yahoo.com.br



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


Re: [Qgis-user] error when copying element to layer to postgis

2010-08-16 Thread Paolo Cavallini
Il 16/08/2010 19:45, Dario ha scritto:
 error when copying element to layer to postgis
 
 
 when copying an element of a shape layer to postgis layer reports the
 following error:
 ERROR: new row for relation fortificacoes violates check constraint
 enforce_geotype_the_geom

You are trying to copy a geometry of a type different from the one in PostGIS 
(e.g.
lines in points, etc.).
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