Re: [Qgis-user] Open Data via Open Standards using Open Source: a new tool from NIWA

2012-08-17 Thread Marco Hugentobler

Hi Ivan

The analysis tools are removed with the customisation feature in QGIS 
(the installer sets hidden analysis tools as default, later it can be 
enabled by the user if needed).


The source code is available on github: 
https://github.com/mhugent/Quantum-GIS/tree/nqmap


Regards,
Marco

On 18.08.2012 08:46, Ivan Mincik wrote:

On Fri, 2012-08-17 at 18:16 -0700, pcr...@pcreso.com wrote:

Hi Ivan,

Two approaches I know of, the developer (Sourcepole in Switzerland)
got a pretty free hand in how to do this.

Editing capabilities are hidden from the toolbar on startup, but are
still in the package, analysis tools are removed. Whether just made
unavailable or actually not compiled in I don't know.



I am interested in building some similar limited interface for beginners
and limit tools to some reasonable set which I will be able to offer
support.
For that reason I was interested to diff Your source codes. Is it
possible to get it ?

I wonder if new customization support (Settings -> Customization) could
somehow be used for this purpose.






--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

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


Re: [Qgis-user] Open Data via Open Standards using Open Source: a new tool from NIWA

2012-08-17 Thread Ivan Mincik
On Fri, 2012-08-17 at 18:16 -0700, pcr...@pcreso.com wrote:
> Hi Ivan,
> 
> Two approaches I know of, the developer (Sourcepole in Switzerland)
> got a pretty free hand in how to do this.
> 
> Editing capabilities are hidden from the toolbar on startup, but are
> still in the package, analysis tools are removed. Whether just made
> unavailable or actually not compiled in I don't know.
> 
> 

I am interested in building some similar limited interface for beginners
and limit tools to some reasonable set which I will be able to offer
support. 
For that reason I was interested to diff Your source codes. Is it
possible to get it ?

I wonder if new customization support (Settings -> Customization) could
somehow be used for this purpose.



-- 
Ivan Mincik 


signature.asc
Description: This is a digitally signed message part
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] some errors with Python connected to launching DB Manager and PostGIS Manager

2012-08-17 Thread Giuseppe Sucameli
Hi,

On Fri, Aug 17, 2012 at 1:17 PM, Bartek Wol  wrote:
> OK so updating on the error - managed to solve the problem with not
> starting DB Manager - the missing file was psycopg2

could you please open a ticket on the QGis tracker for this
issue? I'll give it a look soon.

[[snip]]
> when I
> click at the database to enlarge the list the error popps out, the
> funny thing is that all of the functions work properly just the errors
> annoys all the time):

Good to know that anyway it works. Please, file a ticket
also for this problem.

Regards.

>
> Traceback (most recent call last):
>   File "C:\PROGRA~2\Quantum GIS
> Lisboa\apps\qgis\python\plugins\db_manager\db_manager.py", line 99, in
> itemChanged
> self.refreshTabs()
>   File "C:\PROGRA~2\Quantum GIS
> Lisboa\apps\qgis\python\plugins\db_manager\db_manager.py", line 150,
> in refreshTabs
> self.info.showInfo( item )
>   File "C:\PROGRA~2\Quantum GIS
> Lisboa\apps\qgis\python\plugins\db_manager\info_viewer.py", line 69,
> in showInfo
> self._showDatabaseInfo(item)
>   File "C:\PROGRA~2\Quantum GIS
> Lisboa\apps\qgis\python\plugins\db_manager\info_viewer.py", line 99,
> in _showDatabaseInfo
> html += connection.database().info().toHtml()
>   File "C:\PROGRA~2\Quantum GIS
> Lisboa\apps\qgis\python\plugins\db_manager\db_plugins\info_model.py",
> line 107, in toHtml
> spatial_info = self.spatialInfo()
>   File "C:\PROGRA~2\Quantum GIS
> Lisboa\apps\qgis\python\plugins\db_manager\db_plugins\info_model.py",
> line 62, in spatialInfo
> ("Use stats:", info[5])
> IndexError: tuple index out of range
>
> Wersja Pythona:
> 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
>
>
> Wersja QGIS:
> 1.8.0-Lisboa Lisboa, 6416f38
>
> Lokalizacja Pythona:
> ['C:/Users/Verruu/.qgis//python/plugins\\sextante',
> 'C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python',
> 'C:/Users/Verruu/.qgis//python',
> 'C:/Users/Verruu/.qgis//python/plugins', 'C:/PROGRA~2/Quantum GIS
> Lisboa/apps/qgis/./python/plugins', 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\bin\\python27.zip', 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27\\DLLs', 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27\\lib', 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\qgis\\bin', 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27', 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~2\\Quantum
> GIS Lisboa\\apps\\Python27\\lib\\site-packages\\PIL',
> 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27\\lib\\site-packages\\win32',
> 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27\\lib\\site-packages\\win32\\lib',
> 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27\\lib\\site-packages\\Pythonwin',
> 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
> '~/.qgis/python',
> 'C:\\Users\\Verruu\\.qgis\\python\\plugins\\imgshowhide\\logic',
> 'C:\\Users\\Verruu\\.qgis\\python\\plugins\\imgshowhide\\gui',
> 'C:\\Users\\Verruu\\.qgis\\python\\plugins\\inasafe',
> 'C:\\Users\\Verruu\\.qgis\\python\\plugins\\mmqgis/forms',
> 'C:\\Users\\Verruu\\.qgis\\python\\plugins\\openlayersov\\logic',
> 'C:\\Users\\Verruu\\.qgis\\python\\plugins\\openlayersov\\gui',
> '/usr/share/qgis/python',
> 'C:\\Users\\Verruu\\.qgis\\python\\plugins\\QuickMultiAttributeEdit/forms',
> 'C:\\Users\\Verruu\\.qgis\\python\\plugins\\ziplayers\\logic',
> 'C:\\Users\\Verruu\\.qgis\\python\\plugins\\ziplayers\\gui',
> 'C:\\PROGRA~2\\Quantum GIS
> Lisboa\\apps\\qgis\\python\\plugins\\fTools\\tools']
>
> and for the PostGIS Manager (error popps when starting Manager - all
> functions work):
>
> Traceback (most recent call last):
>   File 
> "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
> line 113, in dbConnectInit
> self.dbConnect(selected)
>   File 
> "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
> line 171, in dbConnect
> self.dbInfo()
>   File 
> "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
> line 238, in dbInfo
> self.updateView()
>   File 
> "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
> line 285, in updateView
> self.tabChanged( self.tabs.currentIndex() )
>   File 
> "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
> line 212, in tabChanged
> self.txtMetadata.showDbInfo()
>   File 
> "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\MetadataBrowser.py",
> line 35, in showDbInfo
> html += '
> Use stats:
> %s' % gis_info[5]
> IndexError: tuple index out of range
>
> Wersja Pythona:
> 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
>
>
> Wersja QGIS:
> 1.8.0-Lisboa Lisboa, 6416f38
>
> Lokalizacja Pythona:
> ['C:/Users/Verruu/.qgis//python/plugins\\sextante',
> 'C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python',
> 'C:/Users/Verru

Re: [Qgis-user] Open Data via Open Standards using Open Source: a new tool from NIWA

2012-08-17 Thread Ivan Mincik
What approach did You use to limit user interface ? Did You removed some
staff from code ?


-- 
Ivan Mincik 


signature.asc
Description: This is a digitally signed message part
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Will there be .pdf versions of the manual?

2012-08-17 Thread Francisco Palm
On Fri, Aug 17, 2012 at 5:38 PM, Francisco Palm
 wrote:
> On Fri, Aug 17, 2012 at 5:06 PM, G A Sansom  wrote:
>> I see that there is a 'new' repository for the user manual starting with
>> 1.8.
>> Does this mean that they will no longer be produced in .pdf?
>> I am often in situations where I do not have access to the internet and find
>> that documentation that is on my hard drive the only way.
>
> Sphinx system it is made for generate several formats, you can get a
> PDF version through latex or directly installing rst2pdf plugin.
>
> Regards
>
> F. Palm
>
> --
> --
> fp...@mapologo.org.ve
> francisco.p...@gmail.com
>
> cel: +58 +424 7228252
> tel: +58 +274 6352001
>
> 
> Debemos ser libres, no para hacer lo que nos plazca, sino libres para
> comprender muy profundamente nuestros propios instintos e impulsos. K



-- 
--
fp...@mapologo.org.ve
francisco.p...@gmail.com

cel: +58 +424 7228252
tel: +58 +274 6352001


Debemos ser libres, no para hacer lo que nos plazca, sino libres para
comprender muy profundamente nuestros propios instintos e impulsos. K
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Will there be .pdf versions of the manual?

2012-08-17 Thread G A Sansom
I see that there is a 'new' repository for the user manual starting with 
1.8.

Does this mean that they will no longer be produced in .pdf?
I am often in situations where I do not have access to the internet and 
find that documentation that is on my hard drive the only way.


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


Re: [Qgis-user] image boundary

2012-08-17 Thread Luca Lanteri
mumble, mumble...
I think the beahviour is the same of other .qml properties, so it is
autoloaded  with the shapefile if there's a qml in the same directory and
then the properties is saved in the .qgs project the first time you save
the project.

2012/8/17 skampus 

> thank you, luca.
>
> just a question.
> i see that action is recorded into .qgs project. also you can save the
> style
> of layer and in .qml you'll find the action too.
> my question is which of action "wins" if the actions are different?
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/image-boundary-tp4995238p4995961.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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Add 3rd party repos button?

2012-08-17 Thread Peter Cornelissen
I agree, it took me ages to find the repository.OpenLayers plugin...
Peter

On 12 August 2012 11:30, Agustin Lobo  wrote:

> I would not call that encouraging but rather pressing.
>
> I think that by now we can see that some developers prefer keeping
> their plugins in their
> own repository, perhaps to stress their authorship, to make their web
> sites more visible...  who knows.
> In any case, the availability of some important plugins such as
> openlayers has become much less obvious
> without the "Add 3rd party plugins" button.
> As Carson Farmed said
> "I'd also like to suggest that the 'add 3rd party repos' button should
> simply fetch a list of 3rd party repositories from the QGIS server
> (some sort of list created by an online submission system). That way
> there is no hard-coding of repos by Borys, and it's fair for all
> authors. We can certainly have a few different lists (i.e. well tested
> repos, experimental repos, and untested repos)."
>
> I think that the "Add 3rd party plugins" button (or some other simple
> way of adding these repos to the list) should come back.
>
> Agus
>
> 2012/6/17 Nathan Woodrow :
> > Currently yes.  We are trying to encourage everyone to move their
> > plugins to the official repo.
> >
> > - Nathan
> >
> > On Sun, Jun 17, 2012 at 10:40 PM, Micha Silver 
> wrote:
> >> On 17/06/2012 15:12, Nathan Woodrow wrote:
> >>
> >> Hi Micha,
> >>
> >> This support has been dropped for 1.8 in an effort to better organize
> >> the plugin situation. For 1.8 the only default plugin repo that is
> >> available is the offical repo at plugins.qgis.org.  Sounds like a
> >> harsh/bold move but having all the plugins in one place is a lot
> >> easier to manage and allows for a better user experience.
> >>
> >>
> >> Thanks, I figured that that was the decision.
> >> So for plugins that still live only on 3rd party repos, I have to
> manually
> >> add the URL? (i.e. Openlayers, Topocolors, the Faunalia plugins etc.)
> >>
> >> - Nathan
> >>
> >>
> >> On Sun, Jun 17, 2012 at 10:09 PM, Micha Silver 
> wrote:
> >>
> >> It seems that in 1.8 the "Add 3rd party repositories" button is gone
> from
> >> Fetch plugins. Or am I missing something?
> >>
> >> Thanks,
> >>
> >> Micha
> >>
> >> --
> >> Micha Silver
> >> 052-3665918
> >>
> >>
> >> ___
> >> 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
> >> 052-3665918
> > ___
> > 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
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [Qgis-edu] QGIS/Python talks wanted for pyArkansas Python conference, Arkansas, USA

2012-08-17 Thread Tim Sutton
Hi

On Thu, Aug 16, 2012 at 6:27 PM, Chad Cooper  wrote:
> Hello, we are currently planning pyArkansas 2012 and are looking for Python
> in GIS talks. I would love to see some talks on QGIS and Python. Please
> forward this on to anyone in the US you might think would be interested in
> giving a QGIS/Python talk or workshop at pyArkansas.
>

I'll forward your email to the QGIS Users and Developers lists which
are more active than this list.

Regards

Tim


> Thanks
>
> Chad Cooper
>
> ___
> Qgis-edu mailing list
> qgis-...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-edu
>



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Postgis raster layer plugin : displaying troubles into Qgis 1.8

2012-08-17 Thread laurent celati
Hello,

I notice displaying troubles into Qgis 1.8 for one of my Postgis raster
layer. The raw file (.tif) is a file with a small size and up to now i have
succeed in importing raster files with a biggest size.
For information : size of the raw file : 194 MO  / Size of generated sql
file : 44.2 MO. 

I send you by attachment 2 SS : 1/ representation of raw tif file into Qgis
1.8 & 2/ representation of Postgis raster layer into Qgis 1.8

Can you help me please to find the cause of the problem? 

In advance, thank you very much for your help.

Regards.

http://osgeo-org.1560.n6.nabble.com/file/n4995964/1_Raw_file.jpg 

http://osgeo-org.1560.n6.nabble.com/file/n4995964/2_Postgis_layer.jpg 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Postgis-raster-layer-plugin-displaying-troubles-into-Qgis-1-8-tp4995964.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] image boundary

2012-08-17 Thread skampus
thank you, luca.

just a question.
i see that action is recorded into .qgs project. also you can save the style
of layer and in .qml you'll find the action too.
my question is which of action "wins" if the actions are different?



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/image-boundary-tp4995238p4995961.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] Problem with missing .prj file

2012-08-17 Thread Giovanni Manghi
The tool "define current projection" works fine, that issue was fixed.

Anyway your point vector overlaps correctly to the other one, but it is
WGS84 and not ALCC.

cheers

-- Giovanni --


On Fri, 2012-08-17 at 09:49 -0500, Proctor, Nathanael wrote:
> I have searched the web and read the user group and found that there might be 
> a problem with ftools when trying to define a projection for a dataset 
> missing a .prj file (http://hub.qgis.org/issues/5257).
> 
> I have attached an example that I need help with.
> The charley_post.zip fileset has the wind speed data for Hurricane Charlie 
> (see http://www.aoml.noaa.gov/hrd/Storm_pages/charley2004/wind.html for 
> source). Notice there is no .prj file and I have searched the NOAA website 
> for any metadata without luck.
> 
> The states_reproject dataset is the US Census tiger file for state boundaries 
> transformed to the North American Lambert Conformal Conic CRS (+proj=lcc 
> +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 
> +datum=NAD83 +units=m +no_defs). 
> I would like to define the wind data to the ALCC CRS, if it works the data 
> should overlay southern Florida.
> Thanks for any help,
> Nathanael
> 
> SOURCE FILES: 
> https://www.dropbox.com/s/8si79e3wxcsj6x6/Problem%20with%20dataset%20missing%20prj.zip
> 
> 
> Nathanael Proctor
> nproc...@tamu.edu
> ___
> 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


[Qgis-user] Problem with missing .prj file

2012-08-17 Thread Proctor, Nathanael
I have searched the web and read the user group and found that there might be a 
problem with ftools when trying to define a projection for a dataset missing a 
.prj file (http://hub.qgis.org/issues/5257).

I have attached an example that I need help with.
The charley_post.zip fileset has the wind speed data for Hurricane Charlie (see 
http://www.aoml.noaa.gov/hrd/Storm_pages/charley2004/wind.html for source). 
Notice there is no .prj file and I have searched the NOAA website for any 
metadata without luck.

The states_reproject dataset is the US Census tiger file for state boundaries 
transformed to the North American Lambert Conformal Conic CRS (+proj=lcc 
+lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 
+datum=NAD83 +units=m +no_defs). 
I would like to define the wind data to the ALCC CRS, if it works the data 
should overlay southern Florida.
Thanks for any help,
Nathanael

SOURCE FILES: 
https://www.dropbox.com/s/8si79e3wxcsj6x6/Problem%20with%20dataset%20missing%20prj.zip


Nathanael Proctor
nproc...@tamu.edu
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] SVG Fill

2012-08-17 Thread Andreas Neumann

Hi Jonathan,

There is always room for improvement, I agree. Suggestions for 
improvements are sometimes better discussed in the qgis-dev list, since 
many of the developers don't follow the qgis-user list.


The QGIS user list is mainly for help with the existing feature set.

You may want to suggest this functionality in the qgis-dev list and may 
even want to raise in issue/feature request in the QGIS bug tracker. If 
a feature is really important for you, the fastest way is to hire a 
developer.


But is also good to discuss new ideas upfront in the qgis-dev list. 
Maybe some developer has a good idea how to implement things.


Best regards,
Andreas

On Fri, 17 Aug 2012 14:38:32 +0100, Jonathan Moules wrote:

Hi Andreas,
The SVG-setting isn't a terrible solution (its fairly decent as I
noted in my previous message), however it does mean that if someone
is going to distribute QML-with-SVG files, they now also need to
include an instruction manual telling them about SVG settings and the
like.
Also, remember that while this is simple for you and I, some users
aren't as technically saavy as we are.
Thanks for your help with this,
Jonathan

On 17 August 2012 14:07, Andreas Neumann  wrote:


Hi Jonathan,

no - QGIS cannot embed SVG files in QML files. And it's not very
likely that this will get implemented - unless you pay someone to
implement it.

But the solution with the SVG paths isn't bad/complicated anyway. It
is not a lot of work to copy a bunch of SVG files to a central place
and set it in the global options, is it?

Just my opinion,
Andreas

On Fri, 17 Aug 2012 12:57:18 +0100, Jonathan Moules wrote:


Hi Andreas,

Unfortunately "relative" doesn't seem to work for QML files (you
did
say relative to .qgs files, but I don't actually have a project -
I'm
trying to create stand-alone QML files I can distribute both
internally and to the community). My project is set to use
relative
paths, I then set up my styling and saved my style to a QML file.
 
I have this data structure:
 
/qml/this_style.qml
/symbols/[lots of SVG symbols]
 
When I then started a new QGIS project, loaded the data then
applied
the this_style.qml, it didn't load the SVG symbols.
 
Looking in the saved QML file, it is saving the *absolute* path:
 
 

Even if I then search-and-replace this with the relative path:
 

It still doesn't load the SVG files.
 
Even moving the directory structure to: /qml/symbols/ and then
changing the relative term to "./symbols/" doesn't resolve it.

Would this be considered a bug or desired behaviour?
 
 
The only way I've found to get it working is to change the QML
file to
only point at the file name itself, then make that directory a
"SVG path". This works and seems a fairly decent solution, though
personally I'd still feel better if they were included in the QML
file
itself, it'd make distribution easier and importing easier.
 
Jonathan

 
On 17 August 2012 12:22, Andreas Neumann  wrote:


Hi Jonathan,

SVG symbols are always just referenced.

It is generally good advice to use relative paths in the project
settings. This influences paths to spatial data files (e.g.
shape
files, tiff files, spatialite), but also the SVG files.
Relative
means relative to the .qgs project file.

I generally create a directory per GIS project and put the .qgis
in
the root of this directory and svg Files in a subdirectory.

Alternatively, you can use the central storage of SVG files.
This
can be anywhere in your file system and you can define it in the
Global Options --> Rendering --> SVG Paths

Hope this helps.

Andreas

On Fri, 17 Aug 2012 11:03:53 +0100, Jonathan Moules wrote:


Hi Andreas,
I've used this to style up my data, and it was looking
excellent
good.
However I then moved the SVG files that were being used as the
SVG
Markers for the point fill (they were in a temporary directory
on
my
desktop). Unfortunately this seems to have resulted in all of
the
point filled stylings now not working!

Is this desired behaviour?
I expected the SVG styling information to be stored in the
QML
file,
that way I could just share the QML files and they'd work.
This
way it
basically renders QML files useless for sharing - everyone
will
want
to put the SVG files somewhere different because everyone has
a
different directory structure.
 
If I look into the styling as loaded, the SVG maker is
pointing
at:
"C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/svg"
If I move the SVG files into there, they still aren't loaded
if I
reload the style.
Any thoughts? Hows this supposed to work?
 
Jonathan

 
On 16 August 2012 16:13, Jonathan Moules  wrote:


Thats exactly what I want, works great, thanks!

On 16 August 2012 15:25, Andreas Neumann wrote:


supplied symbols, I'm not convinced QGIS could symbolise
them neatly
anyway without tweaking the SVG itself (i.e. there's no
way
to
specify
distance between symbols for instance).


The patterns, by definition, don't have spacing between
the
tiles,
because patterns should provide seamles

Re: [Qgis-user] SVG Fill

2012-08-17 Thread Jonathan Moules
Hi Andreas,
The SVG-setting isn't a terrible solution (its fairly decent as I noted in
my previous message), however it does mean that if someone is going to
distribute QML-with-SVG files, they now also need to include an instruction
manual telling them about SVG settings and the like.
Also, remember that while this is simple for you and I, some users aren't
as technically saavy as we are.
Thanks for your help with this,
Jonathan



On 17 August 2012 14:07, Andreas Neumann  wrote:

> Hi Jonathan,
>
> no - QGIS cannot embed SVG files in QML files. And it's not very likely
> that this will get implemented - unless you pay someone to implement it.
>
> But the solution with the SVG paths isn't bad/complicated anyway. It is
> not a lot of work to copy a bunch of SVG files to a central place and set
> it in the global options, is it?
>
> Just my opinion,
> Andreas
>
>
> On Fri, 17 Aug 2012 12:57:18 +0100, Jonathan Moules wrote:
>
>> Hi Andreas,
>>
>> Unfortunately "relative" doesn't seem to work for QML files (you did
>> say relative to .qgs files, but I don't actually have a project - I'm
>> trying to create stand-alone QML files I can distribute both
>> internally and to the community). My project is set to use relative
>> paths, I then set up my styling and saved my style to a QML file.
>>
>> I have this data structure:
>>
>> /qml/this_style.qml
>> /symbols/[lots of SVG symbols]
>>
>> When I then started a new QGIS project, loaded the data then applied
>> the this_style.qml, it didn't load the SVG symbols.
>>
>> Looking in the saved QML file, it is saving the *absolute* path:
>>
>>
>>
>> Even if I then search-and-replace this with the relative path:
>>
>> It still doesn't load the SVG files.
>>
>> Even moving the directory structure to: /qml/symbols/ and then
>> changing the relative term to "./symbols/" doesn't resolve it.
>>
>> Would this be considered a bug or desired behaviour?
>>
>>
>> The only way I've found to get it working is to change the QML file to
>> only point at the file name itself, then make that directory a
>> "SVG path". This works and seems a fairly decent solution, though
>> personally I'd still feel better if they were included in the QML file
>> itself, it'd make distribution easier and importing easier.
>>
>> Jonathan
>>
>>
>> On 17 August 2012 12:22, Andreas Neumann  wrote:
>>
>>  Hi Jonathan,
>>>
>>> SVG symbols are always just referenced.
>>>
>>> It is generally good advice to use relative paths in the project
>>> settings. This influences paths to spatial data files (e.g. shape
>>> files, tiff files, spatialite), but also the SVG files. Relative
>>> means relative to the .qgs project file.
>>>
>>> I generally create a directory per GIS project and put the .qgis in
>>> the root of this directory and svg Files in a subdirectory.
>>>
>>> Alternatively, you can use the central storage of SVG files. This
>>> can be anywhere in your file system and you can define it in the
>>> Global Options --> Rendering --> SVG Paths
>>>
>>> Hope this helps.
>>>
>>> Andreas
>>>
>>> On Fri, 17 Aug 2012 11:03:53 +0100, Jonathan Moules wrote:
>>>
>>>  Hi Andreas,
 I've used this to style up my data, and it was looking excellent
 good.
 However I then moved the SVG files that were being used as the SVG
 Markers for the point fill (they were in a temporary directory on
 my
 desktop). Unfortunately this seems to have resulted in all of the
 point filled stylings now not working!

 Is this desired behaviour?
 I expected the SVG styling information to be stored in the QML
 file,
 that way I could just share the QML files and they'd work. This
 way it
 basically renders QML files useless for sharing - everyone will
 want
 to put the SVG files somewhere different because everyone has a
 different directory structure.

 If I look into the styling as loaded, the SVG maker is pointing
 at:
 "C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/svg"
 If I move the SVG files into there, they still aren't loaded if I
 reload the style.
 Any thoughts? Hows this supposed to work?

 Jonathan


 On 16 August 2012 16:13, Jonathan Moules  wrote:

  Thats exactly what I want, works great, thanks!
>
> On 16 August 2012 15:25, Andreas Neumann wrote:
>
>   supplied symbols, I'm not convinced QGIS could symbolise
>>> them neatly
>>> anyway without tweaking the SVG itself (i.e. there's no way
>>> to
>>> specify
>>> distance between symbols for instance).
>>>
>>
>> The patterns, by definition, don't have spacing between the
>> tiles,
>> because patterns should provide seamless tiling. However, you
>> can
>> specify the tile size.
>>
>> If you want spacing between symbols, you could use the point
>> pattern fill editor where you can also use SVG point markers
>> and
>> provide spacing and displacement. This requires QGIS 1.8, I
>> beli

Re: [Qgis-user] SVG Fill

2012-08-17 Thread Andreas Neumann

Hi Jonathan,

no - QGIS cannot embed SVG files in QML files. And it's not very likely 
that this will get implemented - unless you pay someone to implement it.


But the solution with the SVG paths isn't bad/complicated anyway. It is 
not a lot of work to copy a bunch of SVG files to a central place and 
set it in the global options, is it?


Just my opinion,
Andreas

On Fri, 17 Aug 2012 12:57:18 +0100, Jonathan Moules wrote:

Hi Andreas,
Unfortunately "relative" doesn't seem to work for QML files (you did
say relative to .qgs files, but I don't actually have a project - I'm
trying to create stand-alone QML files I can distribute both
internally and to the community). My project is set to use relative
paths, I then set up my styling and saved my style to a QML file.
 
I have this data structure:
 
/qml/this_style.qml
/symbols/[lots of SVG symbols]
 
When I then started a new QGIS project, loaded the data then applied
the this_style.qml, it didn't load the SVG symbols.
 
Looking in the saved QML file, it is saving the *absolute* path:
 
 

Even if I then search-and-replace this with the relative path:
 
It still doesn't load the SVG files.
 
Even moving the directory structure to: /qml/symbols/ and then
changing the relative term to "./symbols/" doesn't resolve it.

Would this be considered a bug or desired behaviour?
 
 
The only way I've found to get it working is to change the QML file 
to

only point at the file name itself, then make that directory a
"SVG path". This works and seems a fairly decent solution, though
personally I'd still feel better if they were included in the QML 
file

itself, it'd make distribution easier and importing easier.
 
Jonathan

 
On 17 August 2012 12:22, Andreas Neumann  wrote:


Hi Jonathan,

SVG symbols are always just referenced.

It is generally good advice to use relative paths in the project
settings. This influences paths to spatial data files (e.g. shape
files, tiff files, spatialite), but also the SVG files. Relative
means relative to the .qgs project file.

I generally create a directory per GIS project and put the .qgis in
the root of this directory and svg Files in a subdirectory.

Alternatively, you can use the central storage of SVG files. This
can be anywhere in your file system and you can define it in the
Global Options --> Rendering --> SVG Paths

Hope this helps.

Andreas

On Fri, 17 Aug 2012 11:03:53 +0100, Jonathan Moules wrote:


Hi Andreas,
I've used this to style up my data, and it was looking excellent
good.
However I then moved the SVG files that were being used as the SVG
Markers for the point fill (they were in a temporary directory on
my
desktop). Unfortunately this seems to have resulted in all of the
point filled stylings now not working!

Is this desired behaviour?
I expected the SVG styling information to be stored in the QML
file,
that way I could just share the QML files and they'd work. This
way it
basically renders QML files useless for sharing - everyone will
want
to put the SVG files somewhere different because everyone has a
different directory structure.
 
If I look into the styling as loaded, the SVG maker is pointing
at:
"C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/svg"
If I move the SVG files into there, they still aren't loaded if I
reload the style.
Any thoughts? Hows this supposed to work?
 
Jonathan

 
On 16 August 2012 16:13, Jonathan Moules  wrote:


Thats exactly what I want, works great, thanks!

On 16 August 2012 15:25, Andreas Neumann wrote:


supplied symbols, I'm not convinced QGIS could symbolise
them neatly
anyway without tweaking the SVG itself (i.e. there's no way
to
specify
distance between symbols for instance).


The patterns, by definition, don't have spacing between the
tiles,
because patterns should provide seamless tiling. However, you
can
specify the tile size.

If you want spacing between symbols, you could use the point
pattern fill editor where you can also use SVG point markers
and
provide spacing and displacement. This requires QGIS 1.8, I
believe.

Andreas

--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland

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


 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.

Links:
--
[1] mailto:Qgis-user@lists.osgeo.org [3]
[2] http://lists.osgeo.org/mailman/listinfo/qgis-user [4]
[3] mailto:a.neum..

Re: [Qgis-user] SVG Fill

2012-08-17 Thread Jonathan Moules
Hi Andreas,
Unfortunately "relative" doesn't seem to work for QML files (you did say
relative to .qgs files, but I don't actually have a project - I'm trying to
create stand-alone QML files I can distribute both internally and to the
community). My project is set to use relative paths, I then set up my
styling and saved my style to a QML file.

I have this data structure:

/qml/this_style.qml
/symbols/[lots of SVG symbols]

When I then started a new QGIS project, loaded the data then applied the
this_style.qml, it didn't load the SVG symbols.

Looking in the saved QML file, it is saving the *absolute* path:

  
Even if I then search-and-replace this with the relative path:
  
It still doesn't load the SVG files.

Even moving the directory structure to: /qml/symbols/ and then changing the
relative term to "./symbols/" doesn't resolve it.

Would this be considered a bug or desired behaviour?


The only way I've found to get it working is to change the QML file to only
point at the file name itself, then make that directory a "SVG path". This
works and seems a fairly decent solution, though personally I'd still feel
better if they were included in the QML file itself, it'd make distribution
easier and importing easier.

Jonathan



On 17 August 2012 12:22, Andreas Neumann  wrote:

> Hi Jonathan,
>
> SVG symbols are always just referenced.
>
> It is generally good advice to use relative paths in the project settings.
> This influences paths to spatial data files (e.g. shape files, tiff files,
> spatialite), but also the SVG files. Relative means relative to the .qgs
> project file.
>
> I generally create a directory per GIS project and put the .qgis in the
> root of this directory and svg Files in a subdirectory.
>
> Alternatively, you can use the central storage of SVG files. This can be
> anywhere in your file system and you can define it in the Global Options
> --> Rendering --> SVG Paths
>
> Hope this helps.
>
> Andreas
>
>
> On Fri, 17 Aug 2012 11:03:53 +0100, Jonathan Moules wrote:
>
>> Hi Andreas,
>> I've used this to style up my data, and it was looking excellent good.
>> However I then moved the SVG files that were being used as the SVG
>> Markers for the point fill (they were in a temporary directory on my
>> desktop). Unfortunately this seems to have resulted in all of the
>> point filled stylings now not working!
>>
>> Is this desired behaviour?
>> I expected the SVG styling information to be stored in the QML file,
>> that way I could just share the QML files and they'd work. This way it
>> basically renders QML files useless for sharing - everyone will want
>> to put the SVG files somewhere different because everyone has a
>> different directory structure.
>>
>> If I look into the styling as loaded, the SVG maker is pointing at:
>> "C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/svg"
>> If I move the SVG files into there, they still aren't loaded if I
>> reload the style.
>> Any thoughts? Hows this supposed to work?
>>
>> Jonathan
>>
>>
>> On 16 August 2012 16:13, Jonathan Moules  wrote:
>>
>>  Thats exactly what I want, works great, thanks!
>>>
>>> On 16 August 2012 15:25, Andreas Neumann wrote:
>>>
>>>  supplied symbols, I'm not convinced QGIS could symbolise
> them neatly
> anyway without tweaking the SVG itself (i.e. there's no way to
> specify
> distance between symbols for instance).
>

 The patterns, by definition, don't have spacing between the tiles,
 because patterns should provide seamless tiling. However, you can
 specify the tile size.

 If you want spacing between symbols, you could use the point
 pattern fill editor where you can also use SVG point markers and
 provide spacing and displacement. This requires QGIS 1.8, I
 believe.

 Andreas

 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland

 __**_
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org [1]
 http://lists.osgeo.org/**mailman/listinfo/qgis-user[2]

>>>
>>  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.
>>
>>
>> Links:
>> --
>> [1] mailto:Qgis-user@lists.osgeo.**org 
>> [2] 
>> http://lists.osgeo.org/**mailman/listinfo/qgis-user
>> [3] mailto:a.neum...@carto.net
>> [4] 
>> mailto:jonathanm

Re: [Qgis-user] SVG Fill

2012-08-17 Thread Andreas Neumann

Hi Jonathan,

SVG symbols are always just referenced.

It is generally good advice to use relative paths in the project 
settings. This influences paths to spatial data files (e.g. shape files, 
tiff files, spatialite), but also the SVG files. Relative means relative 
to the .qgs project file.


I generally create a directory per GIS project and put the .qgis in the 
root of this directory and svg Files in a subdirectory.


Alternatively, you can use the central storage of SVG files. This can 
be anywhere in your file system and you can define it in the Global 
Options --> Rendering --> SVG Paths


Hope this helps.

Andreas

On Fri, 17 Aug 2012 11:03:53 +0100, Jonathan Moules wrote:

Hi Andreas,
I've used this to style up my data, and it was looking excellent 
good.

However I then moved the SVG files that were being used as the SVG
Markers for the point fill (they were in a temporary directory on my
desktop). Unfortunately this seems to have resulted in all of the
point filled stylings now not working!

Is this desired behaviour?
I expected the SVG styling information to be stored in the QML file,
that way I could just share the QML files and they'd work. This way 
it

basically renders QML files useless for sharing - everyone will want
to put the SVG files somewhere different because everyone has a
different directory structure.
 
If I look into the styling as loaded, the SVG maker is pointing at:
"C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/svg"
If I move the SVG files into there, they still aren't loaded if I
reload the style.
Any thoughts? Hows this supposed to work?
 
Jonathan

 
On 16 August 2012 16:13, Jonathan Moules  wrote:


Thats exactly what I want, works great, thanks!

On 16 August 2012 15:25, Andreas Neumann wrote:


supplied symbols, I'm not convinced QGIS could symbolise
them neatly
anyway without tweaking the SVG itself (i.e. there's no way to
specify
distance between symbols for instance).


The patterns, by definition, don't have spacing between the tiles,
because patterns should provide seamless tiling. However, you can
specify the tile size.

If you want spacing between symbols, you could use the point
pattern fill editor where you can also use SVG point markers and
provide spacing and displacement. This requires QGIS 1.8, I
believe.

Andreas

--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland

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


 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.


Links:
--
[1] mailto:Qgis-user@lists.osgeo.org
[2] http://lists.osgeo.org/mailman/listinfo/qgis-user
[3] mailto:a.neum...@carto.net
[4] mailto:jonathanmou...@warwickshire.gov.uk


--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] some errors with Python connected to launching DB Manager and PostGIS Manager

2012-08-17 Thread Bartek Wol
OK so updating on the error - managed to solve the problem with not
starting DB Manager - the missing file was psycopg2 (found out thanx
to friend) but the error connected to python and postgres persists and
is really bugging me..

so now it looks like that:

for DB Manager (when I launch DB Manager it starts smoothly but when I
click at the database to enlarge the list the error popps out, the
funny thing is that all of the functions work properly just the errors
annoys all the time):

Traceback (most recent call last):
  File "C:\PROGRA~2\Quantum GIS
Lisboa\apps\qgis\python\plugins\db_manager\db_manager.py", line 99, in
itemChanged
self.refreshTabs()
  File "C:\PROGRA~2\Quantum GIS
Lisboa\apps\qgis\python\plugins\db_manager\db_manager.py", line 150,
in refreshTabs
self.info.showInfo( item )
  File "C:\PROGRA~2\Quantum GIS
Lisboa\apps\qgis\python\plugins\db_manager\info_viewer.py", line 69,
in showInfo
self._showDatabaseInfo(item)
  File "C:\PROGRA~2\Quantum GIS
Lisboa\apps\qgis\python\plugins\db_manager\info_viewer.py", line 99,
in _showDatabaseInfo
html += connection.database().info().toHtml()
  File "C:\PROGRA~2\Quantum GIS
Lisboa\apps\qgis\python\plugins\db_manager\db_plugins\info_model.py",
line 107, in toHtml
spatial_info = self.spatialInfo()
  File "C:\PROGRA~2\Quantum GIS
Lisboa\apps\qgis\python\plugins\db_manager\db_plugins\info_model.py",
line 62, in spatialInfo
("Use stats:", info[5])
IndexError: tuple index out of range

Wersja Pythona:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]


Wersja QGIS:
1.8.0-Lisboa Lisboa, 6416f38

Lokalizacja Pythona:
['C:/Users/Verruu/.qgis//python/plugins\\sextante',
'C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python',
'C:/Users/Verruu/.qgis//python',
'C:/Users/Verruu/.qgis//python/plugins', 'C:/PROGRA~2/Quantum GIS
Lisboa/apps/qgis/./python/plugins', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\bin\\python27.zip', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\DLLs', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\lib', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\qgis\\bin', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~2\\Quantum
GIS Lisboa\\apps\\Python27\\lib\\site-packages\\PIL',
'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\lib\\site-packages\\win32',
'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
'~/.qgis/python',
'C:\\Users\\Verruu\\.qgis\\python\\plugins\\imgshowhide\\logic',
'C:\\Users\\Verruu\\.qgis\\python\\plugins\\imgshowhide\\gui',
'C:\\Users\\Verruu\\.qgis\\python\\plugins\\inasafe',
'C:\\Users\\Verruu\\.qgis\\python\\plugins\\mmqgis/forms',
'C:\\Users\\Verruu\\.qgis\\python\\plugins\\openlayersov\\logic',
'C:\\Users\\Verruu\\.qgis\\python\\plugins\\openlayersov\\gui',
'/usr/share/qgis/python',
'C:\\Users\\Verruu\\.qgis\\python\\plugins\\QuickMultiAttributeEdit/forms',
'C:\\Users\\Verruu\\.qgis\\python\\plugins\\ziplayers\\logic',
'C:\\Users\\Verruu\\.qgis\\python\\plugins\\ziplayers\\gui',
'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\qgis\\python\\plugins\\fTools\\tools']

and for the PostGIS Manager (error popps when starting Manager - all
functions work):

Traceback (most recent call last):
  File "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
line 113, in dbConnectInit
self.dbConnect(selected)
  File "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
line 171, in dbConnect
self.dbInfo()
  File "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
line 238, in dbInfo
self.updateView()
  File "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
line 285, in updateView
self.tabChanged( self.tabs.currentIndex() )
  File "C:/Users/Verruu/.qgis//python/plugins\postgis_manager\ManagerWindow.py",
line 212, in tabChanged
self.txtMetadata.showDbInfo()
  File 
"C:/Users/Verruu/.qgis//python/plugins\postgis_manager\MetadataBrowser.py",
line 35, in showDbInfo
html += '
Use stats:
%s' % gis_info[5]
IndexError: tuple index out of range

Wersja Pythona:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]


Wersja QGIS:
1.8.0-Lisboa Lisboa, 6416f38

Lokalizacja Pythona:
['C:/Users/Verruu/.qgis//python/plugins\\sextante',
'C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python',
'C:/Users/Verruu/.qgis//python',
'C:/Users/Verruu/.qgis//python/plugins', 'C:/PROGRA~2/Quantum GIS
Lisboa/apps/qgis/./python/plugins', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\bin\\python27.zip', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\DLLs', 'C:\\PROGRA~2\\Quantum GIS
Lisboa\\apps\\Python27\\l

Re: [Qgis-user] SVG Fill

2012-08-17 Thread Jonathan Moules
Hi Andreas,
I've used this to style up my data, and it was looking excellent good.
However I then moved the SVG files that were being used as the SVG Markers
for the point fill (they were in a temporary directory on my desktop).
Unfortunately this seems to have resulted in all of the point filled
stylings now not working!

Is this desired behaviour?
I expected the SVG styling information to be stored in the QML file, that
way I could just share the QML files and they'd work. This way it basically
renders QML files useless for sharing - everyone will want to put the SVG
files somewhere different because everyone has a different directory
structure.

If I look into the styling as loaded, the SVG maker is pointing at:
"C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/svg"
If I move the SVG files into there, they still aren't loaded if I reload
the style.
Any thoughts? Hows this supposed to work?

Jonathan



On 16 August 2012 16:13, Jonathan Moules  wrote:

> Thats exactly what I want, works great, thanks!
>
>
>
> On 16 August 2012 15:25, Andreas Neumann  wrote:
>
>>
>> supplied symbols, I'm not convinced QGIS could symbolise them neatly
>>> anyway without tweaking the SVG itself (i.e. there's no way to specify
>>> distance between symbols for instance).
>>>
>>
>> The patterns, by definition, don't have spacing between the tiles,
>> because patterns should provide seamless tiling. However, you can specify
>> the tile size.
>>
>> If you want spacing between symbols, you could use the point pattern fill
>> editor where you can also use SVG point markers and provide spacing and
>> displacement. This requires QGIS 1.8, I believe.
>>
>> Andreas
>>
>>
>>
>> --
>> Andreas Neumann
>> Böschacherstrasse 10A
>> 8624 Grüt (Gossau ZH)
>> Switzerland
>>  __**_
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/qgis-user
>>
>
>


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] Open Data via Open Standards using Open Source: a new tool from NIWA

2012-08-17 Thread Ivan Mincik
Hi, thanks for pointing to this project. Where we can download source code ?


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


Re: [Qgis-user] Georeferencing fail at picture 2

2012-08-17 Thread Giovanni Manghi
On Thu, 2012-08-16 at 18:46 +, Lene Fischer wrote:
> Today I gave my first lesson in georeferencing using QGIS. 
> 32 university students working with succes. Easy to use and great
> results. It went so fast, that I gave them assignment number two. And
> then it all crashed :-O
> 

this means that qgis crashed (from the following description?


> 
> After setting the first point a point and line was shown - as view of
> an error. And in the GCP table dX, dY and residual pixel all had great
> errors.
> 
> 
> If we tried to activate Start Georeferencing - nothing happend. 
> Then by using Settings we could force the program to continue - but
> the result was a stretch map -which was useless.
> 
> 
> As I see it - the program remember the point made in the previous map,
> and calculate with these.
> Has anyone noticed this behavior?


If the issue is the same of the one described here

http://hub.qgis.org/issues/4310

it should have been fixed in qgis 1.8. What version are you using?

cheers

-- Giovanni --

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


Re: [Qgis-user] Measuring line length while drawing

2012-08-17 Thread Nick Hopton

Jakob Lanstorp-3 wrote
> 
> Is there any way of measuring the line length on the fly while drawing the
> line?
> 
> I have a starting point and need to draw say a 1,234 km long vector
> line on top of a raster map in lat long degrees.
> 
> Are there other alternatives?
> 

Long distances and lat/lon? The alternative might be to use Google Earth.
Select the line drawing tool and in the box that pops up click the
"Measurements" tab and then select your units of distance. Then click on
your starting point and draw a short line. Then pick up the end of the line
and move it. As you do this you will see that the reported line length
changes. When you've finished adjusting the line click "OK", then save the
line as a KML file and load it into QGIS.

Horrible really.

Nick.



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Measuring-line-length-while-drawing-tp4995620p4995882.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] Measuring line length while drawing

2012-08-17 Thread M . E . Dodd
I second this as a good idea as I have often wanted to draw lines of a 
predetermined length.  And even have tools like in drawing packages where you 
can draw a line or other shape of set size and be able to duplicate and move 
around and rotate to the location you want.  Useful for designing field 
experiments, cities etc.

-Original Message-
From: Harish [mailto:harry.om2...@gmail.com] 
Sent: 17 August 2012 07:19
To: Alexandre Neto
Cc: qgis-user@lists.osgeo.org; Jakob Lanstorp
Subject: Re: [Qgis-user] Measuring line length while drawing

I guess that it may be like digitising lines of specified length and our cursor 
will be indicating length of segment during digitization, as being done in 
Measure tool presently. Will be useful in digitising lines of predefined 
lengths.

harish


On Thu, Aug 16, 2012 at 7:06 PM, Alexandre Neto  wrote:
> Maybe using this?
>
> http://gis.stackexchange.com/questions/25542/splitting-lines-at-a-spec
> ified-distance
>
>
> On Thu, Aug 16, 2012 at 12:42 PM, Jakob Lanstorp 
> wrote:
>>
>> Is there any way of measuring the line length on the fly while 
>> drawing the line?
>>
>> I have a starting point and need to draw say a 1,234 km long vector 
>> line on top of a raster map in lat long degrees.
>>
>> Are there other alternatives?
>>
>> Cheers,
>> Jakob
>> ___
>> 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
>



--
Harish Kumar Solanki, Assistant Professor National Institute of Rural 
Development (NIRD), Ministry of Rural Development, Government of India Jaipur, 
Rajasthan, India- Pin-302006

Email- hksola...@nird.gov.in, harry.om2...@gmail.com, Tele-Fax-0141-2209905, 
Mo.- 09214446732, 09414291732
Website-  http://www.nird.org.in, http://watershed.rajasthan.gov.in/
LinkedIn: www.linkedIn.com/in/hksolanki
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).

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


Re: [Qgis-user] image boundary

2012-08-17 Thread Luca Lanteri
on qgis 1.8 you can add an action like this:

qgis.utils.iface.addRasterLayer('[% "image" %]','[% "TOC_name" %]')

where "image" is the field containing the image name and path and
"TOC_name" the visualized name in TOC.


bye

^L^

2012/8/16 Alister Hood 

> > Date: Wed, 15 Aug 2012 17:44:24 +0200
> > From: Ivan Mincik 
> > To: skampus 
> > Cc: qgis-user@lists.osgeo.org
> > Subject: Re: [Qgis-user] image boundary
> > Message-ID: <1345045464.4203.7.camel@t61>
> > Content-Type: text/plain; charset="utf-8"
> >
> > On Tue, 2012-08-14 at 19:15 -0700, skampus wrote:
> > > thanks to giovanni manghi who told me to use tileindex module of gdal
> > > in the raster menu.
> > > great! all it works so i have my brand new shapefile having the path
> > > each photo as attribute of each polygon.
> > >
> > > now i'd like to add an action in order to add the image to TOC.
> > > what is the qgis internal function to use as an action to add raster
> > > image to toc?
> >
> > Do You know that You can use 'gdalbuildvrt' command to create virtual
> > raster layer containing all your raster files and load it as one layer.
> > Than files matching your viewport will be automatically loaded by demand.
>
> FWIW Gdalbuildvrt is also available in the QGIS menu under
> Raster>Miscellaneous
> But there are cases where using an action to load a raster from a
> tileindex is preferable...
> ___
> 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