Re: [Qgis-developer] Openlayers plugin support in QGIS 2.4

2014-07-07 Thread René-Luc Dhont

Hi Ali,

You can use this method instead of OpenLayers Plugin :
Using Map Tile Servers in QGIS 2.4 
http://www.konstantingreger.net/using-map-tile-servers-in-qgis-2-4/


Based on :
How to display OpenStreetMap data tiles with no plugin inside Qgis 
http://www.3liz.com/blog/rldhont/index.php?post/2012/07/17/OpenStreetMap-Tiles-in-QGIS


Regards,
René-Luc D'Hont

Le 07/07/2014 07:38, Aamir Ali a écrit :

Dear All

I am using QGIS 2.4 built using qgis source code and qt creator in
ubuntu. I am unable to find openlayers plugin in the list of plugin
repository. I have a two questions

1. Whether it is not compatible with this version or my build has some problems?

2. If its not compatible then how long it will take the community to
release the compatible version?


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


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


Re: [Qgis-developer] Openlayers plugin support in QGIS 2.4

2014-07-07 Thread René-Luc Dhont

Hi Ali,

You'll find examples here :
http://www.gdal.org/frmt_wms.html

Remember that using Google Maps needs to accept the Google licence.

Regards

René-Luc


Le 07/07/2014 09:42, Aamir Ali a écrit :

Thanks for your prompt response

I need to call google maps, how can I use TMS service to call the
tiles from Google Map.

Regards

Ali


On Mon, Jul 7, 2014 at 11:53 AM, René-Luc Dhont rldh...@gmail.com wrote:

Hi Ali,

You can use this method instead of OpenLayers Plugin :
Using Map Tile Servers in QGIS 2.4
http://www.konstantingreger.net/using-map-tile-servers-in-qgis-2-4/

Based on :
How to display OpenStreetMap data tiles with no plugin inside Qgis
http://www.3liz.com/blog/rldhont/index.php?post/2012/07/17/OpenStreetMap-Tiles-in-QGIS

Regards,
René-Luc D'Hont

Le 07/07/2014 07:38, Aamir Ali a écrit :

Dear All

I am using QGIS 2.4 built using qgis source code and qt creator in
ubuntu. I am unable to find openlayers plugin in the list of plugin
repository. I have a two questions

1. Whether it is not compatible with this version or my build has some
problems?

2. If its not compatible then how long it will take the community to
release the compatible version?


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


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


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

Re: [Qgis-developer] Opening Views-Panels-Log Messages

2014-07-07 Thread Pirmin Kalberer
Hi Andrew,

Am Sonntag, 6. Juli 2014, 21.10:06 schrieb Andrew McClure:
 Is it possible to invoke/open this dock via a PyQt call?

My hackish way to open it in the QGIS Cloud plugin is:

logDock = self.iface.mainWindow().findChild(QDockWidget, 'MessageLog')
logDock.show()

Regards
Pirmin

-- 
Pirmin Kalberer
Sourcepole  -  Linux  Open Source Solutions
http://www.sourcepole.com

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


Re: [Qgis-developer] Do we need a single select map tool?

2014-07-07 Thread Nathan Woodrow
Hey all,

Both tools are now merged.

Here is the ticket http://hub.qgis.org/issues/10824

Regards,
Nathan


On Thu, Jul 3, 2014 at 8:38 PM, Luca Mandolesi mandol...@gmail.com wrote:

 Oh my gosh, I'd never noticed that! :)
 Thanks a lot

 +1 for merge alsa for archaeologist!

 Sorry!
 Luca


 2014-07-03 12:36 GMT+02:00 Nathan Woodrow madman...@gmail.com:

 Luca,

 It will do that.  Single click with rectangle tool will already do this.

 - Nathan


 On Thu, Jul 3, 2014 at 8:32 PM, Luca Mandolesi mandol...@gmail.com
 wrote:

  -1 The voice outside the chorus...for the archaelogist is usefull for
 selection single little items (ass little bones, etc) with a single click
 without make a rectangulare small selection that risks to select near
 objects

 Best regards
 Luca


 2014-07-03 12:27 GMT+02:00 Anita Graser anitagra...@gmx.at:

 +1 for the merge. I'm with those arguing that the single select tool
 does not add anything useful.
 Best wishes
 Anita
 On Jul 3, 2014 11:14 AM, Alexandre Neto senhor.n...@gmail.com
 wrote:

 If I may...

 +1 For dropping single point selection button.

 I think that having too many options\buttons can sometimes be
 overwhelming for new users, and in this case users won't notice much
 difference in usage anyway (do we need to decide what to do with the 
 icon).

 Alexandre Neto




 On Thu, Jul 3, 2014 at 2:02 AM, Larry Shaffer lar...@dakotacarto.com
 wrote:

 Hi,

 +1 for dropping the select-by-point part of the tool and making
 select-by-rect the default.

 However, I really think the icon, as Giuseppe noted, needs updated to
 indicate the change (even if the select-by-rect hasn't actually changed).
 Maybe just adding a pronounced or colored point to the upper left corner 
 of
 the rectangle will be enough.

 Regards,

 Larry

 On Wed, Jul 2, 2014 at 4:06 PM, Olivier Dalang 
 olivier.dal...@gmail.com wrote:

 +1 for simplifying the ui !

 The rationale about old users not liking changes doesn't hold
 against the rationale new users needing an easy software, since we have 
 way
 more future users than current users ;)

 Bests,

 Olivier

 Envoyé depuis mon mobile

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



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



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


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



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




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

Re: [Qgis-developer] SOSI support in QGIS

2014-07-07 Thread Stott, James
Hi Jürgen,

So with further testing it appears we have found some problems with other SOSI 
files.

It seems things work quite well with simple files (like the naturvernområde 
data for Rogaland I and others have tested with), but we get problems when 
opening bigger files. 

One thing we have noticed is that a lot of the problems seem to happen when you 
try and load more than one type of geometry types from a sosi file at once. If 
I select all 3 geometry types in one go (or load 2 or more individually) QGIS 
crashes. If we just load one geometry type, and then close it and load another 
geometry type, it works fine.

We are also getting problems with files that contain a lot of data, in this 
situation QGIS will crash with just one layer loaded.

And when QGIS starts to error, I get the noise problem mentioned here too 
http://hub.qgis.org/issues/10746 .

So a few issues, but it's a great start that it works with some data :)

If people would like copies of these datasets for testing, I can provide them.

James

-Opprinnelig melding-
Fra: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Stott, James
Sendt: 6. juli 2014 16:42
Til: Jürgen E. Fischer; qgis-developer@lists.osgeo.org
Emne: Re: [Qgis-developer] SOSI support in QGIS

Hi Jürgen,

1.11.0-4 fixes this problem.

Thanks for the help.

James

From: qgis-developer-boun...@lists.osgeo.org 
[qgis-developer-boun...@lists.osgeo.org] on behalf of Jürgen E. Fischer 
[j...@norbit.de]
Sent: 06 July 2014 16:17
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] SOSI support in QGIS

Hi James,

On Sun, 06. Jul 2014 at 13:53:57 +, Stott, James wrote:
 One other thing I have noticed on 64 bit is that gdal-python package 
 has a different version number (1.11.0-3) than in 32 bit (1.11.0-2). 
 This version number is different to all the other packages which are 1.11.0-2.

Try 1.11.0-4 please

Jürgen:

--
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode

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

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


[Qgis-developer] QGIS TMS provider?

2014-07-07 Thread Alexander Bruy
Hi all,

TMS (Tile Map Service) is an easy way to work with different tiled
maps. It can be used to access local or remote maps. We already have
great OpenLayers plugin
that provides access to some popular maps like Google or OSM. There is also
Load TMS Layer plugin that allows to load some TMS maps in QGIS.

But both this plugins are limited only to predefined servers/maps,
users can't add
new services without some handwork. For OpenLayers plugin it is necessary to
create corresponding HTML/CSS files, for Load TMS Layer — write service
definition in XML format.

Does it makes sense to develop TMS provider for QGIS (native or GDAL-based) to
allow users create connections to different services and/or local tilesets?
Comments and opinions are welcome.

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

Re: [Qgis-developer] SOSI support in QGIS

2014-07-07 Thread Andre Joost

Am 07.07.2014 14:16, schrieb Stott, James:


We are also getting problems with files that contain a lot of data,
in this situation QGIS will crash with just one layer loaded.



Do these files work fine with ogr2ogr?
Just to make clear that it is not a GDAL issue.

Greetings,
André Joost
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] self referencing relations

2014-07-07 Thread Ziegler Stefan
Hi

Should it be possible to make a self referencing relation (= referencing layer 
and referenced layer are the same qgis layer)? I can define such a relation but 
opening the attribute table ends up with qgis using 100 % cpu. I'm on master.

Regards
Stefan 

Freundliche Grüsse 
Stefan Ziegler 
Kantonsgeometer 

Amt für Geoinformation
Amtliche Vermessung 
Rötistrasse 4 
4500 Solothurn 

Telefon +41 32 627 75 96
Telefax +41 32 627 75 98 
stefan.zieg...@bd.so.ch
http://www.so.ch 


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


Re: [Qgis-developer] self referencing relations

2014-07-07 Thread Matthias Kuhn

Hi Stefan,

Yes it is possible, but there is no limitation of nesting forms, that's 
most likely what eats up your cpu.
Alternatively, if you toggle the checkbox show embedded form, does it 
work?


Best,
Matthias

On Mon 07 Jul 2014 04:45:04 PM CEST, Ziegler Stefan wrote:

Hi

Should it be possible to make a self referencing relation (= referencing layer 
and referenced layer are the same qgis layer)? I can define such a relation but 
opening the attribute table ends up with qgis using 100 % cpu. I'm on master.

Regards
Stefan

Freundliche Grüsse
Stefan Ziegler
Kantonsgeometer

Amt für Geoinformation
Amtliche Vermessung
Rötistrasse 4
4500 Solothurn

Telefon +41 32 627 75 96
Telefax +41 32 627 75 98
stefan.zieg...@bd.so.ch
http://www.so.ch


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

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

Re: [Qgis-developer] QGIS TMS provider?

2014-07-07 Thread Etienne Tourigny
There is already a simple TMS driver in GDAL [1], it would be easiest to
make a wrapper/plugin that uses this wms mini-driver instead of writing
from scratch, as was done for the following plugins.

If you are talking about my Load TMS layer plugin [2] that I discussed a
few weeks ago, I have not released it because some TMS services cannot be
used legally, so it is not as useful as I thought initially.

There is also the TileMapScaleLevels plugin [3] which was not approved for
similar reasons, but it seems that the offending code has been removed from
the github repos.

Perhaps you could check both out and give your feedback.

regards,
Etienne

[1] http://www.gdal.org/frmt_wms.html
[2] https://github.com/etiennesky/loadtmslayer
[3] https://github.com/datalyze-solutions/TileMapScaleLevels



On Mon, Jul 7, 2014 at 10:14 AM, Alexander Bruy alexander.b...@gmail.com
wrote:

 Hi all,

 TMS (Tile Map Service) is an easy way to work with different tiled
 maps. It can be used to access local or remote maps. We already have
 great OpenLayers plugin
 that provides access to some popular maps like Google or OSM. There is also
 Load TMS Layer plugin that allows to load some TMS maps in QGIS.

 But both this plugins are limited only to predefined servers/maps,
 users can't add
 new services without some handwork. For OpenLayers plugin it is necessary
 to
 create corresponding HTML/CSS files, for Load TMS Layer — write service
 definition in XML format.

 Does it makes sense to develop TMS provider for QGIS (native or
 GDAL-based) to
 allow users create connections to different services and/or local tilesets?
 Comments and opinions are welcome.

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

Re: [Qgis-developer] Openlayers plugin support in QGIS 2.4

2014-07-07 Thread Etienne Tourigny
You cannot use the google maps TMS service, it is not allowed under the
Google Maps TOS.


On Mon, Jul 7, 2014 at 4:54 AM, René-Luc Dhont rldh...@gmail.com wrote:

 Hi Ali,

 You'll find examples here :
 http://www.gdal.org/frmt_wms.html

 Remember that using Google Maps needs to accept the Google licence.

 Regards

 René-Luc


 Le 07/07/2014 09:42, Aamir Ali a écrit :

 Thanks for your prompt response

 I need to call google maps, how can I use TMS service to call the
 tiles from Google Map.

 Regards

 Ali



 On Mon, Jul 7, 2014 at 11:53 AM, René-Luc Dhont rldh...@gmail.com
 wrote:

 Hi Ali,

 You can use this method instead of OpenLayers Plugin :
 Using Map Tile Servers in QGIS 2.4
 http://www.konstantingreger.net/using-map-tile-servers-in-qgis-2-4/

 Based on :
 How to display OpenStreetMap data tiles with no plugin inside Qgis
 http://www.3liz.com/blog/rldhont/index.php?post/2012/
 07/17/OpenStreetMap-Tiles-in-QGIS

 Regards,
 René-Luc D'Hont

 Le 07/07/2014 07:38, Aamir Ali a écrit :

 Dear All

 I am using QGIS 2.4 built using qgis source code and qt creator in
 ubuntu. I am unable to find openlayers plugin in the list of plugin
 repository. I have a two questions

 1. Whether it is not compatible with this version or my build has some
 problems?

 2. If its not compatible then how long it will take the community to
 release the compatible version?


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


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


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

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

[Qgis-developer] Segfault when using QgsComposition::exportAsPDF with QGIS 2.4 and python

2014-07-07 Thread kimaidou
Hi all,

I would like to share an issue I am having while trying to simply export a
composition as PDF.

Under QGIS 2.2, I had no problem, but QGIS 2.4 Segfault with the simple
steps :

c = QgsComposition( QgsMapSettings() )
c.setPaperSize( 290, 210 )
c.setPrintResolution( 100 )
c.setSnapGridOffsetX( 3.5 )
c.setSnapGridOffsetY( 0 )
c.setSnapGridResolution( 2.5 )
c.setNumPages( 1 )

cl = QgsComposerLabel( c )
cl.setItemPosition( 0, 10, 100, 100 )
content = 'test'
cl.setText( content )
cl.setFrameEnabled( False )
c.addItem( cl )

c.exportAsPDF( '/tmp/test.pdf' )

NB: I just discoverd that QgsComposition( QgsMapRenderer() ) is deprecated
since QGIS 2.4 as explained here: http://www2.qgis.org/api/deprecated.html
But using it or the new instanciation does not change the problem.

Has anyone any hint on this issue ?

Thanks in advance
Michael
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Segfault when using QgsComposition::exportAsPDF with QGIS 2.4 and python

2014-07-07 Thread kimaidou
I just tested the method shown in the Python Cookbook [1] instead of the
exportAsPDF method, which also segfault my QGIS 2.4 (ubuntu) when the
render method is called :


printer = QPrinter()
printer.setOutputFormat(QPrinter.PdfFormat)
printer.setOutputFileName(/tmp/out.pdf)
printer.setPaperSize(QSizeF(c.paperWidth(), c.paperHeight()),
QPrinter.Millimeter)
printer.setFullPage(True)
printer.setColorMode(QPrinter.Color)
printer.setResolution(c.printResolution())
pdfPainter = QPainter(printer)
paperRectMM = printer.pageRect(QPrinter.Millimeter)
paperRectPixel = printer.pageRect(QPrinter.DevicePixel)

c.render(pdfPainter, paperRectPixel, paperRectMM)



[1]
http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/composer.html#output-to-pdf




2014-07-07 19:20 GMT+02:00 kimaidou kimai...@gmail.com:

 Hi all,

 I would like to share an issue I am having while trying to simply export a
 composition as PDF.

 Under QGIS 2.2, I had no problem, but QGIS 2.4 Segfault with the simple
 steps :

 c = QgsComposition( QgsMapSettings() )
 c.setPaperSize( 290, 210 )
 c.setPrintResolution( 100 )
 c.setSnapGridOffsetX( 3.5 )
 c.setSnapGridOffsetY( 0 )
 c.setSnapGridResolution( 2.5 )
 c.setNumPages( 1 )

 cl = QgsComposerLabel( c )
 cl.setItemPosition( 0, 10, 100, 100 )
 content = 'test'
 cl.setText( content )
 cl.setFrameEnabled( False )
 c.addItem( cl )

 c.exportAsPDF( '/tmp/test.pdf' )

 NB: I just discoverd that QgsComposition( QgsMapRenderer() ) is deprecated
 since QGIS 2.4 as explained here: http://www2.qgis.org/api/deprecated.html
 But using it or the new instanciation does not change the problem.

 Has anyone any hint on this issue ?

 Thanks in advance
 Michael


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

Re: [Qgis-developer] Segfault when using QgsComposition::exportAsPDF with QGIS 2.4 and python

2014-07-07 Thread kimaidou
Last test : No segfault if I save an image with the method2 method :

https://gist.github.com/mdouchin/6d7408980f737959075b

It seems my segfault is related to the use of the PDF printer in my Ubuntu
box.

Any help appreciated.

Regards,
Michael


2014-07-07 19:38 GMT+02:00 kimaidou kimai...@gmail.com:

 I just tested the method shown in the Python Cookbook [1] instead of the
 exportAsPDF method, which also segfault my QGIS 2.4 (ubuntu) when the
 render method is called :


 printer = QPrinter()
 printer.setOutputFormat(QPrinter.PdfFormat)
 printer.setOutputFileName(/tmp/out.pdf)
 printer.setPaperSize(QSizeF(c.paperWidth(), c.paperHeight()),
 QPrinter.Millimeter)
 printer.setFullPage(True)
 printer.setColorMode(QPrinter.Color)
 printer.setResolution(c.printResolution())
 pdfPainter = QPainter(printer)
 paperRectMM = printer.pageRect(QPrinter.Millimeter)
 paperRectPixel = printer.pageRect(QPrinter.DevicePixel)

 c.render(pdfPainter, paperRectPixel, paperRectMM)



 [1]
 http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/composer.html#output-to-pdf




 2014-07-07 19:20 GMT+02:00 kimaidou kimai...@gmail.com:

 Hi all,

 I would like to share an issue I am having while trying to simply export
 a composition as PDF.

 Under QGIS 2.2, I had no problem, but QGIS 2.4 Segfault with the simple
 steps :

 c = QgsComposition( QgsMapSettings() )
 c.setPaperSize( 290, 210 )
 c.setPrintResolution( 100 )
 c.setSnapGridOffsetX( 3.5 )
 c.setSnapGridOffsetY( 0 )
 c.setSnapGridResolution( 2.5 )
 c.setNumPages( 1 )

 cl = QgsComposerLabel( c )
 cl.setItemPosition( 0, 10, 100, 100 )
 content = 'test'
 cl.setText( content )
 cl.setFrameEnabled( False )
 c.addItem( cl )

 c.exportAsPDF( '/tmp/test.pdf' )

 NB: I just discoverd that QgsComposition( QgsMapRenderer() ) is
 deprecated since QGIS 2.4 as explained here:
 http://www2.qgis.org/api/deprecated.html
 But using it or the new instanciation does not change the problem.

 Has anyone any hint on this issue ?

 Thanks in advance
 Michael



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

[Qgis-developer] Processing: Batch processing Import into PostGIS | Error

2014-07-07 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.
Apparently the
SRID is missing when attempting to batch import:

Algorithm Import into PostGIS starting...
Algorithm Import into PostGIS correctly executed...
Algorithm Import into PostGIS starting...
Error importing to PostGIS Errore nella creazione della sorgente dati
public.fvg_: ERROR: AddGeometryColumn() - invalid SRID CONTESTO:
SQL statement SELECT AddGeometryColumn('',$1,$2,$3,$4,$5,$6,$7)
PL/pgSQL function addgeometrycolumn(character varying,character
varying,character varying,integer,character varying,integer,boolean)
line 5 at SQL statement

When importing one by one, everything OK.

BTW, it would be good to put sensible defaults for schema name (either
public or a dropdown) and table name (same as shp name, better if
converted with lowercase): should I open a ticket?

All the best, and thanks.
- -- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlO6/HMACgkQ/NedwLUzIr7OHACgh/i72liqXeLecM1DD4O9Ijkv
yqYAniCltOoDJIBph8L8ezzAcgvSLTos
=aZ8J
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] SOSI support in QGIS

2014-07-07 Thread Stott, James
Hi Andre,

Are there any specific tests that you would like me to run?

Or will it suffice with a basic ogr2ogr command like:

ogr2ogr -f ESRI Shapefile out Kystkontur_generalisert.SOS

James

From: qgis-developer-boun...@lists.osgeo.org 
[qgis-developer-boun...@lists.osgeo.org] on behalf of Andre Joost 
[andre+jo...@nurfuerspam.de]
Sent: 07 July 2014 16:31
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] SOSI support in QGIS

Am 07.07.2014 14:16, schrieb Stott, James:

 We are also getting problems with files that contain a lot of data,
 in this situation QGIS will crash with just one layer loaded.


Do these files work fine with ogr2ogr?
Just to make clear that it is not a GDAL issue.

Greetings,
André Joost
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] SOSI support in QGIS

2014-07-07 Thread Andre Joost

Am 07.07.2014 22:21, schrieb Stott, James:

Hi Andre,

Are there any specific tests that you would like me to run?

Or will it suffice with a basic ogr2ogr command like:

ogr2ogr -f ESRI Shapefile out Kystkontur_generalisert.SOS



That would be my first try.

And any other operations in GDAL that use vector data.

Greetings,
André Joost
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] self referencing relations

2014-07-07 Thread Ziegler Stefan
Hi Matthias

I have a layer with 3 polygons. Even without changing the edit widget to 
relation reference it eats my cpu. Toggle the checkbox doesn't help.

Regards
Stefan 

 -Ursprüngliche Nachricht-
 Von: Matthias Kuhn [mailto:matthias.k...@gmx.ch]
 Gesendet: Montag, 7. Juli 2014 16:55
 An: Ziegler Stefan
 Cc: qgis-developer@lists.osgeo.org
 Betreff: Re: [Qgis-developer] self referencing relations
 
 Hi Stefan,
 
 Yes it is possible, but there is no limitation of nesting forms, that's most 
 likely what
 eats up your cpu.
 Alternatively, if you toggle the checkbox show embedded form, does it work?
 
 Best,
 Matthias
 
 On Mon 07 Jul 2014 04:45:04 PM CEST, Ziegler Stefan wrote:
  Hi
 
  Should it be possible to make a self referencing relation (= referencing 
  layer and
 referenced layer are the same qgis layer)? I can define such a relation but 
 opening the
 attribute table ends up with qgis using 100 % cpu. I'm on master.
 
  Regards
  Stefan
 
  Freundliche Grüsse
  Stefan Ziegler
  Kantonsgeometer
 
  Amt für Geoinformation
  Amtliche Vermessung
  Rötistrasse 4
  4500 Solothurn
 
  Telefon +41 32 627 75 96
  Telefax +41 32 627 75 98
  stefan.zieg...@bd.so.ch
  http://www.so.ch
 
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer