AW: [Qgis-user] Licensing

2009-11-07 Thread Hugentobler Marco

Hi

I'm not so sure. Because if the company only uses your code inhouse, the GNU 
project says:

http://www.gnu.org/licenses/gpl-faq.html#GPLRequireSourcePostedPublic

Afaik there is only a problem if the company tries to sell commercial licenses 
of your code. But I'm not a lawyer, so feel free to correct me.

Regards,
Marco

-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Paolo Cavallini
Gesendet: Sa 07.11.2009 13:10
An: Ravi
Cc: disc...@lists.osgeo.org; qgis
Betreff: Re: [Qgis-user] Licensing
 

IFAIK, yes: if you distribute the executables, you have to distribute also
the source, for all GPL programs.
All the best.

On Sat, 7 Nov 2009 04:04:36 -0800 (PST), Ravi 
wrote:
> Wish to know does this violate licensing.
> Qgis is just as an example, it can be Grass or Ossim or any other Open
GIS
> as well
> 
> Example: I love Qgis and I have added some code to Qgis as a C++
> programmer, thus giving the necessary customization for my specific
client.
> I compile it and distribute the Executable, as part of my package deal.
> Does this violate any license of Qgis.
-- 
http://faunalia.it/pc
___
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


AW: [Qgis-user] QGIS performance problem

2009-09-01 Thread Hugentobler Marco
Hi Bernt

Yes, please provide me a remote login for debugging. I'm busy today but like to 
work on the freeze issue tomorrow (Wednesday). I wonder if it is really the 
same problem or a variation on it.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von pcr...@pcreso.com
Gesendet: Mo 31.08.2009 20:40
An: Andreas Neumann
Cc: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] QGIS performance problem
 
Thanks Andreas,

Glad to know its not just me as well :-)

Brent


--- On Tue, 9/1/09, Andreas Neumann  wrote:

> From: Andreas Neumann 
> Subject: Re: [Qgis-user] QGIS performance problem
> To: pcr...@pcreso.com
> Cc: qgis-user@lists.osgeo.org
> Date: Tuesday, September 1, 2009, 6:31 AM
> Hi Brent,
> 
> I have similar behaviour. It happens if polygons with lots
> of vertices 
> are involved. Things get even worse if you try to print
> this data with 
> high resolution.
> 
> Marco Hugentobler and Jürgen Fischer are already working
> on this issue 
> these days. They can also better explain the issues we are
> running into 
> - seems to be qt and clipping related when bounding boxes
> of big 
> polygons are touched when zooming in or printing on high
> resolutions.
> 
> I am glad to hear that I am not the only person
> experiencing these 
> problems - seems to be a real issue.
> 
> Andreas
> 
> pcr...@pcreso.com
> wrote:
> > Hi,
> >
> > I have a PostGIS table & shapefile of the New
> Zealand coast (1:50,000)
> >
> > If I open this table it plots in a fraction of a
> second, pretty much as expected, with similar speeds for
> both the shapefile & table.
> >
> > However, if I zoom in, the redraw takes three minutes
> or more. 
> >
> > While I'm waiting for the refresh, Qgis is showing
> 100% cpu load, postgres isn't showing at all (top). On an
> AMD dual core 3.2Ghz cpu with 8Gb ram it should not take
> anything like this long, and with earlier versions of Qgis
> (pre 1.0) it was much faster.
> >
> > Performance is similar with both table & shapefile
> data sources, so it does not seem Postgres related.
> >
> > However, plotting lines, points or polygons with tens
> of thousands of features rendered works well, it seems to
> primarily be polygons with many vertices (not even any
> holes) that are the problem.
> >
> > OpenSuse 11.1, Qgis 1.2.0, Postgis table described
> below, only 3 features/records, indexed & vacuumed.
> >
> >
> > Does anyone have any idea what may be the issue?
> >
> > I can provide an ssh login if anyone wants to test
> this for themselves.
> >
> >
> > Thanks,
> >
> >    Brent Wood 
> >
> >
> >
> >
> >
> >
> >               
>                
>   Table "public.coast_poly"
> >  Column  |     
>    Type         
> |               
>         Modifiers     
>                
>    
> >
> -+---+--
> >  gid     | integer 
>              | not
> null default nextval('coast_poly_gid_seq'::regclass)
> >  id      | bigint   
>             |
> >  fid     | bigint 
>               |
> >  name    | character varying(42) |
> >  geom_ll | geometry       
>       |
> > Indexes:
> >     "coast_poly_pkey" PRIMARY KEY,
> btree (gid)
> >     "coast_poly_geom_ll_gist" gist
> (geom_ll)
> > Check constraints:
> >     "enforce_dims_geom_ll" CHECK
> (ndims(geom_ll) = 2)
> >     "enforce_geotype_geom_ll"
> CHECK (geometrytype(geom_ll) = 'MULTIPOLYGON'::text OR
> geom_ll IS NULL)
> >     "enforce_srid_geom_ll" CHECK
> (srid(geom_ll) = 4326)
> >
> >
> > ___
> > 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


AW: [Qgis-user] Print composer in GGIS 1.0.2 crashes computerunrecoverable

2009-08-20 Thread Hugentobler Marco
Hi Rainer

Do you have the chance to test it with a current development version (checked 
out from svn)? If not, could you send me the data privately so that I might 
test?

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Rainer M Krug
Gesendet: Do 20.08.2009 09:29
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Print composer in GGIS 1.0.2 crashes computerunrecoverable
 
Hi

I one computer running Hardy Heron (all updates), QGIS 1.0.2, running
against QT 4.4.0 and on another computer against QT 4.4.1

When I create a new project, add a single polygon shapefile with the
size of 25 MB I can crash my whole session so that ONLY remote login
via ssh works to reboot the computer - X is using 100% of the
processor time:

I open the print composer and add the map. Nothing happens for a few
seconds, and trhen the screen goes blank and nothing works any more,
except of the remote login. Interestingly, from the remote login the
speed looks normal and very responsive.

I could reproduce this on both computers. The same happened, after
using Save To Shapefile and using that file.

Can somebody confirm this?

Due to the size (and copyright issues) I can not send around.

Thanks,

Rainer

-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa
___
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


AW: [Qgis-user] Diagram Tab

2009-08-18 Thread Hugentobler Marco
Hi Sarel

Afaik the diagrams are only available in versions >= 1.1.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Sarel Coetzer
Gesendet: Di 18.08.2009 10:09
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Diagram Tab
 
Hi all

I have the latest release of QGIS 1.0.2 loaded on Windows unfortunatly
without the "Diagram Tab"

Does anyone know how to enable this feature? Its not appearing in my
""Plugin Manager" and my "Python Plugin Installer" is not helping either.


Please help.


Regards
Sarel


-- 
http://sarelgis.blogspot.com/

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


AW: [Qgis-user] Grid in print layout

2009-07-27 Thread Hugentobler Marco
Hi all

Grid lines for the print composer are planned for the next version (presumably 
1.3).

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Ricardo Filipe Soares 
Garcia da
Gesendet: Mo 27.07.2009 22:24
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] Grid in print layout
 
Hi
I'm also begging for such a tool. Like you, I've been manually
creating these grids for printing purposes only. It gets painful when
I want to display the coordinates in the bottom and right of the grid,
having to create several layers... In fact I've been looking for a
quick way to add them in various open source gis tools and came up
short. So far GRASS is the only that I've seen that allows one to
create a such a grid in an easy way (I've tried Qgis, gvSIG, uDIG,
OpenJUMP, Kosmo and GRASS). On the downside, with GRASS I have to
create a new region and mapset and import my files, which is also time
consuming.

I am considering learning gmt, mainly to be able to draw these grids
on top of my maps... (though I am sure it will be useful for other
things as well)

So, to conclude, it would be really cool if Qgis had such a feature!



On Mon, Jul 27, 2009 at 5:57 PM, Martin Bolte wrote:
> Hello,
> I have to make lots of maps as PDF-files and need to put a grid overlay
> on each map. Creating all these with the plugin "graticule creator" or
> making them via ftools - research tools - vector grid is a tedious task
> as I need to do a lot of steps in order to have the correct coordinates
> of the grid lines displayed in the map layout.
>
> Has anybody a clue on how to speed this up?
> There should be some development on a tool allowing to insert such a
> grid directly within the print composer dialogue.
>
> Kind regards
>
>
> Martin
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
___ ___ __
Ricardo Garcia Silva
___
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


AW: [Qgis-user] QGis crash at editing

2009-07-17 Thread Hugentobler Marco
Hi Agus

Difficult to say something without knowing the dataset and without knowing 
which edit tool you used.
Do you have access to a svn version to see if the problem is still there?

Regards,
Marco



-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Agustin Lobo
Gesendet: Fr 17.07.2009 11:51
An: qgis-user
Betreff: [Qgis-user] QGis crash at editing
 
I'm having the following problem with qgis 1.1.0 for ubuntu:
- I load a project
- I select a vector layer to be edited
- As soon as I try to edit, qgis crash with segmentation fault.

I've saved error output to:
http://sites.google.com/site/eospansite/dummy/qgisout.txt

with
qgis 2> qgisout.txt

Thanks for any advice

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


AW: [Qgis-user] Poll on website

2009-07-14 Thread Hugentobler Marco


It is also my experience that 1.0.x and 1.1.x have a comparable level of 
stability.

Regards,
Marco

-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Paolo Cavallini
Gesendet: Di 14.07.2009 17:42
An: qgis-user
Betreff: Re: [Qgis-user] Poll on website
 
Andreas Neumann ha scritto:
> I think that this is due to the fact that QGIS is still a relatively young
> project and a lot of functionality is still missing. For this reason
> people trade the benefit of having the urgently needed feature against the
> fact that the unstable version may not be as stable.

Yes, this is also my experience. Furthermore, I do not find 1.0.x
particularly more stable than 1.1.x (do you?).
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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


AW: [Qgis-user] wfs and bbox

2009-06-23 Thread Hugentobler Marco
Hi Thordur

It is currently not possible to restrict the WFS requests in QGIS with the bbox 
parameter (except changing the source code of course).

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Þórður Ívarsson
Gesendet: Mi 24.06.2009 01:25
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] wfs and bbox
 
Is there a way to let wfs use bbox parameter in request?

I have slow connection and I am not happy with downloading whole dataset
when only part is needed.

Thordur Ivarsson
Iceland


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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


AW: AW: AW: [Qgis-user] Undo and redo editing

2009-06-18 Thread Hugentobler Marco

Hi all

So what about grouping the tools to different toolbars by functionality and 
hide all the editing toolbars by default?
A possible classification would be:

vertex manipulation tools (add/move/delete vertex, noding tool)
feature manipulation tools (simplify, add/delete ring, add/delete island, move 
feature, split feature, merge features)
feature creation/deletion (add feature, delete feature, cut, copy, paste)
general(undo, redo)

Like this we have a clean UI by default and possibility to selectively 
hide/show toolbars if needed (and no dropdown buttons).
Maybe there are other classifications that would make sense. 
Let me know what you think.

Regards,
Marco



-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Werner Macho
Gesendet: Do 18.06.2009 09:54
An: qgis-user
Betreff: Re: AW: AW: [Qgis-user] Undo and redo editing
 
Hi!

To be honest I like the view of QGIS being a simple tool for simple 
tasks. But nevertheless sometimes I have to use a bit more complicated 
tools to reach my goal.
I see how fast QGIS develops now and I'm curious what the future will bring.
Stick with the roots is ok - but never forget that anything is evolving 
and so does QGIS.

I personally like to see QGIS able to view 3D Data and not only stuck to 
2D. Maybe thats a high goal to set but - we all have dreams ;)

So for the question of advanced or not advanced .. what about enabling 
advanced options with a klickmark in the options dialog?
To have default QGIS just with easy to use options and show a new 
"advanced" menu (like ftools menu) when advanced features are wanted..

That would be my kind of solution.

regards
Werner


Düster Horst schrieb:
> Tim 
>  
>   
>> Its great that we are adding advanced features but we 
>> should remember our 'roots' in being an easy to learn, easy to use GIS. 
>> Part of that is achieved through keeping UI complexity to a minimum. 
>> 
>  
> You are right when you say what our roots have been. But with the time the 
> amount of new features grows rapidly. QGIS is matured to a Desktop-GIS system 
> with a wide spread of potential users, with the claim from very easy to use 
> up to advanced user. I believe that we can satify both user groups. Disable 
> digitizing - as an advanced feature - will make QGIS to an easy to use 
> Desktop-GIS. Yes in my opinion digitizing is an advanced feature at all. Thus 
> I think there are no conflicts between easy to use and pull down buttons or 
> short cuts etc. 
>  
>  
> Regards 
> Horst 
>  
>   

___
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


AW: [Qgis-user] Undo and redo editing

2009-06-15 Thread Hugentobler Marco
Hi Horst

I also like to have the node tools in a pull-down menu.

Still I think the separation basic editing toolbar / advanced editing toolbar 
makes sense because some advanced tools are probably used less frequently, so 
user should have the possibility to show/hide this toolbar depending on his 
current task.

My suggestion is to hide the advanced editing toolbar by default (for the first 
start of qgis) such that user interface seems less overcrowded for new users. 

Also, I'd like to move the split feature tool to the advanced editing toolbar 
as it probably is used less frequently than 'add feature' and the node tools.

What do you think?

Regards,
Marco 


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Düster Horst
Gesendet: Mo 15.06.2009 09:09
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Undo and redo editing
 
Martin and Richard 
 
Great news after long weekend. Thank you very much for the great ability to 
undo and redo the last editings. The editing environment is very matured now.  
 
We should think about to rearrange the two editing toolbars. What about to 
combine p.e. all nodetools inclusive move, add and delete a single node into 
one pulldown button and so on with the other editing tools? 
 
 
Regrads  
Horst 
 
 
 
Dr. Horst Düster 
GIS-Koordinator, Stv. Amtschef 
 
Kanton Solothurn 
Bau- und Justizdepartement 
Amt für Geoinformation 
SO!GIS Koordination 
Rötistrasse 4 
CH-4501 Solothurn 
 
Telefon ++41(0)32 627 25 32 
Telefax ++41(0)32 627 22 14 
 
mailto:horst.dues...@bd.so.ch 
http://www.agi.so.ch
___
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


AW: [Qgis-user] cutting a line removes half of it

2009-06-15 Thread Hugentobler Marco
Hi Marco

This problem is fixed now in svn (r10928). Thanks for reporting.

Marco (H.)


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Marco Lechner - FOSSGIS 
e.V.
Gesendet: Mo 15.06.2009 10:40
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] cutting a line removes half of it
 
Hi list, marco and horst,

the error doesn't show up on each cutting action, but if you try the
linked shp-file [1] it should happen every few cutting actions. (just
try to cut lines on several (10-20) locations and it should happen
sometimes).

- Quantum GIS - 1.1.0-Pan (Unstable) 'Pan (Unstable)' (10874M) (on
Debian) with $ geos-config --version 3.1.0
but happens also on Windows/OSGeo-Version 1.0.2 and trunk
- ogrinfo cuttingtest.shp => 1: cuttingtest (Line String)

I also included 2 screenshots into the zip-archive.


Marco Lechner

[1] http://www.marcolechner.de/cuttingtest.zip



Marco Lechner - FOSSGIS e.V. schrieb:
> hi list,
> I'm having a "funny" behaviour while editing a lineshape with QGIS.
>
> when I try to cut a line in two halfs sometimes the line is properly cut
> and sometimes half of it is removed. I can not reproduce when it works
> right and when it deletes parts of the line
>
> right: -- => ---|---
> wrong: -- => ---|
>
>
> but it happens on QGIS 1.0.2 on Win as wel as on 1.1.0 Pan on Opensuse
>
> Any ideas
>
> Marco
> ___
> 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


AW: [Qgis-user] cutting a line removes half of it

2009-06-10 Thread Hugentobler Marco
Also, it would be good to know if your shapetype is line or multiline and what 
version of the geos library you are using.

Regards,
Marco (H.)


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Düster Horst
Gesendet: Mi 10.06.2009 09:03
An: Marco Lechner - FOSSGIS e.V.; qgis-user@lists.osgeo.org
Betreff: AW: [Qgis-user] cutting a line removes half of it
 
Marco, 
 
>From which datasource the lines are provided. I tried with shape and QGIS 
>1.2.0 and it works 
for me. 
 
Horst 
 
 
 
Dr. Horst Düster 
GIS-Koordinator, Stv. Amtschef 
 
Kanton Solothurn 
Bau- und Justizdepartement 
Amt für Geoinformation 
SO!GIS Koordination 
Rötistrasse 4 
CH-4501 Solothurn 
 
Telefon ++41(0)32 627 25 32 
Telefax ++41(0)32 627 22 14 
 
mailto:horst.dues...@bd.so.ch 
http://www.agi.so.ch 
 
- Originalnachricht - 
Von: Marco Lechner - FOSSGIS e.V.  
Gesendet: Die, 9.6.2009 14:31 
An: qgis-user@lists.osgeo.org 
Betreff: [Qgis-user] cutting a line removes half of it 
 
hi list, 
I'm having a "funny" behaviour while editing a lineshape with QGIS. 
 
when I try to cut a line in two halfs sometimes the line is properly cut 
and sometimes half of it is removed. I can not reproduce when it works 
right and when it deletes parts of the line 
 
right: -- => ---|--- 
wrong: -- => ---| 
 
 
but it happens on QGIS 1.0.2 on Win as wel as on 1.1.0 Pan on Opensuse 
 
Any ideas 
 
Marco 
___ 
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


AW: [Qgis-user] Calling WMS 'Plugin' from a CSW plugin...

2009-06-03 Thread Hugentobler Marco
Hi David

It is possible to add/remove entries in the WMS connection list from plugins by 
using QSettings. Have a look at qgsserversourceselect.cpp/h and 
qgsnewhttpconnection.cpp/h to see how it is done.

However, it is not possible to pop up the WMS dialog from plugin, because 
QgsServerSourceSelect / QgsNewHttpConnection are in the app module and not 
exposed to plugins. So the sound solution would be to move 
qgsserversourceselect.cpp/h and qgsnewhttpconnection.cpp/h from the app to the 
gui module. 

The quick and dirty solution would be that you copy those two classes to your 
plugin (but that only works for C++ plugins, e.g. is done for WFS with 
qgsnewhttpconnection).

Are there any objections if we move QgsServerSourceSelect / 
QgsNewHttpConnection to gui? 
QgsNewHttpConnection is also used by WFS (and my OGC SOS plugin in progress), 
so I have no doubts about this class. QgsServerSourceSelect might still be 
usefull for third party apps.

And of course we are interested to hear about progresses with the CSW plugin :-)

Regards,
Marco






-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Sampson, David
Gesendet: Mi 03.06.2009 15:22
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Calling WMS 'Plugin' from a CSW plugin...
 
Hey Folks,

I am working on a plugin that wants to take the result and pass it to
other plugins.

One plugin is the WMS tool... OK it may no longer be a plugin but that
is how I am considering it.

I am playing with the OGC CSW spec to make a CSW client for inside
QGIS...

What I want to do is this. From a python plugin I want to

1. Create a new WMS server connection by passing a name and url combo to
the WMS tool
2. have the dialog pop up with the new server connection populated and
layers displayed.

That way all the user needs to do is choose the layers they wish to add
and then click ADD.

This is in the hopes the CSW client can exploit other service specific
tools/plugins.

Any thoughts?

P.S I assume this is a user question and not a developer question as
this is dealing with scripts and not QGIS core.

Cheers

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


AW: [Qgis-user] copy objects between layers having different KBS

2009-05-17 Thread Hugentobler Marco
Hi Marco

It is a missing feature. Afaik the copy/paste code does not consider the KBS at 
all.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Marco Lechner - FOSSGIS 
e.V.
Gesendet: Fr 15.05.2009 19:07
An: qgis-user
Betreff: [Qgis-user] copy objects between layers having different KBS
 
is it a bug or a missing feature?
- if i copy and paste objects between layers who are defined with 
different KBS the geometries are not transformed. On-The-Fly-Projection 
is activated, but doesn't have efect on copy/paste.

Marco

P.S QGIS 1.0.1
___
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


AW: [Qgis-user] your oders please ;) Hackfest Vienna

2009-05-14 Thread Hugentobler Marco

Hi Werner

(5.) 6. Nov - (8.) 9. Nov is perfect for me.

Regards,
Marco

-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Werner Macho
Gesendet: Mi 13.05.2009 17:36
An: qgis-user
Betreff: [Qgis-user] your oders please ;) Hackfest Vienna
 
I put all data in the "unofficial" wiki ..

http://www.qgis.org/wiki/index.php/2._QGIS_Hackfest_in_Vienna_2009

(5.) 6. Nov - (8.) 9. Nov is ok for everyone who is willing to attend?

I'll wait another 2 weeks for answers and start slowly organizing at 
beginning of June ..

regards
Werner
___
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


AW: [Qgis-user] WFS Support in QGIS ?!

2009-04-28 Thread Hugentobler Marco
Hi Peter

There is WFS support in QGIS with the WFS plugin (plugins -> manage plugins -> 
WFS plugin). However, be warned that it has not the same level of maturity as 
the WMS support. Also, the WFS provider loads everything into virtual memory 
which might be too much for really big datasets.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Peter Willis
Gesendet: Di 28.04.2009 19:03
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] WFS Support in QGIS ?!
 
Hello,

I see support for WMS layer import which works reasonably well.
I am not seeing WFS feature support, including the attribute
data that belongs to the requested feature.

WFS support in a GIS is, in some ways, more important than WMS
support. This is due to the fact that the GIS can already 'map'
things. The point of a GIS is to be able to analyze geographic data
based on the assigned attributes given to geographic locales.

Being able to use WMS to make pretty pictures is all well and good.
The *real* work of GIS has always been in the data analysis.

The OGC standards for geographic data interchange
(ie: WFS, WMS, SOS, WCS, GML, TML,...etc.)
should be the main focus of any aspiring GIS product/application.

QGIS programmers can be proud of the fact that they are one of
only 4 applications that reasonably support WMS. There are a
few non-free applications out there that are supporting WMS
very poorly.

There are currently *NO applications* that are properly supporting
WFS. Although I haven't looked at ESRI products lately. It would be
quite a coupe for QGIS to move ahead of the pack by supporting
import/export of the majority of the OGC specifications.


NOTES:

While testing, using a multi-polygon vector with 31478 polygons,
each with 3 attributes,I have noticed that **BOTH** Mozilla Thunderbird
and M.S Internet Explorer run out of memory while downloading large WFS
vector requests in XML format.

I downloaded the same vector using 'wget'. The resulting XML file size
was a bit larger than 82MB.

When developing robust applications for WFS (or any other XML format)
it may be wise to anticipate massive files.

Best Regards,

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


WG: [Qgis-user] WMS Layers entity

2009-04-14 Thread Hugentobler Marco



-Ursprüngliche Nachricht-
Von: Hugentobler  Marco
Gesendet: Di 14.04.2009 22:25
An: pet...@borstad.com
Betreff: AW: [Qgis-user] WMS Layers  entity
 

Hi Peter

QGIS now selects the WMS layer name(s) as a first legend name (at least for 
version >= 1.1). In older version, it was the server name

Regards,
Marco

-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Peter Willis
Gesendet: Di 14.04.2009 22:11
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] WMS Layers  entity
 
Hello,

Which WMS, getcaps query, XML entity is meant to be used as the
layer name that appears in the Quantum GIS legend?

QGIS appears to be defaulting everything to the name given
for the WMS server...(?!) I then need to manually rename
each layer to something more enlightening.

My thought was that maybe I am missing something in my
WMS XML...

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


AW: [Qgis-user] Re: [Qgis-developer] Venue for next hackfest...Vienna?

2009-04-02 Thread Hugentobler Marco
Hi Werner

Thank you for the organisation. In my opinion Vienna is a very nice place for a 
hackfest, so +1 from my side.

I think the expensiveness is not so bad (at least compared to Zurich). And the 
location in the center of Europe makes it easily accessible for most community 
members (and Tim is used to long distance flights anyway :-) )

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Werner Macho
Gesendet: Do 02.04.2009 09:09
An: Jachym Cepicky
Cc: qgis-user List; qgis-developer
Betreff: Re: [Qgis-user] Re: [Qgis-developer] Venue for next hackfest...Vienna?
 
Hi to all!

I already mentioned .. It seems that there's no _must_ to do the 
hackfest at this date in vienna..
If there are other (and better) places I'm open to come there too.

I were just at the university and asked and got acceptance immediately.

I told them that I've to ask first and if Vienna is accepted I'll 
contact them with further plans.
I think theres enough time to think about it - and all I can say is: 
"Vienna is ready for it"

I'll continue with arrangements and search for hotels .. At least I can 
use this information later on..

Can someone initiate something like a "voting-page?"

regards
Werner
___
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


AW: [Qgis-user] QGIS Going Closed Source

2009-03-31 Thread Hugentobler Marco
He he
But hey, it is still 31.03. in Alaska :-)

cheers,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von maning sambale
Gesendet: Mi 01.04.2009 04:27
An: qgis-user
Betreff: [Qgis-user] QGIS Going Closed Source
 
I use QGIS everyday and approximately 10 python plugins.

Please send a new billing statement under the new license:
http://blog.qgis.org/node/130

:)
--
cheers,
maning
--
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
--



-- 
cheers,
maning
--
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.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


AW: [Qgis-user] Save

2009-03-28 Thread Hugentobler Marco
Hi Mats

Templates are supported in composer from version 1.1 on. So no template button 
in 1.0.1

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Mats Elfström
Gesendet: Mo 16.03.2009 16:47
An: Qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Save
 
Hi All!

In the QGis 1.0 help, under section 9.1.4 it says:
*To save the composer canvas as a templates, click on the button. Browse to
the directory you like
and save a template to use it again for another map canvas.*

This is exactly what I need to do but cannot find 'the button'. Apparently
the save and open buttons are missing from my Print Composer interface.
QGis is recently installed with the OSGEO4W installer and reads QGis 1.0.1 -
Kore.

Any tips are most appreciated.

Mats.E

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


AW: [Qgis-user] shape file to gridded

2009-03-15 Thread Hugentobler Marco
Hi Marc

Do you mean spatial interpolation? There are several methods you can use with 
the GRASS plugin and there is also an interpolation plugin in QGIS (inverse 
distance weighting or triangle based interpolation).

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Marc Fischer
Gesendet: So 15.03.2009 07:00
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] shape file to gridded
 
Folks,

I have polygons in a shape file with an attribute that I'd like to  
distribute on a geographic grid and then export to netcdf or ascii.   
I've done this in Arcview using Spatial Analyst Extension.

Is there a way to do this in QGIS?

Best,

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


AW: [Qgis-user] map composer

2009-03-12 Thread Hugentobler Marco
Hi Stefaan

This sounds like a bug. Please fill a ticket in the tracker with a detailed 
step-by-step description and assign it to me.
As a workaround (but unfortunately not very convenient), you could save the 
project, delete the composer entry in the xml file, reload the project.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von stefaan dondeyne
Gesendet: Do 12.03.2009 21:15
An: qgis-user
Betreff: [Qgis-user] map composer
 
Dear qGIS-users,
 
I am making my first maps with qGIS 1.0.1 (that's after upgrading from .0.9.x); 
working under Windows XP - SP3
 
The print (or map) composer is indeed great and much improved - though one 
thing annoys me: How can I actually get a fresh new sheet ? that is to start 
afresh after some trials ...
 
Actually, I cant get rid of some traces of frames of items I moved, or taken 
away (see pic attached - if you get that through).  Any suggestion would be 
most welcome.
 
Many thanks

 
_
Stefaan Dondeyne (PhD)
Natural Resources Management & Research
Bloemenlaan 11 - 3001 Leuven - Belgium
GSM +32 476 61 90 65 (Belgium)
Cell 82 733 24 14 (Mozambique)
_
http://www.actf.gov.mz/reserva_chimanimani.html
http://www.mozambiqueflora.com/index.php
http://micaia.org/centre/micaia_family.html
 


  

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


AW: [Qgis-user] QGis proxy settings

2009-03-03 Thread Hugentobler Marco
Hi Gavin

The extended Proxy options (possibility to choose the proxy type) are only in 
1.1, not in the 1.0.x versions.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Gavin Fleming
Gesendet: Di 03.03.2009 14:23
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] QGis proxy settings
 

I've just installed QGIS 1.0.1 from OSGeo4W with Plugin installer 0.9.8 and
this issue is still present. 

All remote repositories are unavailable and I can't see WMS and WFS
services, even though my proxy settings are correct in Options.

any tips?


Craig Leat wrote:
> 
> Borys Jurgiel wrote:
>> I've just uploaded Installer 0.06.6. Now it uses QGIS proxy settings from
>> the
>> options window (including login & password). Could you test it?
> 
> It works with my http proxy, which requires authentication, and trunk
> r9552.
> 
> Craig
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/QGis-proxy-settings-tp2037853p2415083.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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


AW: [Qgis-user] Undo-command in Edit-session

2009-03-03 Thread Hugentobler Marco
Hi Marco

No, there is no undo command in the edit tools (not even in QGIS at all). I 
know that undo would be very handy, but the only way up to now is to regularly 
save.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Marco Lechner - FOSSGIS 
e.V.
Gesendet: Di 03.03.2009 11:27
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Undo-command in Edit-session
 

Is there an Undo-command while using the edit-tools (for shapaes) of QGIS?
I couldn't find a button and Ctrl-Z doesn't seem to work. There must be a
way to Undo if I moved a lot of objects but my last move was wrong (and of
course i didn't save my edits after each single move.

Marco
-- 
FOSSGIS e.V.
Marco Lechner
http://www.fossgis.de
___
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


AW: [Qgis-user] Many crashes on ubuntu 8.10 with recommanded binairies

2009-02-17 Thread Hugentobler Marco
Hi Paul

I'm also using ubuntu 8.10.
The bug with the crash in the classification dialog seems to be related to the 
ubuntu gdal package. It works for me with a self-compiled gdal. 
I have no idea when the gdal package will be updated. Hopefully someone else on 
the list knows more about the packaging process?

>I have some other receipts to make qgis crash by SIGABRT or by segfault,
>under fairly standard usage

Each crash probably has a different reason. Please go on and fill them into the 
tracker (after checking they are not already there).

Regards,
Marco



-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Paul R
Gesendet: Di 17.02.2009 13:56
An: QGIS user ML
Betreff: [Qgis-user] Many crashes on ubuntu 8.10 with recommanded binairies
 
Hello list,

this is my first post here, and I'd like first to thank all the people
involved in the Quantum GIS project. This looks already great, and
really promising.

I'm here to report a bug, probably in the way ubuntu binairies are
packaged. To reproduce, follow the steps :

1 - you need ubuntu 8.10
2 - follow instructions on http://www.qgis.org/download/binaries.html to
get the software installed
3 - grab sample data from http://www.qgis.org/download/sample-data.html
4 - run qgis
5 - open the vector layer trees.shp from the samples
6 - open layer properties, go to the symbology tab
7 - change the legend type from "single symbol" to "graduated symbol"
8 - try to classify in 3 classes the AREA_KM2

when pressing the classify button, qgis crashes, with output :

(...)
b2bee000-b2bfe000 r-xp  08:02 1239747
/usr/lib/grass/lib/libgrass_I.6.2.3.so
b2bfe000-b2bff000 r--p f000 08:02 1239747
/usr/lib/grass/lib/libgrass_I.6.2.3.so
b2bff000-b2c0 rw-p 0001 08:02 1239747
/usr/lib/grass/lib/libgrass_I.6.2.3.so
b2c0-b2c12000 r-xp  08:02 1031932/usr/lib/qgis/libogrprovider.so
b2c12000-b2c13000 r--p 00011000 08:02 1031932/usr/lib/qgis/libogrprovider.so
b2c13000-b2c14000 rw-p 00012000 08:02 1031932/usr/lib/qgis/libogrprovider.so
b2c14000-b2c2b000 r-xp  08:02 1031931
/usr/lib/qgis/libogrconverterplugin.so
b2c2b000-b2c2c000 ---p 00017000 08:02 1031931
/usr/lib/qgis/libogrconverterplugin.so
b2c2c000-b2c2d000 r--p 00017000 08:02 1031931
/usr/lib/qgis/libogrconverterplugin.so
b2c2d000-b2c2e000 rw-p 00018000 08:02 1031931
/usr/lib/qgis/libogrconverterplugin.so
b2c2e000-b2c3e000 r-xp  08:02 1031928
/usr/lib/qgis/libnortharrowplugin.so
b2c3e000-b2c3f000 r--p f000 08:02 1031928
/usr/lib/qgis/libnortharrowplugin.so
b2c3f000-b2c4 rw-p 0001 08:02 1031928
/usr/lib/qgis/libnortharrowplugin.so
b2c4-b2c6a000 r-xp  08:02 1031923
/usr/lib/qgis/libinterpolationplugin.so
b2c6a000-b2c6b000 r--p 0002a000 08:02 1031923
/usr/lib/qgis/libinterpolationplugin.so
b2c6b000-b2c6c000 rw-p 0002b000 08:02 1031923
/usr/lib/qgis/libinterpolationplugin.so
b2c6c000-b2c84000 r-xp  08:02 1031926
/usr/lib/qgis/libgridmakerplugin.so
b2c84000-b2c85000 r--p 00017000 08:02 1031926/usr/liAborted


When run inside gdb, I get :

(...)
/usr/lib/grass/lib/libgrass_gproj.6.2.3.so
b2b1e000-b2b1f000 r--p 7000 08:02 1239748
/usr/lib/grass/lib/libgrass_gproj.6.2.3.so
b2b1f000-b2b2 rw-p 8000 08:02 1239748
/usr/lib/grass/lib/libgrass_gproj.6.2.3.so
b2b2-b2b23000 r-xp  08:02 1239746   
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb47e16d0 (LWP 7495)]
---Type  to continue, or q  to quit---
0xb7f08430 in __kernel_vsyscall ()


I have some other receipts to make qgis crash by SIGABRT or by segfault,
under fairly standard usage. I'm not sure where the problems are,
though, so I'd like some advices before investigating more or filling
a bug report on the tracker. Thank you in advance.

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


AW: [Qgis-user] Two or more maps in the print composer

2009-02-16 Thread Hugentobler Marco
Hi Nikos

It is possible to print different extents of the same map. The possibility to 
have different layers loaded for the different map is planned for the next 
stage of composer development this year.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Nikos Alexandris
Gesendet: Di 17.02.2009 05:26
An: qgis-user List
Betreff: [Qgis-user] Two or more maps in the print composer
 
Hi all!

If I understand the concept, the print composer enables viewing of
multiple maps and successively printing/saving.

What I can't figure out is how to load "different" maps (raster or
vector) on the different map frames I have currently on-display (in the
print composer I mean). Is it working or is it still "on-the-way"?

Thank you, Nikos

___
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


AW: AW: [Qgis-user] snapping, revisited

2008-12-03 Thread Hugentobler Marco
>Can't we reffer to the reprojected coordinates? Maybe it's something to add to 
>the API?

Maybe it is possible with a method that takes the tolerance in pixels, the 
point where the user clicked and the layer involved. The method then would 
calculate the search rectangle in layer coordinates.

Marco


-Ursprüngliche Nachricht-
Von: Borys Jurgiel [mailto:[EMAIL PROTECTED]
Gesendet: Mi 03.12.2008 10:42
An: Hugentobler  Marco
Cc: qgis-user@lists.osgeo.org
Betreff: Re: AW: [Qgis-user] snapping, revisited
 
Wednesday 03 of December 2008 09:45:54 Hugentobler Marco napisal(a):
> Hi all,
>
> Same question as the last time we discussed this:
> What shall we do if the layer is reprojected? In most cases, the
> pixel/layer unit is not uniform accross the map canvas. So it is not
> possible to map number of pixels to distance in layer units (or at least
> that would not be valid for the whole map). Let me know if you have any
> good ideas how to solve this.

Can't we reffer to the reprojected coordinates? Maybe it's something to add to 
the API?

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


AW: [Qgis-user] snapping, revisited

2008-12-03 Thread Hugentobler Marco
Hi all,

Same question as the last time we discussed this:
What shall we do if the layer is reprojected? In most cases, the pixel/layer 
unit is not uniform accross the map canvas. So it is not possible to map number 
of pixels to distance in layer units (or at least that would not be valid for 
the whole map). 
Let me know if you have any good ideas how to solve this.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Borys Jurgiel
Gesendet: Di 02.12.2008 22:41
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] snapping, revisited
 
Tuesday 02 of December 2008 22:35:34 Maciej Sieczka napisal(a):
> Christopher Barker pisze:
> > Micha Silver wrote:
> >
> > mouse tolerance should be in pixel units,
>
> +1 (^10) !!!

Not too much... ;-)
But it's really essential enchancement!
+10
___
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


AW: [Qgis-user] splitting polygons

2008-11-28 Thread Hugentobler Marco
Hi Micha

Do you have the possibility to test with current svn version?
I recently fixed a feature splitting bug that occured in connection with geos2 
library. I think this is the same one you described.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Micha Silver
Gesendet: Fr 28.11.2008 12:47
An: "Jürgen E. Fischer"; Qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] splitting polygons
 
Jürgen E. Fischer wrote:

> Hi Micha,
>
> On Wed, 26. Nov 2008 at 21:52:27 +0200, Micha Silver wrote:
>   
>> Looks to me like this bug:
>> http://trac.osgeo.org/qgis/ticket/1025
>> has been resurrected from the grave.
>> 
>
> Can you supply a stack trace or even better a testcase to reproduce the
> problem?
>
>   
Hello Jurgen
Here's what I did:

Went to a second Ubuntu machine (8.04), running qgis Metis 0.11, (just 
to make sure the crash I got before with 1.0.0 wasn't just a fluke. ) I 
created a simple polygon shapefile. Then I used the split polygon tool 
to split one feature - no problems.

Next I did the upgrade on this machine to get 1.0.0 Preview II. I now 
ran the new qgis with strace, opened that same shapefile, and tried to 
split one of the polygons, and got the same crash as on the first 
machine. Here's what appeared on the console:

---
[EMAIL PROTECTED]:~/geodata/test_poly$ strace -o qgis_trace.txt qgis &
[1] 21501
[EMAIL PROTECTED]:~/geodata/test_poly$ Python support ENABLED :-)
Loading python plugins
Warning: QObject::connect: Connecting from COMPAT signal 
(QAction::activated())
Loaded : Plugin Installer (package: plugin_installer)
Plugin loading completed
Warning: QPainter::begin: Cannot paint on a null pixmap
Warning: QPainter::end: Painter not active, aborted
Warning: QgsCoordinateReferenceSystem::getRecord failed :  select * from 
tbl_srs where parameters='+proj=tmerc +lat_0=31.7343936111 
+lon_0=35.2045169445 +k=1.067 +x_0=219529.584 +y_0=626907.39 
+ellps=GRS80 +units=m +no_defs'
Warning: QgsCoordinateReferenceSystem::findMatchingProj will only work 
if prj acr ellipsoid acr and proj4string are set!...

[1]+  Donestrace -o qgis_trace.txt qgis
--

and I put the resulting trace here:  
http://my.arava.co.il/~micha/qgis_trace.tar.gz

Thanks for your help.
Regards,
Micha

> Jürgen
>
>   


___
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


WG: [Qgis-user] Big sharing problem - Slow when data aresharedinmore than one user - QGIS 0.11

2008-11-28 Thread Hugentobler Marco
Hi François

It seems to me that this is more a performance problem of the file server than 
a QGIS problem. Maybe it is possible to tune something there to improve 
performance.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Ibanez François
Gesendet: Fr 28.11.2008 08:34
An: qgis-user@lists.osgeo.org
Betreff: RE: [Qgis-user] Big sharing problem - Slow when data aresharedinmore   
than one user - QGIS 0.11
 
No, it's always slow...
I can't believe there is no solution to make work QGIS on a database in 
community... What is the interest if you can't load the same data on numerous 
workspace ???
The solution with POSTGIS is too much difficult and long to apply... And we are 
mainly with mapInfo here...

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Ibanez François
Envoyé : vendredi 28 novembre 2008 08:19
À : qgis-user@lists.osgeo.org
Objet : RE: [Qgis-user] Big sharing problem - Slow when data are
sharedinmore than one user - QGIS 0.11


Thanks, but I can't change now my strategy of database...
I'm also asking myself if the problem is not relative to the fact all the users 
are opening the same file at the same time.
I'm gonna try to make differente file opening the same database...

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Mike Toews
Envoyé : vendredi 28 novembre 2008 01:06
À : Micha Silver
Cc : qgis-user@lists.osgeo.org
Objet : Re: [Qgis-user] Big sharing problem - Slow when data are shared inmore 
than one user - QGIS 0.11


Micha Silver wrote:
> Could you elaborate on the "extra software and database setup" bit?
> Many thanks,
> Micha
>
Hi Micha,

To connect PostGIS with ArcGIS products (basic ArcView license and up) 
you can use zigGIS (http://pub.obtusesoft.com/). This program used to be 
open source (see http://code.google.com/p/ziggis/ although I've had no 
luck making it work with 9.2). The developer has since commercialized 
and revamped the program with a $279 price tag. (In context and ranting 
in Canadian dollars, ArcView is about $3000, but the minimum license 
required to connect and edit with an ArcSDE spatial database is 
ArcEditor, which is about $1. I think ArcInfo is about $2, and 
ArcSDE is about $15000 not including database software, which ranges 
from $0 for PostgreSQL to $5000 for MS SQL Server and to $6 for 
Oracle Spatial). ZigGIS adds some GUI controls to ArcGIS, and it has 
read/write capabilities. The demo is worth a try, but it only shows a 
limited number of rows. I don't have a lot of experience with this 
product, so I can't say too much about any limitations except that it 
appeared to work fine.

To connect PostGIS with Autodesk products (i.e., AutoCAD Map 3D 2008 and 
up, MapGuide Enterprise or MapGuide Opensource) you can use the PostGIS 
Provider for FDO (http://trac.osgeo.org/fdo/wiki/FdoPostGISNotes in 
addition I recommend using the Windows DLLs from 
http://www.geomapgis.com/web/geomap-group/fdo/index.html). However, this 
FDO Provider is regarded as beta-quality in every sense (see "Open 
Tickets" on Trac page). I've run into many issues with this driver, but 
have overcome many of these with customized trigger functions that 
synchronize a second replica table for FDO clients. The nice thing about 
this effort is that the CAD folks where I work can continue to use 
familiar software to digitize coordinates, polylines, etc., and the 
geospatial data are identical in QGIS and AutoCAD displays at all times.

I've also used PostGIS for a limited amount of time with Manifold System 
(http://www.manifold.net/), which has built-in support. However, I've 
had issues with adding and editing shapes since it commits edits 
instantly without any ability to fill in attributes before, which 
usually raises PostgreSQL constraint errors (e.g., I need to assign a 
unique non-null name to each new feature of a certain layer).

With all that said, by far my best PostGIS experience with a desktop app 
is with QGIS, since it works "out of the open source box".  I don't need 
to fabricate any database workarounds for QGIS as I do for FDO, which is 
of great convenience. The people at my workplace that are using QGIS 
(starting since 1 month ago) have picked it up quickly, and the value of 
GIS in the office has gone up quite a bit, since it is no longer 
exclusive to the few technicians with expensive software.

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


AW: [Qgis-user] getting QgsMapCanvasSnapper to work

2008-11-18 Thread Hugentobler Marco
Hi Cedric

I used your code lines and started the debugger. It seems that the 
QgsMapCanvasSnapper works correctly. I think the problem has to do with the 
QList reference in the binding:

int snapToCurrentLayer( const QPoint& p, QList& results, 
QgsSnapper::SnappingType snap_to, double snappingTol = -1, const 
QList& excludePoints = QList() );

I tried to change that to:

int snapToCurrentLayer( const QPoint& p, QList& results 
/Out/, QgsSnapper::SnappingType snap_to, double snappingTol = -1, const 
QList& excludePoints = QList() );

But then Python complains about a wrong type of the results parameter with your 
code. I tried to use a 'QList' instead of '[]', but it seems there is no QList 
in PyQt?

Python experts: How can we deal with QList in PyQGIS?

Regards,
Marco


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Möri Cedric
Gesendet: Di 18.11.2008 18:43
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] getting QgsMapCanvasSnapper to work
 
Hi all!

I'm trying to snap a vertex with my python plugin. (Many thanks to Martin for 
the quick work with the bindings!)

My code looks like this:

def canvasReleaseEvent(self,event):
x = event.pos().x()
y = event.pos().y()
   
startingPoint = QPoint(x,y)
result = []
excludePoints = []
  
snapper = QgsMapCanvasSnapper(self.canvas)
   
snapper.snapToCurrentLayer (startingPoint,result,QgsSnapper.SnapToVertex, 
1, excludePoints)
print "result: ",result

The problem is, whatever I do, the result keeps empty. I tried to play with 
tolerance and scale and I'm quite sure it has to find a vertex but without any 
success (the layer unit is meter).

So I thought about using QgsSnapper directly. But I'm not able to set it up 
properly. Doing the following snippet always leads to a attribut error on the 
snapLayer struct.

  snapLayer = QgsSnapper.SnapLayer
  snapLayer.mLayer = self.iface.mapCanvas().currentLayer()
  snapLayer.mTolerance = 1000
  snapLayer.mSnapTo = QgsSnapper.SnapToVertex


So, if anyone has a hint why the QgsMapCanvasSnapper doesn't want to give me a 
result or how I set up the struct correctly, it would be wonderful to share it 
with me :-)

Best regards and kudos to all the helping people here on the list!
Cédric


mit freundlichen Grüssen

Cédric Möri
GIS-Informatiker

--
Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
Rötistrasse 4
4501 Solothurn

Telefon: +41 (0)32 627 24 75
Telefax: +41 (0)32 627 22 14
mailto:[EMAIL PROTECTED]
http://www.agi.so.ch
___
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


AW: [Qgis-developer] AW: [Qgis-user] course and plugins

2008-10-18 Thread Hugentobler Marco

And of course we should wait with this until the API cleanups in trunk are 
finished. Plugins will need some changes to work with QGIS 1.0 API.

Marco 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Hugentobler  Marco
Gesendet: Sa 18.10.2008 10:59
An: qgis-user; [EMAIL PROTECTED]
Betreff: [Qgis-developer] AW: [Qgis-user] course and plugins
 
Hi all,

I'm also in favour of adding more python plugins to the repository (e.g. fTools 
and geoprocessing). Requirement is that a plugin is of general interest and 
that the author agrees to maintain the plugin.

Regards,
Marco 


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Micha Silver
Gesendet: Sa 18.10.2008 10:21
An: qgis-user
Betreff: Re: [Qgis-user] course and plugins
 
Paolo Cavallini wrote:

> Hi all.
> Just finished an interesting course for an Italian environment agency.
> Most of the stuff worked very well. Every time QGIS is visibly more
> stable and more powerful.
> Special highlights:
> - the search tab fo GRASS modules: this saved a lot of time, workflow
> was much more pleasant and fast - thanks Tim!
> - plugin modules: this caused a lot of people lowering their mandibles
> for the power they give and for their ease of use; we spotted several
> bugs, wrote to Carson, and most are already solved. I strongly suggest
> to include them (at least fTools and Table Manager) in the SVN, and
> install them as default: in my opinion we cannot afford missing them.
>   
+1.
In the few seminars I've done, my lesson #1 is "Adding Basic Plugins". 
With the new plugin installer, beginners have to scroll thru the long - 
and ever growing- list of plugins (which, of course is a good thing!) to 
find and add one or two additional basic tools. I'd just as soon have 
fTools available by default, like Delimited Text, SPIT, etc.
-- 
Micha

> In the meantime, we found several bugs; I'll fill up the trac soon.
> All the best, and lots of thanks to all devs!
> pc
>   

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


___
Qgis-developer mailing list
[EMAIL PROTECTED]
http://lists.osgeo.org/mailman/listinfo/qgis-developer


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


AW: [Qgis-user] course and plugins

2008-10-18 Thread Hugentobler Marco
Hi all,

I'm also in favour of adding more python plugins to the repository (e.g. fTools 
and geoprocessing). Requirement is that a plugin is of general interest and 
that the author agrees to maintain the plugin.

Regards,
Marco 


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Micha Silver
Gesendet: Sa 18.10.2008 10:21
An: qgis-user
Betreff: Re: [Qgis-user] course and plugins
 
Paolo Cavallini wrote:

> Hi all.
> Just finished an interesting course for an Italian environment agency.
> Most of the stuff worked very well. Every time QGIS is visibly more
> stable and more powerful.
> Special highlights:
> - the search tab fo GRASS modules: this saved a lot of time, workflow
> was much more pleasant and fast - thanks Tim!
> - plugin modules: this caused a lot of people lowering their mandibles
> for the power they give and for their ease of use; we spotted several
> bugs, wrote to Carson, and most are already solved. I strongly suggest
> to include them (at least fTools and Table Manager) in the SVN, and
> install them as default: in my opinion we cannot afford missing them.
>   
+1.
In the few seminars I've done, my lesson #1 is "Adding Basic Plugins". 
With the new plugin installer, beginners have to scroll thru the long - 
and ever growing- list of plugins (which, of course is a good thing!) to 
find and add one or two additional basic tools. I'd just as soon have 
fTools available by default, like Delimited Text, SPIT, etc.
-- 
Micha

> In the meantime, we found several bugs; I'll fill up the trac soon.
> All the best, and lots of thanks to all devs!
> pc
>   

___
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


AW: [Qgis-user] Qgis on eeepc 901: 2nd round

2008-09-19 Thread Hugentobler Marco
Hi Agustin,

The packages are compiled with compiler opimisation turned on. So I don't 
expect speed improvements with self-compiled binaries. In terms of storage 
efficiency, it may be an advantage that by compiling yourself you can only 
include what you need (e.g. grass, postgis, gsl, expat, georeferencer, gpx, wfs 
are optional).

Regards,
Marco 


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Agustin Lobo
Gesendet: Fr 19.09.2008 10:48
An: qgis-user
Betreff: [Qgis-user] Qgis on eeepc 901: 2nd round
 
Hi!

After solving few problems related to the OS
(Xandros vs ubuntu-) thanks to the kind help of many people,
I'm now about trying to install QGIS
on the eeepc 901 running ubuntu-eee
instead of its original Xandros
(I'll tell why in a future and more
comprehensive message).

Before starting (this afternoon), one question:
In terms of efficiency of the resulting QGIS,
is it better that I compile myself on the
eee-pc or would I get similar performance
by installing the ubuntu binaries?

In other words, does it pay in terms
of efficiency the (for me considerable) complexity
of compiling myself? Note that this is a tiny
machine, thus any improvement could be important
in the long term, so I'm kind of resigned myself to
the involved task of compiling if you think
that I ought to.

Thanks

Agus




-- 
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: [EMAIL PROTECTED]
http://www.ija.csic.es/gt/obster
___
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


AW: [Qgis-user] Diagram branch - move to trunk or compile for Windows?

2008-08-11 Thread Hugentobler Marco
Hi John,

Unfortunately, it is not possible to merge the diagram branch to trunk because 
the feature freeze for 1.0 is very soon.
I updated the diagram branch to contain the newest developments of trunk (until 
today) and compiled a windows binary:

http://karlinapp.ethz.ch/qgis_diagram_bin.zip

But it does not contain python and GRASS support. For the compilation of a 
comprehensive windows build, Marco Pasetti would be the person to ask.

Regards,
Marco H.


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von John Abraham
Gesendet: Fr 08.08.2008 18:41
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Diagram branch - move to trunk or compile for Windows?
 
I have a need for diagram symbology -- little pie charts or bar charts 
on top of each shape.  This is present in the "Diagram Branch", that 
I've successfully checked out and built for MacOS.  But it was a painful 
process for me, as a Java programmer, to compile a C program.

I imagine I will have even more trouble trying to compile under Windows, 
since I'm even less of a Windows programmer than I am a C programmer.  
Has someone built (can someone build?) the Diagram Branch for Windows, 
and if so can they ship it to me?

Or, even better, can it be integrated into the trunk now?

Background: we're hoping to include QGIS (and PostgreSQL and PostGIS) in 
our standard distribution of PECAS, an open-source spatial economic 
simulation framework that state and local governments use to evaluate 
transportation infrastructure, transportation policy and land use 
regulations.  Government agencies run two scenarios for 30 years with 
PECAS, and then want to look at the differences between the scenarios, 
and the trends through time, on a GIS.  Bar charts are good for showing 
trends through time, and can also be good for showing two values (from 
two scenarios) side-by-side.

--
John Abraham
[EMAIL PROTECTED]

___
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


AW: [Qgis-user] printing with metis?

2008-08-04 Thread Hugentobler Marco
Hi Marco,

If you are curious about the print composer developments, just check out the 
printing branch:
svn co https://svn.osgeo.org/qgis/branches/advanced_printing_branch

I'm trying to bring the branch to a stable state until 15. August so it can be 
tested by interested folks. 25. August is the feature freeze for 1.0 and the 
latest date for merge.

To your suggestions:

>2. on mouse over the object may show a tooltip showing the name of the 
>object

That's a good idea, I added it to my todo list. Maybe tooltip could also show 
the most important properties of the object

>3. users should be able to resize the objects on the page directly with the 
>mouse (such as resizing windows); now resizing is possible only giving the 
>width-height parameters as numbers (that's good for a fine sizing, but not 
>for a quick one)

In printcomposer branch, it is possible to resize the maps in composer and also 
to move the content of composer map. For the other objects (scale bar, label, 
legend), resizing changes the size of the frame, but not the size of the 
content.

>1. when the user press an "add object" button, the object may be 
>automatically placed on the map, with a standard (small) dimension and 
>position (left up corner?)

I'm not sure about that. Most graphic programs (and also the main window of 
QGIS for some tools) work the way that a user picks a tool and nothing happens 
until mouse click or drag in canvas is done. E.g. in inkscape, if you add a 
rectangle, you pick the rectangle tool and the rectangle appears once the user 
drags the mouse on the canvas. I think it is quite natural to work this way.

However, in inkscape, there is a changing mouse cursor depending on the 
selected tool. I think that would also be helpful in the print composer.

Regards,
Marco






-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Marco Pasetti
Gesendet: Di 29.07.2008 15:36
An: Andreas Neumann; qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] printing with metis?
 
Hi Andreas,

> Marco (Pasetti) - can you elaborate on what you want to see adressed
> regarding the usability in the print composer? Any concrete suggestions?
> As you said, it would be better to discuss the usability problems first
> before everything is implemented.

yes, I agree; the topic needs to be expanded...

OT: you (all) can call me as marcopx (my commit username) to not make 
confusion between me and Marco Hugentoblers ;)

> you mean a "tooltip"? - this would be a good idea!

yes, correct; what I recorded from many users (myself too) is that when you 
press a button in the Map Composer nothing actually happens; you need to put 
the mouse over the map an press the left button again to see the object 
placed on the map; what I suggest is:

1. when the user press an "add object" button, the object may be 
automatically placed on the map, with a standard (small) dimension and 
position (left up corner?)
2. on mouse over the object may show a tooltip showing the name of the 
object
3. users should be able to resize the objects on the page directly with the 
mouse (such as resizing windows); now resizing is possible only giving the 
width-height parameters as numbers (that's good for a fine sizing, but not 
for a quick one)
4. (minor) the layout page should be zoomable also using the mouse wheel

That's mainly what I suggest

I'll give you more notes if I'll write down some new :)

Regards,

Marco 

___
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


AW: [Qgis-user] Georeferencing plugin raster coversion

2008-06-11 Thread Hugentobler Marco
Hi Cornelius,

You might try it with no compression. There have been problems with compression 
that came frome the libtiff library and I don't know if they are solved now.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Cornelius Fasshauer
Gesendet: Mi 11.06.2008 16:56
An: Qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Georeferencing plugin raster coversion
 
Hi everybody,
 
when using the georeferencing plugin i face the following problem:
I use 1 bpp tiff raster images which are georeferenced using
Helmert-Transformation with LZW-Compression. The plugin produces 8 bpp
GeoTiff-files.
Everthing is fine as long as i work with QGIS. When I try to  view the
modified rasterfiles with other image viewers or to attach it to
CAD-Drawings in AutoCAD everything ist black. Any attempt to convert the
files to other formats, reduce/increase color depth and so on all ended
up in the same: rectangular frames filled BLACK. Does anybody have any
ideas what can be done about this??
 
Many thanks in advance
 
c.fasshauer

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


AW: [Qgis-developer] Re: [Qgis-user] Hackfest 2008

2008-06-03 Thread Hugentobler Marco
Hi all,

I can be at the hackfest from 22.6. to 24.6.

Regards,
Marco


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Tim Sutton
Gesendet: Mo 02.06.2008 09:01
An: [EMAIL PROTECTED]
Cc: qgis-user; [EMAIL PROTECTED]
Betreff: Re: [Qgis-developer] Re: [Qgis-user] Hackfest 2008
 
Hi

 unfortunately June it's a messy month for me. I have my last 2 exams and
>
> Just to clarify a few basic points:
> - some money is available to support the partecipation of developers
> - I'm available for help with the organization, logistics etc.

Great. Hopefully we can keep things very simple so that its not too
much of a hassle for you.

> - A suitable place with internet connection may be available already

Can you give us a link / some details?

> - I'm not around from 13 to 28 June

I'm theoretically available all June but I think it might be a bit
optimistic to try to organise it for earlier in the month and also I
dont know how many others can attend earlier in the month.

> Looking forward to see us converging on a date!

I would suggest we use 20 - 27 June as a working period and see how
many can fit that week, or a part of that week. Once the data center
has recovered and our server is online again, I will add a table to
the wik page to let all potential attendees register what days they
may be around for.

Regards

Tim

> All the best.
> pc
> ___
> Qgis-developer mailing list
> [EMAIL PROTECTED]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


AW: [Qgis-user] lines with arrowheads

2008-06-02 Thread Hugentobler Marco
Hi Tim,

>Marco what is the plan / status of that for 1.0?

Prior 1.0, there will be no major redesign of vector rendering mechanism. Post 
1.0, I think it is absolutely necessary to do so and to let renderer subclasses 
decide what shapes to draw.

I think the patch only makes sense if, as you suggested in February (see 
below), the arrow heads can be enabled/disabled via vector layer props and the 
state is saved to the project file.

>If anyone vigorously disagrees let me know,
>otherwise I'll incorporate your patch in 0.9.3 with some additions
>from myself to enabled or disable line arrows via the layer props
>dialog, the vector api and the layer properties serialisation
>mechanism.

Regards,
Marco

 


-Ursprüngliche Nachricht-
Von: Tim Sutton [mailto:[EMAIL PROTECTED]
Gesendet: Mo 02.06.2008 22:10
An: Stefanie Tellex
Cc: qgis-user@lists.osgeo.org; Hugentobler  Marco
Betreff: Re: [Qgis-user] lines with arrowheads
 
Hi

Yes  I was for accepting the patch, but I believe others wanted to
wait under we had rendering stuff revised. Marco what is the plan /
status of that for 1.0? My feeling is we should reconsider the patch
if we wont have the render modules in place for 1.0

Regards

Tim

2008/6/2 Stefanie Tellex <[EMAIL PROTECTED]>:
> I submitted a patch to do this a while back, but I don't think it was
> accepted.  I thought it was because it was decided to wait until a more
> modular rendering pipeline was added, but I can't find the messages about
> that in the thread.   In fact the thread implies it would be accepted, but
> if it made it into svn, I never noticed it.
> (http://lists.osgeo.org/pipermail/qgis-developer/2008-February/003248.html)
>
> The patches are attached.  (arrows_in_linestrings draws arrows;
> draw_start_and_stop draws a green dot at the start and a red dot at the
> end.)
>
> This message suggests an alternative solution that doesn't require compiling
> qgis yourself:
> http://lists.osgeo.org/pipermail/qgis-developer/2008-February/003250.html
>
> Stefanie
>
>
>
>
>
> M S wrote:
>>
>> One of the outputs from r.flow in GRASS is downslope flow lines.  Without
>> arrowheads (or some similar symbol like that) at the end of lines pointing
>> which way is downhill, the lines become ambiguous.
>>
>> Is there a way to draw these lines with arrowheads?   Or some other
>> approach that might achieve this?
>>
>> Mark
>>
>>
>> 
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> Index: qgis/qgis_unstable/src/core/qgsvectorlayer.cpp
> ===
> --- qgis.orig/qgis_unstable/src/core/qgsvectorlayer.cpp 2008-06-02
> 12:17:11.0 -0400
> +++ qgis/qgis_unstable/src/core/qgsvectorlayer.cpp  2008-06-02
> 12:34:47.0 -0400
> @@ -360,7 +360,8 @@
> QPainter* p,
> const QgsMapToPixel* mtp,
> const QgsCoordinateTransform* ct,
> -bool drawingToEditingCanvas)
> +bool drawingToEditingCanvas,
> +bool drawArrows)
>  {
>   unsigned char *ptr = feature + 5;
>   unsigned int wkbType = *((int*)(feature+1));
> @@ -432,6 +433,7 @@
>   // 255 = opaque
>   //
>   QPen myTransparentPen = p->pen(); // store current pen
> +  QBrush brush = p->brush(); //to be kept as original
>   QColor myColor = myTransparentPen.color();
>   //only set transparency from layer level if renderer does not provide
>   //transparency on class level
> @@ -459,8 +461,45 @@
>   }
> }
>
> +  // draw arrows
> +  if (drawArrows) {
> +#define PI 3.14159
> +p->setBrush(QBrush(myColor, Qt::SolidPattern));
> +
> +for (int i = 0; i < pa.size(); ++i)
> +  {
> +   if (i > 0)
> + {
> +   QPointF p1 = pa[i];
> +   QPointF p2 = pa[i-1];
> +
> +   QLineF line = QLineF(p1, p2);
> +   double angle = ::acos(line.dx() / line.length());
> +   if (line.dy() >= 0)
> + {
> +   angle = (PI * 2) - angle;
> + }
> +
> +   float arrowSize = 5;
> +   QPointF arrowP1 =
> + line.p1() + QPointF(sin(angle + PI / 3) * arrowSize,
> + cos(angle + PI / 3) * arrowSize);
> +   QPointF arrowP2 =
> + line.p1() + QPointF(sin(angle + PI - PI / 3) * arrowSize,
> + cos(angle + PI - PI / 3) * arrowSize);
> +   QPolygonF arrowHead;
> +  

AW: [Qgis-user] Unable to open databases

2008-05-30 Thread Hugentobler Marco
Hi Carlos,

I had a similar problem recently and it was ok after I did a make clean or a 
fresh svn checkout (svn update was not enough).
Don't know if your problem is the same or a different one.

Regards,
Marco 


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Carlos Dávila
Gesendet: Fr 30.05.2008 17:12
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Unable to open databases
 
I have recently lost connection to srs.db and also (I think) qgis.db
databases, so I get different errors and problems running both 0.10.0
and trunk versions ('Critical: Can't open database: unable to open
database file' and similar). I don't really know where the problem comes
from, but I think it can be related with sqlite packages in my system.
I've tried reinstalling/updating sqlite, but the problem is still there.
Any idea?
Regards
Carlos

-- 
Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, 
.ppt, .pptx, .mdb, mdbx

Instale OpenOffice desde http://es.openoffice.org/programa/index.html
OpenOffice es libre: se puede copiar, modificar y redistribuir libremente.
OpenOffice es gratis.
El uso de OpenOffice es totalmente legal.
OpenOffice funciona mejor que otros paquetes de oficina.
OpenOffice está en continuo desarrollo y no tendrá que pagar por las nuevas 
versiones.

___
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] AW: [Qgis-community-team] Hackfest 2008

2008-05-30 Thread Hugentobler Marco
Hi Tim,

Your suggestion that people can attend the days they are available sounds very 
good.
Because for most people the agenda already started to fill and it would be hard 
to find a date that suits everyone.

Which week(s) of June do you plan to be at the hackfest?

Regards,
Marco

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Tim Sutton
Gesendet: Fr 30.05.2008 18:25
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]; qgis-user; QGIS release team.; [EMAIL 
PROTECTED]
Betreff: [Qgis-community-team] Hackfest 2008
 
Hi All (and apologies for cross posting)

I send out an email a few days ago regarding release plans for 1.0  
which included some hackfest related info which probably got buried,  
so Im sending this again with a more specific topic.

Basically I would like to know if we can organise the hackfest within  
the month of June 2008. I am starting a new job in July and probably  
wont be available from 1 July on. I see on the hackfest page that  
Marco should be available. What about others? So far potential  
attendees that I know of are:

- Tim
- Marco
- Otto
- Anne Ghisla
- Paolo

I think even if we can just have a small meeting with those listed  
above we could make some good headway (but having more helpers would  
be great). I can be available for a week - even two weeks - and we  
could have it flexible that attendees just attend for the days they  
are available over that period. What do others think? Can we get the  
ball rolling? Who else can attend? Remember you don't need to be a  
programmer - those from the community-team and release-team are most  
welcome to attend as is anyone from the user community who is able to  
come along and spend a few days replicating, closing, updating bugs etc.

Looking forward to seeing this happen!

Regards



Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological  
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net

___
Qgis-community-team mailing list
[EMAIL PROTECTED]
http://lists.osgeo.org/mailman/listinfo/qgis-community-team

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


AW: AW: [Qgis-user] why is EPSG:2180 not recognised?

2008-04-08 Thread Hugentobler Marco
Hi Richard,

Thanks for offering your help. Afaik (projection gurus, please correct me where 
I'm wrong) your understanding is right and it's all about updating the srs.db 
with sqliteadmin. I think updating is not necessary before a release, it can be 
done whenever you hear about epsg updates or people tell you about a bug.

So I'm going to add you as maintainer of srs.db to the wiki and will direct 
people with projection updates to you. I'm not an expert concerning projection 
specific questions (only one common coordinate system in Switzerland :-) ). If 
you have any questions, just send a mail to the user and developer list. I 
think there are a lot of people in the QGIS community with profound knowledge 
of projections and spatial reference systems.

cheers,
Marco 



-Ursprüngliche Nachricht-
Von: Richard Duivenvoorde [mailto:[EMAIL PROTECTED]
Gesendet: Mo 07.04.2008 20:49
An: Hugentobler  Marco
Cc: Jean-Claude Repetto; qgis-user@lists.osgeo.org; [EMAIL PROTECTED]; [EMAIL 
PROTECTED]
Betreff: Re: AW: [Qgis-user] why is EPSG:2180 not recognised?
 
Hi,
I've got sqliteadmin (http://sqliteadmin.orbmu2k.de/) here, and it seems 
pretty trivial to update the database srs.db with that tool...

Though it might not be that trivial?
Looking at a freshly downloaded epsg file of the proj lib, I see
# WGS 72
<4322> +proj=longlat +ellps=WGS72 +no_defs  <>
The same holds true for 4322, 4622 and 4625

Can somebody explain to me then why it should be jean-claude's version? 
Or in other words, if the latest proj doesn't have it, what/who should 
be the authorative source in this case then?
The srs.db. is nothing more then the parameters used by proj isn't it? 
Or am I missing something here?

3328 - 3335 are indeed available in latest proj (and not in srs.db), so 
it should be easy to add them.
same for 3120
same for 3066

If I can count on some help with projection-specific questions, I can 
make it a part of my 'release-team' work? I will add it to the 
release-checklist in wiki then.

Is it ok to update it for every release, or for every 'bug' people find 
in it?

Regards,

Richard Duivenvoorde






Hugentobler Marco wrote:
> Hi Maciej, Jean-Claude
> 
>> Please don't tell me that I can send a patch with updates for the CS 
>> database. That would fix only my problem, while EPSG database has lots 
>> of fixes and additions in each new version, which get included in new 
>> releases of PROJ, GDAL, GRASS but not in QGIS.
> 
> It is of course also possible that you update the other entries in the sqlite 
> database of qgis.
> 
> Ideal would be a volunteer that acts as a maintainer of srs.db and updates it 
> in regular periods.
> 
> Regards,
> Marco 
> 
> 
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] im Auftrag von Jean-Claude Repetto
> Gesendet: Mo 07.04.2008 10:09
> An: qgis-user@lists.osgeo.org
> Betreff: Re: [Qgis-user] why is EPSG:2180 not recognised?
>  
> Maciej Sieczka wrote :
> 
>> QGIS CS database is severly outdated.
> 
> Hello,
> 
> I agree.
> Other examples :
> 
> WGS72 (EPSG 4322)
> 
> The QGIS database contains :
> +proj=longlat +ellps=WGS72 +no_defs
> 
> It should be :
> +proj=longlat +ellps=WGS72 +towgs84=0,0,4.5,0,0,0.554,0.219 +no_defs
> (look at <http://proj.maptools.org/gen_parms.html#towgs84>)
> 
> 
> Guadeloupe 1948 (EPSG 4622)
> ---
> The QGIS database contains :
> +proj=longlat +ellps=intl +no_defs
> It should be :
> +proj=longlat +ellps=intl 
> +towgs84=-472.29,-5.63,-304.12,0.4362,-0.8374,0.2563,1.8984 +no_defs
> 
> 
> 
> Martinique 1938 (EPSG 4625)
> ---
> The QGIS database contains :
> +proj=longlat +ellps=intl +no_defs  <>
> It should be :
> +proj=longlat +ellps=intl 
> +towgs84=126.93,547.94,130.41,-2.7867,5.1612,-0.8584,13.8227 +no_defs
> 
> 
> Conclusion : Don't trust the EPSG database, allways check the parameters.
> 
> Jean-Claude
> 
> ___
> 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


AW: [Qgis-developer] Re: [Qgis-user] EPSG:2180 not recognised, although present in srs.db

2008-04-08 Thread Hugentobler Marco

I also tried the example tif with the latest svn trunk (r8327) and QGIS seems 
to detect epsg 2180 correctly.
Maybe it depends on versions of gdal/proj4? The versions I use are proj 4.5 .0 
and gdal 1.4.0

Regards,
Marco

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Maciej Sieczka
Gesendet: Di 08.04.2008 14:50
An: Craig Leat
Cc: qgis-user@lists.osgeo.org; [EMAIL PROTECTED]
Betreff: [Qgis-developer] Re: [Qgis-user] EPSG:2180 not recognised,although 
present in srs.db
 
Craig Leat pisze:
> Maciej Sieczka wrote:

>> The main point of my email was that although QGIS *has* EPSG 2180 in 
>> it's CS database, it fails to recognize this georeference in a 
>> GeoTIFF. Looks like a bug, doesn't it?
>>
>> Try the attached GeotTIFF:

> I tested your sample GeoTiff with EPSG:2180 and 0.9.1 branch of QGIS and 
> find no errors.

Hi Craig

What do you mean by "no errors"?

In Settings > Options > Projection set "Prompt for projection". Load the 
GeoTIFF. Does QGIS recognize it's CS at load? For me it doesn't (trunk 
r8319 on Debian testing).

Maciek
___
Qgis-developer mailing list
[EMAIL PROTECTED]
http://lists.osgeo.org/mailman/listinfo/qgis-developer


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


AW: [Qgis-user] why is EPSG:2180 not recognised?

2008-04-07 Thread Hugentobler Marco
Hi Maciej, Jean-Claude

>Please don't tell me that I can send a patch with updates for the CS 
>database. That would fix only my problem, while EPSG database has lots 
>of fixes and additions in each new version, which get included in new 
>releases of PROJ, GDAL, GRASS but not in QGIS.

It is of course also possible that you update the other entries in the sqlite 
database of qgis.

Ideal would be a volunteer that acts as a maintainer of srs.db and updates it 
in regular periods.

Regards,
Marco 


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Jean-Claude Repetto
Gesendet: Mo 07.04.2008 10:09
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] why is EPSG:2180 not recognised?
 
Maciej Sieczka wrote :

> QGIS CS database is severly outdated.

Hello,

I agree.
Other examples :

WGS72 (EPSG 4322)

The QGIS database contains :
+proj=longlat +ellps=WGS72 +no_defs

It should be :
+proj=longlat +ellps=WGS72 +towgs84=0,0,4.5,0,0,0.554,0.219 +no_defs
(look at )


Guadeloupe 1948 (EPSG 4622)
---
The QGIS database contains :
+proj=longlat +ellps=intl +no_defs
It should be :
+proj=longlat +ellps=intl 
+towgs84=-472.29,-5.63,-304.12,0.4362,-0.8374,0.2563,1.8984 +no_defs



Martinique 1938 (EPSG 4625)
---
The QGIS database contains :
+proj=longlat +ellps=intl +no_defs  <>
It should be :
+proj=longlat +ellps=intl 
+towgs84=126.93,547.94,130.41,-2.7867,5.1612,-0.8584,13.8227 +no_defs


Conclusion : Don't trust the EPSG database, allways check the parameters.

Jean-Claude

___
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


AW: [Qgis-user] writing a new renderer in python

2008-03-21 Thread Hugentobler Marco
Hi Anita,

To make QGIS fetch the attributes, you need to implement 
QgsRenderer::classificationAttributes()
in your renderer subclass. It returns a QgsAttributeList (that is a typedef for 
QList) and tells QGIS, what attributes the renderer class needs. Only the 
specified attributes are fetched from the datasource (for performance reasons).
Also, there is the method QgsRenderer::needsAttributes() that should return 
true (is only used in the legend of QGIS, the method seems highly redundant 
with classificationAttributes() and is a candidate for removal).

Hope it helps,
Marco


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] im Auftrag von Anita Graser
Gesendet: Fr 21.03.2008 13:12
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] writing a new renderer in python
 
For my project I want to visualise speed on streets with a continuous color 
renderer. I'd like it to show slow in red then change to yellow then to green. 
Unfortunately QgsContinuousColorRenderer only allows to use two colors. So I'm 
trying to write a new renderer inheriting QgsContinuousColor Renderer.

Is it possible to write a new renderer in python?

I found some problems which I don't understand:

1.
I tried to rewirte the renderFeature function:
-
def renderFeature(self, painter, feature, image, scalefactor, selected, 
widthScale=1):
 attrs = feature.attributeMap()
 fvalue = float(attrs[self.classificationField])
-
However, attributeMap() seems to always return a dictionary of length 1 
allthough there should be 12 attributes. So I can't get a value for fvalue.

2.
If I catch the exception caused by problem 1 and set a default value the 
function will continue to it's end. But then, I get a typeError:
TypeError: invalid result type from My3ColorRenderer.renderFeature()
I'm confused because I thought that this function returns void ...

Anyone got an idea what I'm doing wrong?

Thank you!

My Code:

-

from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
from qgis.gui import *

class My3ColorRenderer(QgsContinuousColorRenderer):
def __init__(self,vectorType):
self.vectorType=vectorType
QgsContinuousColorRenderer.__init__(self,vectorType)

def setMiddleSymbol(self,symbol):
self.mMiddleSymbol=symbol
def middleSymbol(self):
return self.mMiddleSymbol

def name(self):
return "FleetVis3ColorRenderer"

def symbols(self):
list=[]
list.append(self.mMinimumSymbol)
list.append(self.mMiddleSymbol)
list.append(self.mMaximumSymbol)
return list

def setClassificationField(self,id):
self.classificationField=id

def renderFeature(self, painter, feature, image, scalefactor, selected, 
widthScale=1):
#first find out the value for the classification attribute
# ??? i dont know why it doesnt work ...
attrs = feature.attributeMap()
try:
fvalue = float(attrs[self.classificationField])
except:
fvalue=50.0

minvalue = float(self.minimumSymbol().lowerValue())
maxvalue = float(self.maximumSymbol().lowerValue())
middlevalue = minvalue + maxvalue
middlevalue=middlevalue/2

mincolor=QColor()
maxcolor=QColor()

if self.vectorType == QGis.Line or self.vectorType == QGis.Point:
mincolor = self.minimumSymbol().pen().color()
middlecolor=self.middleSymbol().pen().color()
maxcolor = self.maximumSymbol().pen().color()
else:#if polygon
painter.setPen(self.minimumSymbol().pen())
mincolor = self.minimumSymbol().fillColor()
middlecolor=self.middleSymbol().fillColor()
maxcolor = self.maximumSymbol().fillColor()

if (maxvalue - minvalue)!=0:
if(fvaluehttp://www.gmx.net/de/go/browser
___
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