Re: [Qgis-user] Which path to R in Sextante plugin?

2012-10-01 Thread Zirneklitis

Not so obvious, but
"C:\Program Files\R\R-2.15.1\" is the right one.

(By the way, libraries "rgdal" and "spatstat" should be installed)

Karlis
magerlin wrote:

..

In my R installation I have these two paths to R.exe:
C:\Program Files\R\R-2.15.1\bin\x64\R.exe
C:\Program Files\R\R-2.15.1\bin\R.exe

What path do I specify in Sextante? I have tried various alternatives but I
have had no luck.
..

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


Re: [Qgis-user] labels on maps

2012-10-01 Thread Alister Hood
Yes, the reason it's quite so easy in Mapinfo is because the label location 
overrides are saved in the project file, not in the layer's attribute fields.  
(It isn't so easy to figure out how to unfreeze the label though - the button 
with the tooltip that just says "label" unfreezes the label location, but the 
label will remain visible if you switch off automatic labels... and now I seem 
to have killed Mapinfo...)

It's not like manually arranging labels is _hard_ in QGIS, but if you want it 
to be slightly more automated you can try the "create labelled layer" plugin.  
I guess it might not be too hard to add an option to the plugin so it adds the 
attribute fields to the original layer, rather than to a copy.

And it turns out I was wrong, you can draw leaders in QGIS, using the "easy 
custom labelling" plugin.  This is exactly what you want.

But personally I think manually arranging labels is a mug's game, and you can't 
draw leaders for automatically placed labels (in either QGIS or MapInfo).

BTW, have you actually tried the automatic label placement?  Micha referred to 
it ("new labelling"), but he didn't explain where to find it.  You may have 
only tried the "old labelling", which is a tab in the layer properties dialog 
and doesn't do any collision avoidance.  The separate "new labelling" dialog 
needs to be opened from a button on the labelling toolbar, or I guess in the 
menu, Layer>labelling (I'm not certain if that is available for you, as I'm 
running QGIS master).


> -Original Message-
> From: M.E.Dodd [mailto:m.e.d...@open.ac.uk]
> Sent: Tuesday, 2 October 2012 10:24 a.m.
> To: Alister Hood; qgis-user@lists.osgeo.org
> Subject: RE: [Qgis-user] labels on maps
> 
> Doing what I want is easy in mapinfo as you just drag and drop the labels
> individually and the line is automatically generated but I want to do it
> in qgis.
> 
> From: Alister Hood [alister.h...@synergine.com]
> Sent: Monday, October 01, 2012 10:18 PM
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] labels on maps
> 
> > Date: Mon, 01 Oct 2012 17:48:54 +0200
> > From: Micha Silver 
> > To: "M.E.Dodd" 
> > Cc: "qgis-user@lists.osgeo.org" 
> > Subject: Re: [Qgis-user] labels on maps
> > Message-ID: <5069bb66.9000...@arava.co.il>
> > Content-Type: text/plain; charset=windows-1255; format=flowed
> >
> > On 10/01/2012 04:40 PM, M.E.Dodd wrote:
> > > converted from rtf
> > > I have a map with lots of point data which I want to label.  When
> > > switching on labels lots of them end up on top of each other as some
> > > of the points are close to each other.  Is there a way of
> > > automatically spacing the labels out to avoid overlap with a line
> > > going to the point from the label. Alternatively a way of doing this
> > > by hand just by dragging each of the labels out of the way but
> > > automatically generating a line showing where the associated point is.
> >
> > You'll want to use the new labeling engine for this. You add, in
> > advance, two columns to your point data attribute table for x
> > displacement and y displacement, and specify these columns in the
> > labeling "Data defined settings" tab. Then you can move each label
> > individually (while the layer has editing enabled), and it's location
> > will be saved to the table.
> 
> Ah, but there's no way of doing what he wants and drawing a line from the
> label to the feature (called a "leader" in CAD), is there?
> ___
> 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] WMS Provider and the DPI parameter

2012-10-01 Thread Jürgen E . Fischer
Hi Andrea,

On Mon, 01. Oct 2012 at 23:16:05 +0200, Andrea Peri wrote:
>It is a not standard parameter, but main question I have is understand why
>there is the need to use a "DPI" parameter.

>Infact the standard wms request contain a bbox and a map pixel dimension.
>Perhaps I miss something, but AFAIK knowing the BBOX and the Pixel Size
>Map I guess is possible to calculate the DPI value.

>So put on a request BBOX, Pixel-SizeMap and DPI seem redundant to me.

Not really.  DPI relates to the output size, not the bounding box.  Unless you
know how large the pixels will be renderer, you don't know the actual DPI.

WMS assumes a fixed pixel size, which usally doesn't match the actual screen
resolution and certainly not a printer's resolution.

Therefore the result of scale calculation on the server side yield different
results from the client.  And I think that's what the DPI parameter is meant to
fix.   BTW geoserver also has a DPI parameter.



Jürgen


-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode 


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

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


Re: [Qgis-user] WMS Provider and the DPI parameter

2012-10-01 Thread G. Allegri
I've only used that parameter to tune the legend dimension from a
GetLegendGraphics request...

giovanni

2012/10/1 Andrea Peri 

> Hi,
> starting from ticket #6430 (http://hub.qgis.org/issues/6430)
> I discovered that qgis wms provider when send a request to a WMS add a
> parameter "DPI".
>
> It is a not standard parameter, but main question I have is understand why
> there is the need to use a "DPI" parameter.
>
> Infact the standard wms request contain
> a bbox and a map pixel dimension.
> Perhaps I miss something, but AFAIK knowing the BBOX and the Pixel Size
> Map I guess is possible to calculate the DPI value.
>
> So put on a request BBOX, Pixel-SizeMap and DPI seem redundant to me.
>
> Is right this ?
>
> thx,
>
> --
> -
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -
>
>
> ___
> 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] labels on maps

2012-10-01 Thread M . E . Dodd
Doing what I want is easy in mapinfo as you just drag and drop the labels 
individually and the line is automatically generated but I want to do it in 
qgis.

From: Alister Hood [alister.h...@synergine.com]
Sent: Monday, October 01, 2012 10:18 PM
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] labels on maps

> Date: Mon, 01 Oct 2012 17:48:54 +0200
> From: Micha Silver 
> To: "M.E.Dodd" 
> Cc: "qgis-user@lists.osgeo.org" 
> Subject: Re: [Qgis-user] labels on maps
> Message-ID: <5069bb66.9000...@arava.co.il>
> Content-Type: text/plain; charset=windows-1255; format=flowed
>
> On 10/01/2012 04:40 PM, M.E.Dodd wrote:
> > converted from rtf
> > I have a map with lots of point data which I want to label.  When
> > switching on labels lots of them end up on top of each other as some
> > of the points are close to each other.  Is there a way of
> > automatically spacing the labels out to avoid overlap with a line
> > going to the point from the label. Alternatively a way of doing this
> > by hand just by dragging each of the labels out of the way but
> > automatically generating a line showing where the associated point is.
>
> You'll want to use the new labeling engine for this. You add, in
> advance, two columns to your point data attribute table for x
> displacement and y displacement, and specify these columns in the
> labeling "Data defined settings" tab. Then you can move each label
> individually (while the layer has editing enabled), and it's location
> will be saved to the table.

Ah, but there's no way of doing what he wants and drawing a line from the label 
to the feature (called a "leader" in CAD), is there?
___
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] labels on maps

2012-10-01 Thread Alister Hood
> Date: Mon, 01 Oct 2012 17:48:54 +0200
> From: Micha Silver 
> To: "M.E.Dodd" 
> Cc: "qgis-user@lists.osgeo.org" 
> Subject: Re: [Qgis-user] labels on maps
> Message-ID: <5069bb66.9000...@arava.co.il>
> Content-Type: text/plain; charset=windows-1255; format=flowed
> 
> On 10/01/2012 04:40 PM, M.E.Dodd wrote:
> > converted from rtf
> > I have a map with lots of point data which I want to label.  When
> > switching on labels lots of them end up on top of each other as some
> > of the points are close to each other.  Is there a way of
> > automatically spacing the labels out to avoid overlap with a line
> > going to the point from the label. Alternatively a way of doing this
> > by hand just by dragging each of the labels out of the way but
> > automatically generating a line showing where the associated point is.
> 
> You'll want to use the new labeling engine for this. You add, in
> advance, two columns to your point data attribute table for x
> displacement and y displacement, and specify these columns in the
> labeling "Data defined settings" tab. Then you can move each label
> individually (while the layer has editing enabled), and it's location
> will be saved to the table.

Ah, but there's no way of doing what he wants and drawing a line from the label 
to the feature (called a "leader" in CAD), is there?
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] WMS Provider and the DPI parameter

2012-10-01 Thread Andrea Peri
Hi,
starting from ticket #6430 (http://hub.qgis.org/issues/6430)
I discovered that qgis wms provider when send a request to a WMS add a
parameter "DPI".

It is a not standard parameter, but main question I have is understand why
there is the need to use a "DPI" parameter.

Infact the standard wms request contain
a bbox and a map pixel dimension.
Perhaps I miss something, but AFAIK knowing the BBOX and the Pixel Size Map
I guess is possible to calculate the DPI value.

So put on a request BBOX, Pixel-SizeMap and DPI seem redundant to me.

Is right this ?

thx,

-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] labels on maps

2012-10-01 Thread Micha Silver

On 10/01/2012 04:40 PM, M.E.Dodd wrote:

converted from rtf
I have a map with lots of point data which I want to label.  When 
switching on labels lots of them end up on top of each other as some 
of the points are close to each other.  Is there a way of 
automatically spacing the labels out to avoid overlap with a line 
going to the point from the label. Alternatively a way of doing this 
by hand just by dragging each of the labels out of the way but 
automatically generating a line showing where the associated point is.


You'll want to use the new labeling engine for this. You add, in 
advance, two columns to your point data attribute table for x 
displacement and y displacement, and specify these columns in the 
labeling "Data defined settings" tab. Then you can move each label 
individually (while the layer has editing enabled), and it's location 
will be saved to the table.




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




This mail was received via Mail-SeCure System.


___
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
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il

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


Re: [Qgis-user] How to generate (vector)contour lines for point data?

2012-10-01 Thread Micha Silver

  
  
On 10/01/2012 04:32 PM, M.E.Dodd wrote:

  Is it possible to define an area to do the surface generation within?  I see there are options to define this with a simple box or drag on screen but if you want to say use a country outline map as the boundary and do the interpolation within this?



What I would do is use the gdalwarp -cutline option to clip the
surface raster to the country polygon before creating the contours.
In QGIS it's Raster->Extraction->Clipper, then choose the
"mask" parameter.


  
-Original Message-
From: Micha Silver [mailto:mi...@arava.co.il] 
Sent: 01 October 2012 14:16
To: AJAY KUMAR MULAKALA
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] How to generate (vector)contour lines for point data?

On 10/01/2012 06:50 AM, AJAY KUMAR MULAKALA wrote:

  
Dear sir,

Suggest me how to generate contour lines for a point data (particular 
to generate contour lines about an attribute information of point 
data)


  
  
You will need two steps. First use the points to create a raster surface. In the Raster menu, choose Analysis->Grid. With this GDAL tool you can create a raster using some simple algorithms. THen using this new raster as your surface, use the GDAL tool 
Raster->Extraction->Contour to get vector contour lines.

(Note that if you switch to the GRASS plugin, there are more interpolation algorithms available, especially "regularized spline"=rst, for creating the surface raster)

Regards,
Micha


  
Regards,
AJAY KUMAR



This mail was received via Mail-SeCure System.


___
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
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il

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





-- 
Micha Silver
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il
  

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


Re: [Qgis-user] How to generate (vector)contour lines for point data?

2012-10-01 Thread Paolo Cavallini
Il 01/10/2012 17:31, Micha Silver ha scritto:

> I guess you're referring to the "Contour" plugin. Note to the OP: requires 
> matplotlib
>>=1.0

yes, correct.
all the best.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to generate (vector)contour lines for point data?

2012-10-01 Thread Micha Silver

  
  
On 10/01/2012 04:27 PM, Paolo Cavallini wrote:

  Il 01/10/2012 15:16, Micha Silver ha scritto:


  
You will need two steps. First use the points to create a raster surface. In the
Raster menu, choose Analysis->Grid. With this GDAL tool you can create a raster using
some simple algorithms. THen using this new raster as your surface, use the GDAL tool
Raster->Extraction->Contour to get vector contour lines.

  
  
There is also a plugin that does the same, without the intermediate raster.
All the best.


Thanks, Paolo
I guess you're referring to the "Contour" plugin. Note to the OP:
requires matplotlib >=1.0

Regards,
Micha

-- 
Micha Silver
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il
  

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


[Qgis-user] labels on maps

2012-10-01 Thread M . E . Dodd
I have a map with lots of point data which I want to label.  When switching on 
labels lots of them end up on top of each other as some of the points are close 
to each other.  Is there a way of automatically spacing the labels out to avoid 
overlap with a line going to the point from the label. Alternatively a way of 
doing this by hand just by dragging each of the labels out of the way but 
automatically generating a line showing where the associated point is.









-- 
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] How to generate (vector)contour lines for point data?

2012-10-01 Thread M . E . Dodd
Is it possible to define an area to do the surface generation within?  I see 
there are options to define this with a simple box or drag on screen but if you 
want to say use a country outline map as the boundary and do the interpolation 
within this?

-Original Message-
From: Micha Silver [mailto:mi...@arava.co.il] 
Sent: 01 October 2012 14:16
To: AJAY KUMAR MULAKALA
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] How to generate (vector)contour lines for point data?

On 10/01/2012 06:50 AM, AJAY KUMAR MULAKALA wrote:
> Dear sir,
>
> Suggest me how to generate contour lines for a point data (particular 
> to generate contour lines about an attribute information of point 
> data)
>

You will need two steps. First use the points to create a raster surface. In 
the Raster menu, choose Analysis->Grid. With this GDAL tool you can create a 
raster using some simple algorithms. THen using this new raster as your 
surface, use the GDAL tool 
Raster->Extraction->Contour to get vector contour lines.

(Note that if you switch to the GRASS plugin, there are more interpolation 
algorithms available, especially "regularized spline"=rst, for creating the 
surface raster)

Regards,
Micha

> Regards,
> AJAY KUMAR
>
>
>
> This mail was received via Mail-SeCure System.
>
>
> ___
> 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
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il

___
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] How to generate (vector)contour lines for point data?

2012-10-01 Thread Paolo Cavallini
Il 01/10/2012 15:16, Micha Silver ha scritto:

> You will need two steps. First use the points to create a raster surface. In 
> the
> Raster menu, choose Analysis->Grid. With this GDAL tool you can create a 
> raster using
> some simple algorithms. THen using this new raster as your surface, use the 
> GDAL tool
> Raster->Extraction->Contour to get vector contour lines.

There is also a plugin that does the same, without the intermediate raster.
All the best.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to generate (vector)contour lines for point data?

2012-10-01 Thread Micha Silver

On 10/01/2012 06:50 AM, AJAY KUMAR MULAKALA wrote:

Dear sir,

Suggest me how to generate contour lines for a point data (particular 
to generate contour lines about an attribute information of point data)




You will need two steps. First use the points to create a raster 
surface. In the Raster menu, choose Analysis->Grid. With this GDAL tool 
you can create a raster using some simple algorithms. THen using this 
new raster as your surface, use the GDAL tool 
Raster->Extraction->Contour to get vector contour lines.


(Note that if you switch to the GRASS plugin, there are more 
interpolation algorithms available, especially "regularized spline"=rst, 
for creating the surface raster)


Regards,
Micha


Regards,
AJAY KUMAR



This mail was received via Mail-SeCure System.


___
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
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il

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


Re: [Qgis-user] QGIS-Server: Premature end of script headers: qgis_mapserv.fcgi.exe

2012-10-01 Thread G. Allegri
Have you checked that the QGis libraries (qgis_core.dll, etc.) are on your
system PATH?

giovanni

2012/10/1 Kai Volland 

> Hi,
>
> i'm trying to install the QGIS-Server on my local machine (win 7) and a
> testserver. In both cases i get a 500 internal server error: Error-log:
> "Premature end of script headers: qgis_mapserv.fcgi.exe"
>
> I'installed the server following this guide:
> http://underdark.wordpress.**com/2012/04/06/qgis-server-on-**
> windows7-step-by-step/
>
> But the GetCapabilities-Request doesn't work.
> On the local machine i already get a 500 server when looking at
> http://localhost/qgis/qgis_**mapserv.fcgi.exe
> .
>
> Kind regards,
>
> Kai
> __**_
> 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] QGIS-Server: Premature end of script headers: qgis_mapserv.fcgi.exe

2012-10-01 Thread Kai Volland

Hi,

i'm trying to install the QGIS-Server on my local machine (win 7) and a 
testserver. In both cases i get a 500 internal server error: Error-log: 
"Premature end of script headers: qgis_mapserv.fcgi.exe"


I'installed the server following this guide:
http://underdark.wordpress.com/2012/04/06/qgis-server-on-windows7-step-by-step/

But the GetCapabilities-Request doesn't work.
On the local machine i already get a 500 server when looking at 
http://localhost/qgis/qgis_mapserv.fcgi.exe.


Kind regards,

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