[Qgis-user] QGIS Android, GPS

2015-05-18 Thread Siki Zoltan

Deae All,

I've installed QGIS Android on a WayteQ xTAB-7X tablet. I would like to 
use the position from the on board GPS.

How can I solve it?

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


[Qgis-user] QGIS on Android

2015-05-18 Thread Chuck Young
Hello:  I recently installed QGIS on my Tablet and I can't seem to get it
to load any layers.  Also it seems to want a mouse to use it.  That seems a
bit out of the Android tablet norm.

Thanks for any tips!

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

Re: [Qgis-user] Maps generation with Python (or Atlas ?)

2015-05-18 Thread Benoît Laurent


Thank you for your help.


Hi,

2015-05-18 17:51 GMT+02:00 Benoît Laurent >:


Hello,

I would like to generate a series of maps representing tracks with
stops along them.

For each track, I have got a group of two layers, one for the
linear, one for the points that have associated information
(basically name and time of the stops). First, is there a better
way to achieve this ? For the moment, I have to handle two types
of layer. It is the beginning of my problems.

As the tracks overlap, I would like to generate a map for each
track where only the current selected track appears. The others
would be hidden.

I had a try with Atlas generation. It perfectly works except that
I can't hide the other tracks.

You can style your coverage layer so that only atlas current feature 
will appear. In categorized style, use an expression like 
$id=$atlasfeatureid. You'll get 0 (false) and 1 (true) when classing. 
Set the 0 features style so that they become invisible or transparent.
It is a little better : with your help, I can highlight the current 
linear layer. Actually, I aggregated all my linear layers to constitute 
the coverage layer. However, I can't hide the points layers.




I also had a try with a Python script. I managed to iterate over
the groups of layers but I can't refresh the map canvas during the
Python script. So, it doesn't work.

A snippet of your code may help but I remember I had to face such a 
problem and it was because after *myatlas.beginRender()*, I forgot to 
set active the export of the atlas, sthg like 
*mycomposition.setAtlasMode(QgsComposition.ExportAtlas)*


Actually, I did not use the Atlas generator (maybe a mistake ?). I 
wanted to reproduce/modify its behavior. Here is a piece of code 
(remember that for each track, there is linear layer and a points layer) :


| # Iterate over groups of pair of layers
for  gin  range(0,nbGroups-1):

# Display layers of the current group
layer=  layers[2*g]
rectTrajet=  layer.extent() 
legend.setLayerVisible(layer,  True)

layer=  layers[2*g+1]
rectPtsArr=  layer.extent()
legend.setLayerVisible(layer,  True) 


# extent area
rectGlb=  QgsRectangle
xMin=  min(rectTrajet.xMinimum(),  rectPtsArr.xMinimum())
xMax=  max(rectTrajet.xMaximum(),  rectPtsArr.xMaximum())
yMin=  min(rectTrajet.yMinimum(),  rectPtsArr.yMinimum())
yMax=  max(rectTrajet.yMaximum(),  rectPtsArr.yMaximum())
rectGlb=  QgsRectangle(xMin,  yMin,  xMax,  yMax)
self.iface.mapCanvas().setExtent(rectGlb)

self.iface.mapCanvas().zoomToSelected()
self.iface.mapCanvas().updateScale()
self.iface.mapCanvas().zoomByFactor(1.5)

# Nothing works here !!
self.iface.mapCanvas().updateOverview()
self.iface.mapCanvas().refresh()
layers[2*g].triggerRepaint()
layers[2*g+1].triggerRepaint()


# Map composer
composerMap=  QgsComposerMap(c,x,y,w,h)
composerMap.setPreviewMode(QgsComposerMap.Render)
composerMap.updateBoundingRect()
composerMap.renderModeUpdateCachedImage()
composerMap.setFrameEnabled(True)
c.addItem(composerMap)


# Launch printing
printer=  QtGui.QPrinter()
printer.setOutputFormat(QtGui.QPrinter.PdfFormat)
printer.setOutputFileName(nomFichier)
printer.setPaperSize(QSizeF(c.paperWidth(),  c.paperHeight()),  
QtGui.QPrinter.Millimeter)
printer.setFullPage(True)
printer.setColorMode(QtGui.QPrinter.Color)
printer.setResolution(c.printResolution())

pdfPainter=  QPainter(printer)
paperRectMM=  printer.pageRect(QtGui.QPrinter.Millimeter)
paperRectPixel=  printer.pageRect(QtGui.QPrinter.DevicePixel)
c.render(pdfPainter,  paperRectPixel,  paperRectMM)
pdfPainter.end()

# Remove map composer
c.removeItem(composerMap)

# Hide layers of the current group
legend.setLayerVisible(layers[2*g],  False)
legend.setLayerVisible(layers[2*g+1],  False)

 |




---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
http://www.avast.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Maps generation with Python (or Atlas ?)

2015-05-18 Thread DelazJ
Hi,

2015-05-18 17:51 GMT+02:00 Benoît Laurent :

> Hello,
>
> I would like to generate a series of maps representing tracks with stops
> along them.
>
> For each track, I have got a group of two layers, one for the linear, one
> for the points that have associated information (basically name and time of
> the stops). First, is there a better way to achieve this ? For the moment,
> I have to handle two types of layer. It is the beginning of my problems.
>
> As the tracks overlap, I would like to generate a map for each track where
> only the current selected track appears. The others would be hidden.
>
> I had a try with Atlas generation. It perfectly works except that I can't
> hide the other tracks.
>
>
You can style your coverage layer so that only atlas current feature will
appear. In categorized style, use an expression like $id=$atlasfeatureid.
You'll get 0 (false) and 1 (true) when classing. Set the 0 features style
so that they become invisible or transparent.


> I also had a try with a Python script. I managed to iterate over the
> groups of layers but I can't refresh the map canvas during the Python
> script. So, it doesn't work.
>
> A snippet of your code may help but I remember I had to face such a
problem and it was because after *myatlas.beginRender()*, I forgot to set
active the export of the atlas, sthg like
*mycomposition.setAtlasMode(QgsComposition.ExportAtlas)*


> Do others faced a similar problem ? Any help would be appreciated.
>
> Regards,
>
> Benoît
>
>
>
> ---
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> http://www.avast.com
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [GRASS-dev] QGIS GRASS Plugin Upgrade Crowdfunding

2015-05-18 Thread Radim Blazek
On Mon, May 18, 2015 at 2:22 PM, Sören Gebbert
 wrote:
> Dear all,
> just a short reminder. The crowd funding period for the QGIS GRASS
> Plugin is still running but will end soon. Everyone who may be
> willingly to fund this great project can contribute funds until May
> 23.

BTW, raster/vector import via browser is in master (pushed today), you can test.

Dual build (with GRASS 6 + 7) is also available. Big thanks to Jef for
porting dual build to Windows.
Currently there is unfortunately some problem in browser with GRASS 7
vectors (crash), but GRASS 7 vectors load correctly from project file
(e.g. project created in GRASS 6, vectors upgraded to GRASS 7 and
project reopened in QGIS with GRASS 7).

I'll do more detailed announcement after QGIS 2.10 freeze.

Radim

> Best regards
> Soeren
>
> 2015-03-23 19:56 GMT+01:00 Radim Blazek :
>> Hi all,
>>
>> I have finally launched the crowdfunding campaign to support the GRASS
>> plugin upgrade. Briefly, it covers upgrade to GRASS 7, browser
>> integration, drag-and-drop import and new vector editing. All the
>> details are available here:
>>
>> http://www.gissula.eu/qgis-grass-plugin-crowdfunding/
>>
>> Please propagate this info to all relevant channels, national mailing lists 
>> etc.
>>
>> Radim
>> ___
>> grass-dev mailing list
>> grass-...@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Maps generation with Python (or Atlas ?)

2015-05-18 Thread Benoît Laurent

Hello,

I would like to generate a series of maps representing tracks with stops 
along them.


For each track, I have got a group of two layers, one for the linear, 
one for the points that have associated information (basically name and 
time of the stops). First, is there a better way to achieve this ? For 
the moment, I have to handle two types of layer. It is the beginning of 
my problems.


As the tracks overlap, I would like to generate a map for each track 
where only the current selected track appears. The others would be hidden.


I had a try with Atlas generation. It perfectly works except that I 
can't hide the other tracks.


I also had a try with a Python script. I managed to iterate over the 
groups of layers but I can't refresh the map canvas during the Python 
script. So, it doesn't work.


Do others faced a similar problem ? Any help would be appreciated.

Regards,

Benoît



---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
http://www.avast.com

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

Re: [Qgis-user] Web-Client: same host QGIS-Server-WMS not shown

2015-05-18 Thread Marc Beiling
Hello Bernhard,

Unfortunately replacing the server name with 127.0.0.1 does not do the
trick for me. I'm going nuts, because I have no clue how to
handle it. I've tried an external wms coming from a qgis server. That
works. Only my own qgis-server-wms isnt shown in the map or the
layertree at all.
Anything else i can do?


Am Wed, 13 May 2015 12:56:27 +0200
schrieb Bernhard Ströbl :

> Hi Marc,
> it is absolutely possible to serve WMS layers from any WMS server
> with QGIS server (so called cascading WMS) but you have to make sure
> that the WMS server is accessible from the server QGIS server is
> running on. If it is the same machine try replacing the server name
> with 127.0.0.1 in the URL (in the project file), this works for me.
> 
> Bernhard
> 
> Am 13.05.2015 um 12:47 schrieb Marc Beiling:
> > Hello List,
> >
> > I have a qgis-project including certain layers and two wms (one
> > directly from my qgis server, the other through my mapproxy) from my
> > qgis-server. When I put this project on the server and open it with
> > the qgis-web-client all layers except for my wms-layers are shown.
> > It doesn't even show up in the layertree.
> >
> > I tried to change the wms-url in the .qgs from servername... to
> > localhost Doesnt work
> >
> > Its on a https server. Has this something to do with it? Is it
> > possible to show wms in a web-client-project based on another
> > project served from the same cgi-bin?
> >
> > Maybe I dont see the obvious. Any help highly appreciated.
> >
> > Thank you
> > Marc
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> >
> > __ Information from ESET Mail Security, version of virus
> > signature database 11619 (20150513) __
> >
> > The message was checked by ESET Mail Security.
> > http://www.eset.com
> >
> >
> 
> 
> __ Information from ESET Mail Security, version of virus
> signature database 11619 (20150513) __
> 
> The message was checked by ESET Mail Security.
> http://www.eset.com
> 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Geoinformatikbüro Dassau GmbH 
Rethelstrasse 153
D - 40237 Düsseldorf
Tel: +49-211-69937750
Fax: +49-211-69937751
Mobile: +49-171-4687540
http://www.gbd-consult.de

Registergericht: Amtsgericht Düsseldorf, HR B 74022
Geschäftsführer: Otto Dassau
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 2.9.0-Master crashes when selecting "save as..."

2015-05-18 Thread Paolo Cavallini
Il 18/05/2015 15:35, ndres ha scritto:
> Dear all,
> 
> OS: Debian testing
> QGIS: 2.9.0-Master  (1:2.9.0+git20150517+173ee45+99unstable)

Known packaging problem, have a look to qgis-dev, thread from yesterday.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] new issue with raster calculator

2015-05-18 Thread Albin Blaschka



Am 18.05.2015 um 15:07 schrieb Giacomo Fontanelli:

Dear community

I have a raster layer with pixel values ranging from -8 to -11.

when I do "layer1@band1" * 0.1 I get a map with only 0 and Nan, instead
when I do "layer1@band1" / 10 I obtain the map with correct values.

What do I do wrong?

Thank you very much



Just a shot into the blue: A problem with decimal point vs. comma? What 
do you get if you try with 0,1 instead of 0.1?


greetings,
Albin

--
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * www.albinblaschka.info *
| * www.researchgate.net/profile/Albin_Blaschka *
| - It's hard to live in the mountains, hard but not hopeless!
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QGIS 2.9.0-Master crashes when selecting "save as..."

2015-05-18 Thread ndres
Dear all,

OS: Debian testing
QGIS: 2.9.0-Master  (1:2.9.0+git20150517+173ee45+99unstable)

I receive nightly updates which restarted again on 6th May, after a break
when the previous update was 5th April 2015
QGIS was functioning properly with the 5th April update.

I used QGIS for the first time since 6th May and when I tried to save an
imported .csv file as a shape file, using "save as..", QGIS crashed and
closed as soon as I selected this option.
A similar fault was reported back in 2007 and one option was to check the
attributes of the layer. I checked and all appears to be in order.
To check if the original file was corrupted, I repeated the action of saving
as a shape file with an existing shapefile (that has been used with QGIS in
the past) - same result of QGIS crashing.

I have the same OS & QGIS build on my notebook and the same problem is
present.

Is anyone else experiencing the same problem with the latest nightly-builds?
I would be very grateful for any advice provided to help fix this problem

very many thanks in advance

yours
Neil



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-2-9-0-Master-crashes-when-selecting-save-as-tp5206209.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Is there an algorithm in Processing graphical modeler to select features in a geometryless table?

2015-05-18 Thread DelazJ
Hi,
I'm tring to build a graphical modeler within the menu Processing. In my
process, I need at a moment to select features from a csv table. But none
of the "select..." algorithms (select by attribute, select by
expression...) I can find in the algorithms list does accept table as input.
Is there a solution? Or is it a bug so that I report it?

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

[Qgis-user] logarythms with raster calculator

2015-05-18 Thread Giacomo Fontanelli
Hi forum

I need to convert a raster  map in linear values in a map with pixel value
expressed in dB, buti in raster calculator there is no the Log function.

Any suggestions?

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

[Qgis-user] new issue with raster calculator

2015-05-18 Thread Giacomo Fontanelli
Dear community

I have a raster layer with pixel values ranging from -8 to -11.

when I do "layer1@band1" * 0.1 I get a map with only 0 and Nan, instead
when I do "layer1@band1" / 10 I obtain the map with correct values.

What do I do wrong?

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

[Qgis-user] Mobile Client - symbol color changes

2015-05-18 Thread Burghardt.Scholle
Dear list,

when I use the mobile client with colored svg-symbols and arial images at the 
same time, the color of the symbols changes when moving or zooming the map. In 
my config.js under Config.map.wmsParams - 'FORMAT' stands the value 'image/png; 
mode=8bit'. For lines or polygons this effect doesn't occur. Can someone give 
me a hint how to solve this problem?

Kind regards
Burghardt

***

Stadt Wolfsburg
Geschäftsbereich IT - 15-3 GIS
Rathaus E, Zi. E403, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de


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


Re: [Qgis-user] Which settings for mesuring tool?

2015-05-18 Thread Raymond Nijssen

Hi Joris,

The (Spherical) Mercator projection has huge disturbances in size the 
further you get from the equator. Try usiing the national projection for 
Portugal?


Good luck,
Raymond


On 17-05-15 21:41, Joris Hintjens wrote:

Hello
I have 2 point  in Portugal
my project CRS is pseudo Mercator (EPSG 3857)
When I create a buffer of 30 km around my points layer cars is also EPSG 3857), 
I get Two nice circles (layer also CRS 3857). When i measure the circles, they 
are 45 km in diameter. What can be wrong?

What settings shouldI in general use for the measuring tool?

thanks for your comments
Joris

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



--
Terglobo
Ampèrestraat 110
5223 CT 's-Hertogenbosch
06-25314983
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user