Re: [Qgis-user] CSWclient is available

2010-10-29 Thread Annina Hirschi Wyss

On Oct 26, 2010, at 10:40 PM, Alexander Bruy wrote:
>> 
>> On Oct 21, 2010, at 7:49 PM, Paolo Cavallini wrote:
>> 
>>> I suggest to add it to the list of default
>>> servers.
> 
> Done in 0.0.9
> 

Nice to hear :-)

Another issue: I still can't install the plugin, getting the error (as already 
sent to the user-list on oct 21):

"The plugin depends on some components missing on your system. You need to 
install the following Python module in order to enable it: fgdc"

(Snow Leopard, QGIS 1.5, Framework install)

Any idea about that?___
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-21 Thread Annina Hirschi Wyss

On Oct 21, 2010, at 7:49 PM, Paolo Cavallini wrote:

> Il 21/10/2010 19:29, Annina Hirschi Wyss ha scritto:
>> You could try the: http://www.geocat.ch/geonetwork/srv/eng/csw? It's with 
>> the swiss ISO profile, but should normally be OGC compliant (at least with 
>> the default outputSchema).
> 
> I confirm: anything I tried works. Unfortunately there are no WMS and 
> downloadable data, so we cannot test all functions.

Yes there are WMS:

it's very very summary with the dc format:
http://www.geocat.ch/geonetwork/srv/eng/csw?request=GetRecordById&id=d5517e5e-1cc0-45d1-8839-54f9da4f5ebe

Better:
http://www.geocat.ch/geonetwork/srv/eng/csw?request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&id=d5517e5e-1cc0-45d1-8839-54f9da4f5ebe

But this is the extended ISO Profile from Switzerland. Perhaps this is why you 
didn't find any.
We will soon update the service to give "pure" ISO 19139 with this namespace, 
and create a proper one for the swiss profile.

you may have a look at it in the application: 

http://www.geocat.ch/geonetwork/srv/eng/geocat?uuid=d5517e5e-1cc0-45d1-8839-54f9da4f5ebe

or search for full text e.g.  or for a second wms  

I'm very interested if it works, or not, in order to optimise our service!

> I suggest to add it to the list of default

> servers.

:-)


___
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-21 Thread Paolo Cavallini
Il 21/10/2010 19:29, Annina Hirschi Wyss ha scritto:
> You could try the: http://www.geocat.ch/geonetwork/srv/eng/csw? It's with the 
> swiss ISO profile, but should normally be OGC compliant (at least with the 
> default outputSchema).

I confirm: anything I tried works. Unfortunately there are no WMS and 
downloadable
data, so we cannot test all functions. I suggest to add it to the list of 
default
servers.
One suggestion: why not adding the option of searching only services of a 
certain
type (e.g. dataset etc.)?
Also, it would be good if pressing return after digitizing the search string 
would
activate the search.
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] CSWclient is available

2010-10-21 Thread Annina Hirschi Wyss
Hi
unfortunately I can't try it myself

I'm getting the following error:
"The plugin depends on some components missing on your system. You need to 
install the following Python module in order to enable it: fgdc"

(Snow Leopard, QGIS 1.5, Framework install)

On Oct 21, 2010, at 7:14 PM, Paolo Cavallini wrote:

> Il 21/10/2010 19:04, Maxim Dubinin ha scritto:
>> that is my experience with CSW servers too
>> 
>> unfortunately, we cannot solve it from within CSWclient
> 
> Sure. The only thing we can do is to find a "good" one and hope it will 
> remain ok.

You could try the: http://www.geocat.ch/geonetwork/srv/eng/csw? It's with the 
swiss ISO profile, but should normally be OGC compliant (at least with the 
default outputSchema).

Cheers
Annina

___
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-21 Thread Paolo Cavallini
Il 21/10/2010 19:04, Maxim Dubinin ha scritto:
> that is my experience with CSW servers too
> 
> unfortunately, we cannot solve it from within CSWclient

Sure. The only thing we can do is to find a "good" one and hope it will remain 
ok.

In the meantime, more issues:
===
Traceback (most recent call last):
  File "/home/paolo/.qgis/python/plugins/cswclient/cswclientdialog.py", line 
688, in
showMetadata
metadata = utils.recordMetadata( cat.records[ recordId ] )
  File "/home/paolo/.qgis/python/plugins/cswclient/cswclient_utils.py", line 
341, in
recordMetadata
myMetadata += QStringList( record.rights ).join( ", " )
TypeError: arguments did not match any overloaded call:
  QStringList(): too many arguments
  QStringList(QString): argument 1 has unexpected type 'list'
  QStringList(QStringList): argument 1 has unexpected type 'list'
===
when asking metadata from
http://www.catalogo.sinanet.isprambiente.it/gi-cat/services/cswiso?service=CSW&version=2.0.2
layer
ANSIC03 Zooplankton CTD stations Zooplankton Grab

Please tell me before I start get boring!
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] CSWclient is available

2010-10-21 Thread Maxim Dubinin
that is my experience with CSW servers too

unfortunately, we cannot solve it from within CSWclient

Maxim

Вы писали 21 октября 2010 г., 11:58:16:

PC> Il 21/10/2010 09:45, Alexander Bruy ha scritto:
>> No problems, Paolo. This is my work as plugin developer.
>> On the contrary I am thankful for testing.
PC> ...
>> May be you have outdated plugin? Current version is 0.0.8

PC> I always update. However, I think these services may be subject to a number 
of
PC> transient problems (e.g. the Treviso server does not seem accessible now).
PC> I keep on searching, but I must say it's a frustrating fishing expedition. 
It would
PC> be nice to have at least one reliable server, with downloadable data, WMS, 
Metadata
PC> and XML.
PC> All the best.

___
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-21 Thread Paolo Cavallini
Il 21/10/2010 09:45, Alexander Bruy ha scritto:
> No problems, Paolo. This is my work as plugin developer.
> On the contrary I am thankful for testing.
...
> May be you have outdated plugin? Current version is 0.0.8

I always update. However, I think these services may be subject to a number of
transient problems (e.g. the Treviso server does not seem accessible now).
I keep on searching, but I must say it's a frustrating fishing expedition. It 
would
be nice to have at least one reliable server, with downloadable data, WMS, 
Metadata
and XML.
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] CSWclient is available

2010-10-21 Thread Alexander Bruy
No problems, Paolo. This is my work as plugin developer.
On the contrary I am thankful for testing.

But I can't reproduce this bug. I add
http://ows.provinciatreviso.it/geonetwork/srv/it/csw?request=GetCapabilities&service=CSW
to the server list. Then switch to the Search tab and start search:
keyword - geo
bbox - set global
When I select any record in results I'm able to press
Metadata and View XML buttons and there are no errors.

May be you have outdated plugin? Current version is 0.0.8

2010/10/21 Paolo Cavallini :
> Alex, you'll hate me: I'm still tormenting you.
> I get errors
> from
> http://ows.provinciatreviso.it/geonetwork/srv/it/csw?request=GetCapabilities&service=CSW
>
> 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'
>
> I understand it's a problem from the server, but I guess this should be 
> handled more
> cleanly by the plugin.

-- 
Alexander Bruy
___
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-21 Thread Paolo Cavallini
Il 20/10/2010 21:53, Paolo Cavallini ha scritto:
> Il 20/10/2010 21:11, Alexander Bruy ha scritto:
>> Seems that this is not CSWClient problem, I can't open this
>> URL with any browser or WMS client. AFAIK this issue affect
> 
> Thanks Alex. I understand all this, but I think we should select as default 
> servers
> just a few that are known to work, optherwise our poor users will be puzzled 
> whether
> is the server or the plugin.
> Anybody has a reliable server to mention?
> All the best.
Alex, you'll hate me: I'm still tormenting you.
I get errors
from
http://ows.provinciatreviso.it/geonetwork/srv/it/csw?request=GetCapabilities&service=CSW

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'

I understand it's a problem from the server, but I guess this should be handled 
more
cleanly by the plugin.

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] CSWclient is available

2010-10-20 Thread Paolo Cavallini
Il 20/10/2010 21:11, Alexander Bruy ha scritto:
> Seems that this is not CSWClient problem, I can't open this
> URL with any browser or WMS client. AFAIK this issue affect

Thanks Alex. I understand all this, but I think we should select as default 
servers
just a few that are known to work, optherwise our poor users will be puzzled 
whether
is the server or the plugin.
Anybody has a reliable server to mention?
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] CSWclient is available

2010-10-20 Thread Alexander Bruy
Sorry, there is an error my previous message.
Last paragraph should be

"Working WMS can be found at Geospatial One Stop server:
search by keyword "wms" and with global bounding box.
In search results should be record with name "The National Map Catalog WMS"
This is a correct and working WMS and you can add it to list."

-- 
Alexander Bruy
___
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-20 Thread Alexander Bruy
Seems that this is not CSWClient problem, I can't open this
URL with any browser or WMS client. AFAIK this issue affect
many servers: often URL's for download or to the WMS
are not valid, broken or pointed to the web-page instead
of downloadable data.

Working WMS can be found at Geospatial One Stop server:
search by keyword "wms" and with global bounding box.
In search results should be record with name "MassGIS WMS"
This is a correct and working WMS and you can add it to list.

2010/10/20 Paolo Cavallini :
> More testing:
> Searched "bird" around the globe from ESRI Geoportal I find e.g.
> http://mbirdims.fws.gov/nbii/
> If I click on "Add WMS" I get:
> Error:
> 
> Same for other WMSs. Anyone has found one that works?
> 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
>



-- 
Alexander Bruy
___
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-20 Thread Paolo Cavallini
Il 19/10/2010 12:00, Alexander Bruy ha scritto:
> Hi Paolo,
> 
> thanks for feedback

More testing:
Searched "bird" around the globe from ESRI Geoportal I find e.g.
http://mbirdims.fws.gov/nbii/
If I click on "Add WMS" I get:
Error:

Same for other WMSs. Anyone has found one that works?
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] CSWclient is available

2010-10-19 Thread Alexander Bruy
Hi Paolo,

thanks for feedback

19 октября 2010 г. 11:26 пользователь Paolo Cavallini
 написал:
>
> 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
 написал:
> In fact I also get:
> 
> http://www.opengis.net/ogc"; version="1.2.0">
>   locator="outputSchema">Attribute
> 'outputSchema' is invalid.
> 
>
> 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: [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:

http://www.opengis.net/ogc"; version="1.2.0">
  Attribute
'outputSchema' is invalid.


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 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


[Qgis-user] CSWclient is available

2010-10-18 Thread Maxim Dubinin
Hi all,

we're pleased to announce availability of CSWclient plugin from
GIS-Lab repo. CSWclient is a tool that makes easier work with Catalogue
Services. It allows to browse through and access non-spatial and
spatial data. CSWclient is inspired by proof-of-concept qgCSW plugin.

Some more functions:
- server management functionality (add new, edit or delete existing servers 
from list);
- ability to save and load servers from exchange file;
- user-friendly displaying server and record metadata
- search by keywords (single keyword or comma-separated list);
- grabbing Bbox from map canvas or enter it by hand;
- option to setup number of records to return;
- user-friendly displaying for search results;
- navigation through search results (first, last, prev, next);
- "Open URL" button for records with "downloadableData" type (If there
is an URL in record metadata user can open this URL in the default browser)
- "Add to WMS list" button for records with "liveData" type. If there
is an URL in record metadata user can try to add this URL to the QGIS WMS 
servers list.
- OWSLib included in plugin sources, so there is no dependencies;

CSWclient plugin is at the experimental stage and all kinds of comments are 
welcome.

Maxim

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