Re: [Qgis-developer] Offline editing Plugin

2010-09-29 Thread Alexander Bruy
Hi,

seems this is a great and very useful tool. I will perform some test soon.
+1 for including it in svn

2010/9/29 Marco Hugentobler marco.hugentob...@sourcepole.ch:
 Hi developers

 There is a new plugin available for synchronising an offline spatialite table
 with a master datasource (e.g. PostGIS or WFS-T). It was developed by Mathias
 Walker.

 I wrote a little blog article about it:
 http://www.sourcepole.ch/2010/9/29/offline-editing-plugin-for-qgis

 It would be nice to add this plugin to qgis svn. What do you think about it?


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


Re: [Qgis-developer] Offline editing Plugin

2010-09-29 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 29/09/2010 11.37.21

 I wrote a little blog article about it:
 http://www.sourcepole.ch/2010/9/29/offline-editing-plugin-for-qgis

I cannot download sources and neither view the screenshot.

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


Re: [Qgis-developer] Offline editing Plugin

2010-09-29 Thread Pirmin Kalberer
Am Mittwoch, 29. September 2010, um 12.08:06 schrieb 
luca_mangane...@comune.trento.it:
 qgis-developer-boun...@lists.osgeo.org scritti il 29/09/2010 11.37.21
 
  I wrote a little blog article about it:
  http://www.sourcepole.ch/2010/9/29/offline-editing-plugin-for-qgis
 
 I cannot download sources and neither view the screenshot.
 

Paths are fixed. Please try again.

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] Offline editing Plugin

2010-09-29 Thread Paolo Cavallini
 On Wed, 29. Sep 2010 at 11:37:21 +0200, Marco Hugentobler wrote:
 There is a new plugin available for synchronising an offline spatialite 
 table 
 with a master datasource (e.g. PostGIS or WFS-T). It was developed by 
 Mathias 
 Walker.

 It would be nice to add this plugin to qgis svn. What do you think about it?

sure, +1!
I think this tool would be nicely integrated in the SpatiaLite Manager.
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] QGis AutoGCP Plugin

2010-09-29 Thread Francois Maass
Hello everyone!

 

I've been struggling with this for quite some time now, but I can't seem to
find the proper solution.  We need to set the projection definition to
provided datasets, and have, up to now, been doing it by using our own
projection dialog. We now want to change our plugin to use the, already
implemented, QGIS projection dialog.

So my question is as follows:  

Is there a way to convert a projection definition such as those returned by
the QGIS projection dialog 
eg:
   +proj=utm +zone=36 +south +a=6378249.144808011 +b=6356514.966204134
+units=m +no_defs

to the extended form such as the following:


   PROJCS[UTM Zone 36, Southern Hemisphere,GEOGCS[Unknown datum based
upon the Clarke 1880 ellipsoid,DATUM[Not specified (based on Clarke 1880
spheroid),SPHEROID[Clarke
1880,6378249.144808011,293.4663076556303,AUTHORITY[EPSG,7034]]],PRIMEM[
Greenwich,0],UNIT[degree,0.0174532925199433]],PROJECTION[Transverse_Mer
cator],PARAMETER[latitude_of_origin,0],PARAMETER[central_meridian,33],P
ARAMETER[scale_factor,0.9996],PARAMETER[false_easting,50],PARAMETER[
false_northing,1000],UNIT[Meter,1]]

 

The reason for this is that the GDAL functions for setting the projection
definition, only accepts the extended form.  If this is already implemented
in a QGIS or other class that you know of, I would greatly appreciate it.
(I don't think I am qualified enough to attempt doing it myself. J )

Thank you for your time and efforts!
Francois Maass
Foxhat Solutions

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


RE: [Qgis-developer] QGis AutoGCP Plugin

2010-09-29 Thread Benoit de Cabissole
Hi Francois,

If you are in Python, you could use GDAL with something like the following:

import osr
...
theProj4Str = +proj=utm +zone=36 +south +a=6378249.144808011
+b=6356514.966204134 +units=m +no_defs
outSr = osr.SpatialReference()
outSr.ImportFromProj4(theProj4Str)
outWkt = outSr.ExportToWkt()

and use outWkt as the 'dst_wtk' parameter for raster creation.

HTH,
Benoit



 -Original Message-
From: qgis-developer-boun...@lists.osgeo.org
[mailto:qgis-developer-boun...@lists.osgeo.org]on Behalf Of Francois Maass
Sent: Wednesday, 29 September 2010 17:33
To: qgis-developer@lists.osgeo.org
Subject: [Qgis-developer] QGis AutoGCP Plugin


  Hello everyone!



  I've been struggling with this for quite some time now, but I can't seem
to find the proper solution.  We need to set the projection definition to
provided datasets, and have, up to now, been doing it by using our own
projection dialog. We now want to change our plugin to use the, already
implemented, QGIS projection dialog.

  So my question is as follows:

  Is there a way to convert a projection definition such as those returned
by the QGIS projection dialog
  eg:
 +proj=utm +zone=36 +south +a=6378249.144808011 +b=6356514.966204134
+units=m +no_defs

  to the extended form such as the following:


 PROJCS[UTM Zone 36, Southern Hemisphere,GEOGCS[Unknown datum based
upon the Clarke 1880 ellipsoid,DATUM[Not specified (based on Clarke 1880
spheroid),SPHEROID[Clarke
1880,6378249.144808011,293.4663076556303,AUTHORITY[EPSG,7034]]],PRIMEM[
Greenwich,0],UNIT[degree,0.0174532925199433]],PROJECTION[Transverse_Mer
cator],PARAMETER[latitude_of_origin,0],PARAMETER[central_meridian,33],P
ARAMETER[scale_factor,0.9996],PARAMETER[false_easting,50],PARAMETER[
false_northing,1000],UNIT[Meter,1]]



  The reason for this is that the GDAL functions for setting the projection
definition, only accepts the extended form.  If this is already implemented
in a QGIS or other class that you know of, I would greatly appreciate it.
(I don't think I am qualified enough to attempt doing it myself. J )

  Thank you for your time and efforts!
  Francois Maass
  Foxhat Solutions
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGis AutoGCP Plugin

2010-09-29 Thread Carson Farmer
I think this is probably what you're looking for:

crs = QgsCoordinateReferenceSystem ()
crs.createFromProj4(theProj4Str)
print crs.toWkt()

no need to use additional libraries or anything!

On 29 September 2010 17:18, Benoit de Cabissole ben...@exigesa.com wrote:
 Hi Francois,

 If you are in Python, you could use GDAL with something like the following:

 import osr
 ...
 theProj4Str = +proj=utm +zone=36 +south +a=6378249.144808011
 +b=6356514.966204134 +units=m +no_defs
 outSr = osr.SpatialReference()
 outSr.ImportFromProj4(theProj4Str)
 outWkt = outSr.ExportToWkt()

 and use outWkt as the 'dst_wtk' parameter for raster creation.

 HTH,
 Benoit



  -Original Message-
 From: qgis-developer-boun...@lists.osgeo.org
 [mailto:qgis-developer-boun...@lists.osgeo.org]on Behalf Of Francois Maass
 Sent: Wednesday, 29 September 2010 17:33
 To: qgis-developer@lists.osgeo.org
 Subject: [Qgis-developer] QGis AutoGCP Plugin

 Hello everyone!



 I’ve been struggling with this for quite some time now, but I can’t seem to
 find the proper solution.  We need to set the projection definition to
 provided datasets, and have, up to now, been doing it by using our own
 projection dialog. We now want to change our plugin to use the, already
 implemented, QGIS projection dialog.

 So my question is as follows:

 Is there a way to convert a projection definition such as those returned by
 the QGIS projection dialog
 eg:
    +proj=utm +zone=36 +south +a=6378249.144808011 +b=6356514.966204134
 +units=m +no_defs

 to the extended form such as the following:

    PROJCS[UTM Zone 36, Southern Hemisphere,GEOGCS[Unknown datum based
 upon the Clarke 1880 ellipsoid,DATUM[Not specified (based on Clarke 1880
 spheroid),SPHEROID[Clarke
 1880,6378249.144808011,293.4663076556303,AUTHORITY[EPSG,7034]]],PRIMEM[Greenwich,0],UNIT[degree,0.0174532925199433]],PROJECTION[Transverse_Mercator],PARAMETER[latitude_of_origin,0],PARAMETER[central_meridian,33],PARAMETER[scale_factor,0.9996],PARAMETER[false_easting,50],PARAMETER[false_northing,1000],UNIT[Meter,1]]



 The reason for this is that the GDAL functions for setting the projection
 definition, only accepts the extended form.  If this is already implemented
 in a QGIS or other class that you know of, I would greatly appreciate it.
 (I don’t think I am qualified enough to attempt doing it myself. J )

 Thank you for your time and efforts!
 Francois Maass
 Foxhat Solutions

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





-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] QGis AutoGCP Plugin

2010-09-29 Thread Benoit de Cabissole
Thanks Carson.

Power resides with knowledge... I was sure there was a QGIS equivalent!

Benoit

 -Original Message-
 From: Carson Farmer [mailto:carson.far...@gmail.com]
 Sent: Wednesday, 29 September 2010 19:30
 To: ben...@exigesa.com
 Cc: Francois Maass; qgis-developer@lists.osgeo.org
 Subject: Re: [Qgis-developer] QGis AutoGCP Plugin


 I think this is probably what you're looking for:

 crs = QgsCoordinateReferenceSystem ()
 crs.createFromProj4(theProj4Str)
 print crs.toWkt()

 no need to use additional libraries or anything!

 On 29 September 2010 17:18, Benoit de Cabissole
 ben...@exigesa.com wrote:
  Hi Francois,
 
  If you are in Python, you could use GDAL with something like
 the following:
 
  import osr
  ...
  theProj4Str = +proj=utm +zone=36 +south +a=6378249.144808011
  +b=6356514.966204134 +units=m +no_defs
  outSr = osr.SpatialReference()
  outSr.ImportFromProj4(theProj4Str)
  outWkt = outSr.ExportToWkt()
 
  and use outWkt as the 'dst_wtk' parameter for raster creation.
 
  HTH,
  Benoit
 
 
 
   -Original Message-
  From: qgis-developer-boun...@lists.osgeo.org
  [mailto:qgis-developer-boun...@lists.osgeo.org]on Behalf Of
 Francois Maass
  Sent: Wednesday, 29 September 2010 17:33
  To: qgis-developer@lists.osgeo.org
  Subject: [Qgis-developer] QGis AutoGCP Plugin
 
  Hello everyone!
 
 
 
  I’ve been struggling with this for quite some time now, but I
 can’t seem to
  find the proper solution.  We need to set the projection definition to
  provided datasets, and have, up to now, been doing it by using our own
  projection dialog. We now want to change our plugin to use the, already
  implemented, QGIS projection dialog.
 
  So my question is as follows:
 
  Is there a way to convert a projection definition such as those
 returned by
  the QGIS projection dialog
  eg:
     +proj=utm +zone=36 +south +a=6378249.144808011 +b=6356514.966204134
  +units=m +no_defs
 
  to the extended form such as the following:
 
     PROJCS[UTM Zone 36, Southern Hemisphere,GEOGCS[Unknown datum based
  upon the Clarke 1880 ellipsoid,DATUM[Not specified (based on
 Clarke 1880
  spheroid),SPHEROID[Clarke
 
 1880,6378249.144808011,293.4663076556303,AUTHORITY[EPSG,7034]
 ]],PRIMEM[Greenwich,0],UNIT[degree,0.0174532925199433]],PROJEC
 TION[Transverse_Mercator],PARAMETER[latitude_of_origin,0],PARA
 METER[central_meridian,33],PARAMETER[scale_factor,0.9996],PARA
 METER[false_easting,50],PARAMETER[false_northing,1000]
 ,UNIT[Meter,1]]
 
 
 
  The reason for this is that the GDAL functions for setting the
 projection
  definition, only accepts the extended form.  If this is already
 implemented
  in a QGIS or other class that you know of, I would greatly
 appreciate it.
  (I don’t think I am qualified enough to attempt doing it myself. J )
 
  Thank you for your time and efforts!
  Francois Maass
  Foxhat Solutions
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 
 



 --
 Carson J. Q. Farmer
 ISSP Doctoral Fellow
 National Centre for Geocomputation
 National University of Ireland, Maynooth,
 http://www.carsonfarmer.com/

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


Re: [Qgis-developer] Re: [Qgis-user] Quick Print with QGis 1.5

2010-09-29 Thread Tim Sutton
Hi
Yes I am planning to get rid of it and make various other core Plugin
related changes at the hackfest.

Regards Tim

On Sep 29, 2010 9:53 PM, Paolo Cavallini cavall...@faunalia.it wrote:

Il 29/09/2010 21:16, Giovanni Manghi ha scritto:


 the quick print is kind of obsolete and I don't know it will be ever
 developed further.
Is this confirmed?


 Actually the best chance to have a nice quick print, based on the qgis
 print composer, is usi...
If so, why not including it in main source code, and possibly drop
quickprint?
All the best.
--
Paolo Cavallini: http://www.faunalia.it/pc
___
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