Re: [Qgis-user] loading a project from the command line bug

2009-12-09 Thread Craig Leat
Hi Ricardo,

2009/12/9 Ricardo Filipe Soares Garcia da :
> Hey Craig thanks for the --help flag, it indeed states what command
> line arguments can be used. I was dumb to not try it before.
>
> Anyway, can you reproduce that when passing a .qgs as an argument, the
> map canvas behaves erroniously? And what about using the "-project"
> flag?
> I don't have an available Qgis right now to test it.

I tried loading a project with and without the --project flag and
everything seems to work correctly. Sorry, but I don't know what may
be causing the strange behaviour you are seeing. Perhaps you could try
the mailing list again and provide a link to some sample data that
demonstrates the problem?

Regards

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


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Volkan Kepoglu
there was a previous reply from borys about the subject: He explained that

Yes, you need to restart qgis to update the status of this particular
plugin.

It's because the Installer is able to reload only the __init__.py file (not
the
whole plugin) and in this plugin metadata is stored in a nested module
which
is not to be reloaded unless you restart QGIS. We're working on complete
plugin reloading while upgrading.

or maybe i should changed my __init__.py file. but this will affect my
release procedure python script, so if i have find more time, i'll do.

On Wed, Dec 9, 2009 at 11:52 PM, Paolo Cavallini wrote:

>
> Please note: the upgrade seems not to be clean. I keep on having the plugin
> marked as upgradeable, even after the upgrade. This has already happened in
> the past.
> Thanks Volkan!
>
> On Wed, 9 Dec 2009 23:21:34 +0200, Volkan Kepoglu 
> wrote:
> > completed in rev. 0.144. please update the plugin.
> >
> > have a fun with new gui.
>
> --
> http://faunalia.it/pc
>



-- 
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
http:/ggit.metu.edu.tr
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Paolo Cavallini

Please note: the upgrade seems not to be clean. I keep on having the plugin
marked as upgradeable, even after the upgrade. This has already happened in
the past.
Thanks Volkan!

On Wed, 9 Dec 2009 23:21:34 +0200, Volkan Kepoglu 
wrote:
> completed in rev. 0.144. please update the plugin.
> 
> have a fun with new gui.

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


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Volkan Kepoglu
completed in rev. 0.144. please update the plugin.

have a fun with new gui.
volkan

On Wed, Dec 9, 2009 at 4:03 PM, Volkan Kepoglu  wrote:

> I noticed also a few glitches in the plugin gui under linux, do you want
>>> me to send you a few screenshots?
>>>
>>>
>>> Thanks in advance
>>>
>>> -- Giovanni --
>>>
>>>
>>>
> thanks a lot for reminding me to look at the plugin gui under linux.
>
> I will fix all in the new revision.
>
> volkan.
>



-- 
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
http:/ggit.metu.edu.tr
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] ortos aparecem nas coordenadas negativas

2009-12-09 Thread Tim Sutton
Oi Orlando

Lembra outo pessoa que ecrever no mailing list com o mesmo problema. Talvez era 
uma boa isea para buscar no arquivos do mailing list por uma responsa.

O que o formato das imagens?

Abracos

Tim
Sent from my mobile phone.

-Original Message-
From: legio nostra 
Date: Wed, 9 Dec 2009 17:52:15 
To: 
Subject: [Qgis-user] ortos aparecem nas coordenadas negativas

___
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] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Volkan Kepoglu
1. tested code:

import rpy2
import rpy2.robjects as robjects
print(rpy2.__version__)
print(robjects.r)
r = robjects.r
r.require("iplots")[0]
r.require("iplots")
r.require("iplots").r_repr()
r.require("ade4")[0]

2. I am testing the code in the ms-dos prompt with python itself, and it is
ok, the result is

C:\temp>python rpy2_iplots.py
2.0.6

platform: i386-pc-mingw32
arch: i386
os: mingw32
system: i386, mingw32
status:
major: 2
minor: 9.0
year: 2009
month: 04
day: 17
svn rev: 48333
language: R
version.string: R version 2.9.0 (2009-04-17)
Loading required package: iplots
Loading required package: rJava
Warning messages:
1: package 'iplots' was built under R version 2.9.1
2: package 'rJava' was built under R version 2.9.1
Loading required package: ade4

Attaching package: 'ade4'


The following object(s) are masked from package:base :

 within

Warning message:
package 'ade4' was built under R version 2.9.2

C:\temp>

Anne: ade4 package is working very well in my environment.

3. BUT, now tested with pywin32, the pythonwin is crashed.

maybe the problem is related with pywin32, not rpy2.

On Wed, Dec 9, 2009 at 4:37 PM, Agustin Lobo  wrote:

> Sorry I cannot test this further until next weekend.
> So far the only difference with the new version is that
> I get "a formal complaint" on lacking rJava in a popup window instead of
> the list of python errors. But rJava is installed
> and running fine as far as I can tell (which is not a lot as
> I rarely use rJava).
> Thanks for your work.
>
> Agus
>
> Volkan Kepoglu wrote:
>
>> updated with ver. 0.142, could you try that if it is fixed?
>>
>> 1. added loading of rJava package function
>> 2. changed the style of loading of iplot package: first checks the package
>> installed or not
>> and then loads the package but skips to control the package whether it is
>> loaded or not,
>> because, most probably, i think that there is a bug for iplots package.
>> even it is loaded, sometimes do not return true.
>> for this reason, i prefered not to control the library whether loaded or
>> not.
>>
>> On Tue, Dec 8, 2009 at 9:30 PM, Agustin Lobo [via OSGeo.org] <[hidden
>> email] <
>> http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4139061&i=0>>
>> wrote:
>>
>>Dear Volkan,
>>Thanks for SDA4PP.
>>When I try to run the Linked Statistical Display in SDA4PP (0.141)
>>(R 2.10)
>>(QGIS 1.3.0 from ubuntu jaunty binaries) I get the following error
>>despite having the package rJava installed (also: note that rJava is
>>not listed among the dependencies):
>>
>>Traceback (most recent call last):
>>   File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4pp.py", line
>>163, in
>>doIplotTool
>> d = iplot.IplotTool(self.iface)
>>   File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line
>>64, in __init__
>> self.readInputFile()
>>   File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line
>>357, in
>>readInputFile
>> errorChecking = sda4ppLoadRpackage.readLib("iplot")
>>   File
>>"/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py", line
>>57, in readLib
>> result += loadIplot(r)
>>   File
>>"/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py", line
>>137, in loadIplot
>> if (r.require("iplots")[0]):
>>   File
>>"/usr/local/lib/python2.6/dist-packages/rpy2/robjects/__init__.py",
>>line
>>422, in __call__
>> res = super(RFunction, self).__call__(*new_args, **new_kwargs)
>>RRuntimeError: Error: package 'rJava' could not be loaded
>>
>>Thanks,
>>
>>Agus
>>
>>___
>>Qgis-user mailing list
>>[hidden email]
>>
>>
>>http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>>
>>
>> --
>> Regards,
>> Volkan Osman Kepoglu
>> PhD Candidate
>> GGIT Department in METU,
>> http:/ggit.metu.edu.tr 
>>
>> 
>> View this message in context: Re: [Qgis-user] Problem with SDA4PP/Linked
>> Statistical Display <
>> http://n2.nabble.com/Problem-with-SDA4PP-Linked-Statistical-Display-tp4134711p4139061.html
>> >
>> Sent from the qgis-user mailing list archive <
>> http://n2.nabble.com/qgis-user-f2036571.html> at Nabble.com.
>>
>>
>> 
>>
>> ___
>> Qgis-user mailing list
>>
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>


-- 
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
http:/ggit.metu.edu.tr
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] ortos aparecem nas coordenadas negativas

2009-12-09 Thread Giovanni Manghi
Dear Orlando,

this is an English speaking mailing list, if you need support if
Portuguese then write to the following mailing list

http://lists.osgeo.org/mailman/listinfo/portugal

that is the one of the OSGeo Portuguese chapter.

By the way, I'll answer you in private in Portuguese.

cheers

-- Giovanni --



On Wed, 2009-12-09 at 17:52 +, legio nostra wrote:
> Olá a todos,
> 
> tenho uns ortofotomapas que foram georeferenciados nas coordenadas
> positivas (datum_73_Hayford_Gauss_IGeoE) com o programa gvSIG 1.9
> versão estável, 
> 
> mas quando abro os mesmos ortos no Quantum Gis MIMAS, aparecen-me
> sempre nas coordenadas negativas. Alguem me sabe dizer, se existe
> algum plugin para 
> 
> que os ortos apareçam nas coordenadas positivas no Qgis?
> 
> Obrigado pela ajuda
> 
> Orlando Bernardo
> ___
> 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] ortos aparecem nas coordenadas negativas

2009-12-09 Thread legio nostra
Olá a todos,

tenho uns ortofotomapas que foram georeferenciados nas coordenadas positivas
(datum_73_Hayford_Gauss_IGeoE) com o programa gvSIG 1.9 versão estável,

mas quando abro os mesmos ortos no Quantum Gis MIMAS, aparecen-me sempre nas
coordenadas negativas. Alguem me sabe dizer, se existe algum plugin para

que os ortos apareçam nas coordenadas positivas no Qgis?

Obrigado pela ajuda

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


Re: [Qgis-user] geo-referencing

2009-12-09 Thread Ricardo Filipe Soares Garcia da
Olá (hello) Orlando

It isn't very clear to me what you want to do. On your e-mail subject
you speak about georeferencing, but then the message seems to mean
that what you want is to import your data to a postgis database.

I am assuming you want to geo-reference your military maps and orthos
using some vector data as a visual aid in setting your ground control
points (GCP). I assume this vector data is stored in a postgis
database.

In order to geo-reference your data:

1 - Load your vector reference file to the map canvas
2- Use the georeferencer plugin:
2.1 - select your transformation type
2.2 - load your  raster map
2.3 - select your desired coordinate system (in your case epsg 27492)
2.4 - digitize your GCPs and when prompted for the map
coordinates select the option "from map canvas"
2.5 - now click the place on the map canvas (the one with your
vector reference file that you loaded in 1) in the corresponding
position of your GCP
2.6 - repeat this process until you have your desired number
of GCPs and then press the create button

Is this what you are trying to do?

Portuguese language follows:

Orlando, espero que seja o que precisas. Se precisares de ajuda
contacta-me para o meu e-mail e tentarei dar uma explicação mais
clara.

Felicidades

On Wed, Dec 9, 2009 at 10:32 AM, legio nostra  wrote:
> Hello everyone,
>
> I am doing a job for college, and I need to enter in my database, two
> military maps, and also two orthophotomaps. The geo-referencing system I'm
> using is the Datum 73 / Modified Portuguese Grid (deprecated) (EPSG :
> 27492).
>
> Someone can tell me what is the procedure?
>
> Thank you for your help.
>
> P.S. The vector data are already in the Postgres database.
>
> Orlando Bernardo
> ___
> 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


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Agustin Lobo

Sorry I cannot test this further until next weekend.
So far the only difference with the new version is that
I get "a formal complaint" on lacking rJava in a popup window instead of
the list of python errors. But rJava is installed
and running fine as far as I can tell (which is not a lot as
I rarely use rJava).
Thanks for your work.

Agus

Volkan Kepoglu wrote:

updated with ver. 0.142, could you try that if it is fixed?

1. added loading of rJava package function
2. changed the style of loading of iplot package: first checks the 
package installed or not
and then loads the package but skips to control the package whether it 
is loaded or not,
because, most probably, i think that there is a bug for iplots 
package. even it is loaded, sometimes do not return true.
for this reason, i prefered not to control the library whether loaded or 
not.


On Tue, Dec 8, 2009 at 9:30 PM, Agustin Lobo [via OSGeo.org] <[hidden 
email] 
> wrote:


Dear Volkan,
Thanks for SDA4PP.
When I try to run the Linked Statistical Display in SDA4PP (0.141)
(R 2.10)
(QGIS 1.3.0 from ubuntu jaunty binaries) I get the following error
despite having the package rJava installed (also: note that rJava is
not listed among the dependencies):

Traceback (most recent call last):
   File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4pp.py", line
163, in
doIplotTool
 d = iplot.IplotTool(self.iface)
   File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line
64, in __init__
 self.readInputFile()
   File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line
357, in
readInputFile
 errorChecking = sda4ppLoadRpackage.readLib("iplot")
   File
"/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py", line
57, in readLib
 result += loadIplot(r)
   File
"/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py", line
137, in loadIplot
 if (r.require("iplots")[0]):
   File
"/usr/local/lib/python2.6/dist-packages/rpy2/robjects/__init__.py",
line
422, in __call__
 res = super(RFunction, self).__call__(*new_args, **new_kwargs)
RRuntimeError: Error: package 'rJava' could not be loaded

Thanks,

Agus

___
Qgis-user mailing list
[hidden email]

http://lists.osgeo.org/mailman/listinfo/qgis-user




--
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
http:/ggit.metu.edu.tr 


View this message in context: Re: [Qgis-user] Problem with SDA4PP/Linked 
Statistical Display 

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


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Anne Ghisla
Apologises for long email..

On up-to-date Debian Squeeze:

>>> import rpy2
>>> import rpy2.robjects as robjects
>>> print(rpy2.__version__)
2.0.8
>>> print(robjects.r)

platform: i486-pc-linux-gnu
arch: i486
os: linux-gnu
system: i486, linux-gnu
status: 
major: 2
minor: 10.0
year: 2009
month: 10
day: 26
svn rev: 50208
language: R
version.string: R version 2.10.0 (2009-10-26)
>>> r = robjects.r
>>> r.require("iplots")[0] 
[I installed openjdk-6-jdk, as I've already installed other openjdk
packages. Loads fine in R, not in rpy2:]
Loading required package: iplots
Loading required package: rJava
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared library
'/usr/local/lib/R/site-library/rJava/libs/rJava.so':
  libjvm.so: cannot open shared object file: No such file or directory
Error : .onLoad failed in 'loadNamespace' for 'rJava'
Error: package 'rJava' could not be loaded
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python2.5/site-packages/rpy2/robjects/__init__.py",
line 423, in __call__
res = super(RFunction, self).__call__(*new_args, **new_kwargs)
rinterface.RRuntimeError: Error: package 'rJava' could not be loaded

>>> r.require("ade4")
Loading required package: ade4

Attaching package: 'ade4'


The following object(s) are masked from package:base :

 within 


>>> r.require("ade4")[0]
True
>>> 


On Windows XP Home sp3:

>>> import rpy2
>>> import rpy2.robjects as robjects
>>> print(rpy2.__version__)
2.0.3
>>> print(robjects.r)

platform: i486-pc-mingw32
arch: i386
os: mingw32
system: i386, mingw32
status: 
major: 2
minor: 8.0
year: 2008
month: 10
day: 20
svn rev: 46754
language: R
version.string: R version 2.10.0 (2009-10-26)
>>> r = robjects.r
>>> r.require("iplots")[0]
True
>>> r.require("ade4")[0]
True

HTH,
Anne

On Wed, 2009-12-09 at 15:10 +0200, Volkan Kepoglu wrote:
> my rpy version is 2.0.6, maybe we can test our code results at the
> same time.
> 
> 
> >>> import rpy2
> >>> import rpy2.robjects as robjects
> >>> print(rpy2.__version__)
> 2.0.6
> >>> print(robjects.r)
> 
> platform: i386-pc-mingw32
> arch: i386
> os: mingw32
> system: i386, mingw32
> status: 
> major: 2
> minor: 9.0
> year: 2009
> month: 04
> day: 17
> svn rev: 48333
> language: R
> version.string: R version 2.9.0 (2009-04-17)
> >>> r = robjects.r
> >>> r.require("iplots")[0]
> True
> >>> r.require("iplots")
> 
> >>> r.require("iplots").r_repr()
> 'TRUE'
> >>> r.require("ade4")[0] # not installed yet
> False
> >>> # so, now, the system is working pefect
> 
> 
> python 2.5.2
> winXP sp3 64bit
> 
> On Wed, Dec 9, 2009 at 3:02 PM, Anne Ghisla 
> wrote:
> On Wed, 2009-12-09 at 14:51 +0200, Volkan Kepoglu wrote:
> > On Wed, Dec 9, 2009 at 2:24 PM, Anne Ghisla
> 
> > wrote:
> > On Wed, 2009-12-09 at 04:17 -0800, Volkan Kepoglu wrote:
> > > updated with ver. 0.142, could you try that if it is
> fixed?
> > >
> > >
> > > 1. added loading of rJava package function
> > > 2. changed the style of loading of iplot package: first
> checks the
> > > package installed or not
> > > and then loads the package but skips to control the
> package whether
> > it
> > > is loaded or not,
> > > because, most probably, i think that there is a bug for
> iplots
> > > package. even it is loaded, sometimes do not return true.
> > > for this reason, i prefered not to control the library
> whether
> > loaded
> > > or not.
> >
> >
> > Hi Volkan, list,
> >
> > sounds like the ade4 load failure for HomeRange_plugin
> >
> 
> http://sourceforge.net/tracker/?func=detail&aid=2830501&group_id=48422&atid=453021
> >
> > does the require(iplots) work on R?
> >
> >
> > the real problem is that i could not produce the same error
> in every
> > time.
> > sometimes it works and sometimes not.
> 
> 
> Same for me and users that report the problem. Only thing for
> ade4, I
> encountered it mainly on Windows, and R alone showed no
> problems. It can
> be a rpy2 version issue. Unfortunately, extensive testing has
> not been
> done. Let me know how I can help.
> 
> my 2 cents..
> Anne
> 
> 
> 
> 
> -- 
> Regards,
> Volkan Osman Kepoglu
> PhD Candidate
> GGIT Department in METU,
> http:/ggit.metu.edu.tr
> 



signature.asc
Description: This is a digitally signed message part
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Volkan Kepoglu
>
> I noticed also a few glitches in the plugin gui under linux, do you want
>> me to send you a few screenshots?
>>
>>
>> Thanks in advance
>>
>> -- Giovanni --
>>
>>
>>
thanks a lot for reminding me to look at the plugin gui under linux.

I will fix all in the new revision.

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


Re: [Qgis-user] geo-referencing

2009-12-09 Thread Jean-Claude Repetto

legio nostra a écrit :
I am doing a job for college, and I need to enter in my database, two 
military maps, and also two orthophotomaps. The geo-referencing system 
I'm using is the Datum 73 / Modified Portuguese Grid (deprecated) (EPSG 
: 27492).


Someone can tell me what is the procedure?


You just have to use the Georeferencer Plugin. It is described in the
QGIS manual.

Jean-Claude

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


Re: [Qgis-user] loading a project from the command line bug

2009-12-09 Thread Craig Leat
Ricardo wrote:
> I don't really know if opening .qgs files from the command line is a
> supported feature, but if it is, then this behaviour is probably a
> bug. If this feature is not supported, can I make a wish for it?
> Tested with QGis 1.3.0 stable and also with 1.4 (rev. 12337).

$ qgis --help
Quantum GIS - 1.3.0-Mimas 'Mimas' (exported)
Quantum GIS (QGIS) is a viewer for spatial data sets, including
raster and vector data.
Usage: /usr/bin/qgis.bin [options] [FILES]
  options:
[--snapshot filename]   emit snapshot of loaded datasets to given file
[--width width] width of snapshot to emit
[--height height]   height of snapshot to emit
[--lang language]   use language for interface text
[--project projectfile] load the given QGIS project
[--extent xmin,ymin,xmax,ymax]  set initial map extent
[--nologo]  hide splash screen
[--help]this text

  FILES:
Files specified on the command line can include rasters,
vectors, and QGIS project files (.qgs):
 1. Rasters - Supported formats include GeoTiff, DEM
and others supported by GDAL
 2. Vectors - Supported formats include ESRI Shapefiles
and others supported by OGR and PostgreSQL layers using
the PostGIS extension

$qgis MyPrj.qgs
This works.
$qgis --project MyPrj.qgs
This also works.

I find the above explanation a bit confusing. A QGIS project file can
appear as an argument to --project and can also appear in the list of
FILES. It would appear that the following is valid syntax:
$qgis --project MyFirstPrj.qgs MyRaster.tif MyVector.shp
MySecondPrj.qgs MyThirdPrj.qgs

I haven't tested this, but wonder if it would work and handle projects
with different projections? Well rasters in different projections are
definitely a problem.

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


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Volkan Kepoglu
my rpy version is 2.0.6, maybe we can test our code results at the same
time.

>>> import rpy2
>>> import rpy2.robjects as robjects
>>> print(rpy2.__version__)
2.0.6
>>> print(robjects.r)

platform: i386-pc-mingw32
arch: i386
os: mingw32
system: i386, mingw32
status:
major: 2
minor: 9.0
year: 2009
month: 04
day: 17
svn rev: 48333
language: R
version.string: R version 2.9.0 (2009-04-17)
>>> r = robjects.r
>>> r.require("iplots")[0]
True
>>> r.require("iplots")

>>> r.require("iplots").r_repr()
'TRUE'
>>> r.require("ade4")[0] # not installed yet
False
>>> # so, now, the system is working pefect

python 2.5.2
winXP sp3 64bit

On Wed, Dec 9, 2009 at 3:02 PM, Anne Ghisla  wrote:

> On Wed, 2009-12-09 at 14:51 +0200, Volkan Kepoglu wrote:
> > On Wed, Dec 9, 2009 at 2:24 PM, Anne Ghisla 
> > wrote:
> > On Wed, 2009-12-09 at 04:17 -0800, Volkan Kepoglu wrote:
> > > updated with ver. 0.142, could you try that if it is fixed?
> > >
> > >
> > > 1. added loading of rJava package function
> > > 2. changed the style of loading of iplot package: first checks the
> > > package installed or not
> > > and then loads the package but skips to control the package whether
> > it
> > > is loaded or not,
> > > because, most probably, i think that there is a bug for iplots
> > > package. even it is loaded, sometimes do not return true.
> > > for this reason, i prefered not to control the library whether
> > loaded
> > > or not.
> >
> >
> > Hi Volkan, list,
> >
> > sounds like the ade4 load failure for HomeRange_plugin
> >
> http://sourceforge.net/tracker/?func=detail&aid=2830501&group_id=48422&atid=453021
> >
> > does the require(iplots) work on R?
> >
> >
> > the real problem is that i could not produce the same error in every
> > time.
> > sometimes it works and sometimes not.
>
> Same for me and users that report the problem. Only thing for ade4, I
> encountered it mainly on Windows, and R alone showed no problems. It can
> be a rpy2 version issue. Unfortunately, extensive testing has not been
> done. Let me know how I can help.
>
> my 2 cents..
> Anne
>
>


-- 
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
http:/ggit.metu.edu.tr
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Anne Ghisla
On Wed, 2009-12-09 at 14:51 +0200, Volkan Kepoglu wrote:
> On Wed, Dec 9, 2009 at 2:24 PM, Anne Ghisla 
> wrote:
> On Wed, 2009-12-09 at 04:17 -0800, Volkan Kepoglu wrote:
> > updated with ver. 0.142, could you try that if it is fixed?
> >
> >
> > 1. added loading of rJava package function
> > 2. changed the style of loading of iplot package: first checks the
> > package installed or not
> > and then loads the package but skips to control the package whether
> it
> > is loaded or not,
> > because, most probably, i think that there is a bug for iplots
> > package. even it is loaded, sometimes do not return true.
> > for this reason, i prefered not to control the library whether
> loaded
> > or not.
> 
> 
> Hi Volkan, list,
> 
> sounds like the ade4 load failure for HomeRange_plugin
> http://sourceforge.net/tracker/?func=detail&aid=2830501&group_id=48422&atid=453021
> 
> does the require(iplots) work on R?
> 
> 
> the real problem is that i could not produce the same error in every
> time.
> sometimes it works and sometimes not.

Same for me and users that report the problem. Only thing for ade4, I
encountered it mainly on Windows, and R alone showed no problems. It can
be a rpy2 version issue. Unfortunately, extensive testing has not been
done. Let me know how I can help.

my 2 cents.. 
Anne



signature.asc
Description: This is a digitally signed message part
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Volkan Kepoglu
On Wed, Dec 9, 2009 at 2:24 PM, Anne Ghisla  wrote:

> On Wed, 2009-12-09 at 04:17 -0800, Volkan Kepoglu wrote:
> > updated with ver. 0.142, could you try that if it is fixed?
> >
> >
> > 1. added loading of rJava package function
> > 2. changed the style of loading of iplot package: first checks the
> > package installed or not
> > and then loads the package but skips to control the package whether it
> > is loaded or not,
> > because, most probably, i think that there is a bug for iplots
> > package. even it is loaded, sometimes do not return true.
> > for this reason, i prefered not to control the library whether loaded
> > or not.
>
> Hi Volkan, list,
>
> sounds like the ade4 load failure for HomeRange_plugin
>
> http://sourceforge.net/tracker/?func=detail&aid=2830501&group_id=48422&atid=453021
>
> does the require(iplots) work on R?
>
>
the real problem is that i could not produce the same error in every time.
sometimes it works and sometimes not.


> if so, feel free to reopen the ticket on rpy2 trac.
>
> HTH,
> Anne
>
> > On Tue, Dec 8, 2009 at 9:30 PM, Agustin Lobo [via OSGeo.org] <[hidden
> > email]> wrote:
> > Dear Volkan,
> > Thanks for SDA4PP.
> > When I try to run the Linked Statistical Display in SDA4PP
> > (0.141) (R 2.10)
> > (QGIS 1.3.0 from ubuntu jaunty binaries) I get the following
> > error
> > despite having the package rJava installed (also: note that
> > rJava is
> > not listed among the dependencies):
> >
> > Traceback (most recent call last):
> >File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4pp.py",
> > line 163, in
> > doIplotTool
> >  d = iplot.IplotTool(self.iface)
> >File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py",
> > line 64, in __init__
> >  self.readInputFile()
> >File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py",
> > line 357, in
> > readInputFile
> >  errorChecking = sda4ppLoadRpackage.readLib("iplot")
> >File
> > "/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py",
> line
> > 57, in readLib
> >  result += loadIplot(r)
> >File
> > "/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py",
> line
> > 137, in loadIplot
> >  if (r.require("iplots")[0]):
> >File
> >
> "/usr/local/lib/python2.6/dist-packages/rpy2/robjects/__init__.py", line
> > 422, in __call__
> >  res = super(RFunction, self).__call__(*new_args,
> > **new_kwargs)
> > RRuntimeError: Error: package 'rJava' could not be loaded
> >
> > Thanks,
> >
> > Agus
> >
> > ___
> > Qgis-user mailing list
> > [hidden email]
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> >
> >
> > --
> > Regards,
> > Volkan Osman Kepoglu
> > PhD Candidate
> > GGIT Department in METU,
> > http:/ggit.metu.edu.tr
> >
> >
> >
> > __
> > View this message in context: Re: [Qgis-user] Problem with
> > SDA4PP/Linked Statistical Display
> > Sent from the qgis-user mailing list archive at Nabble.com.
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Volkan Kepoglu
yes, off course, please send.

is it exactly the same error message?

On Wed, Dec 9, 2009 at 2:26 PM, Giovanni Manghi
wrote:

> On Wed, 2009-12-09 at 04:17 -0800, Volkan Kepoglu wrote:
> > updated with ver. 0.142, could you try that if it is fixed?
>
>
> Hi Volkan,
> I jut updated the plugin but I still get the error message (using Ubuntu
> 9.10, qgis trunk and R 2.10)
>
>
> I noticed also a few glitches in the plugin gui under linux, do you want
> me to send you a few screenshots?
>
>
> Thanks in advance
>
> -- Giovanni --
>
>
>


-- 
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
http:/ggit.metu.edu.tr
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Giovanni Manghi
On Wed, 2009-12-09 at 04:17 -0800, Volkan Kepoglu wrote:
> updated with ver. 0.142, could you try that if it is fixed?


Hi Volkan,
I jut updated the plugin but I still get the error message (using Ubuntu
9.10, qgis trunk and R 2.10)


I noticed also a few glitches in the plugin gui under linux, do you want
me to send you a few screenshots?


Thanks in advance

-- Giovanni --


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


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Anne Ghisla
On Wed, 2009-12-09 at 04:17 -0800, Volkan Kepoglu wrote:
> updated with ver. 0.142, could you try that if it is fixed?
> 
> 
> 1. added loading of rJava package function
> 2. changed the style of loading of iplot package: first checks the
> package installed or not
> and then loads the package but skips to control the package whether it
> is loaded or not,
> because, most probably, i think that there is a bug for iplots
> package. even it is loaded, sometimes do not return true.
> for this reason, i prefered not to control the library whether loaded
> or not.

Hi Volkan, list,

sounds like the ade4 load failure for HomeRange_plugin 
http://sourceforge.net/tracker/?func=detail&aid=2830501&group_id=48422&atid=453021

does the require(iplots) work on R?

if so, feel free to reopen the ticket on rpy2 trac.

HTH,
Anne

> On Tue, Dec 8, 2009 at 9:30 PM, Agustin Lobo [via OSGeo.org] <[hidden
> email]> wrote:
> Dear Volkan, 
> Thanks for SDA4PP. 
> When I try to run the Linked Statistical Display in SDA4PP
> (0.141) (R 2.10) 
> (QGIS 1.3.0 from ubuntu jaunty binaries) I get the following
> error 
> despite having the package rJava installed (also: note that
> rJava is 
> not listed among the dependencies): 
> 
> Traceback (most recent call last): 
>File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4pp.py",
> line 163, in 
> doIplotTool 
>  d = iplot.IplotTool(self.iface) 
>File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py",
> line 64, in __init__ 
>  self.readInputFile() 
>File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py",
> line 357, in 
> readInputFile 
>  errorChecking = sda4ppLoadRpackage.readLib("iplot") 
>File
> "/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py", 
> line 
> 57, in readLib 
>  result += loadIplot(r) 
>File
> "/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py", 
> line 
> 137, in loadIplot 
>  if (r.require("iplots")[0]): 
>File
> "/usr/local/lib/python2.6/dist-packages/rpy2/robjects/__init__.py", 
> line 
> 422, in __call__ 
>  res = super(RFunction, self).__call__(*new_args,
> **new_kwargs) 
> RRuntimeError: Error: package 'rJava' could not be loaded 
> 
> Thanks, 
> 
> Agus 
> 
> ___ 
> Qgis-user mailing list 
> [hidden email] 
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> 
> 
> -- 
> Regards,
> Volkan Osman Kepoglu
> PhD Candidate
> GGIT Department in METU,
> http:/ggit.metu.edu.tr
> 
> 
> 
> __
> View this message in context: Re: [Qgis-user] Problem with
> SDA4PP/Linked Statistical Display
> 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



signature.asc
Description: This is a digitally signed message part
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display

2009-12-09 Thread Volkan Kepoglu

updated with ver. 0.142, could you try that if it is fixed?

1. added loading of rJava package function
2. changed the style of loading of iplot package: first checks the package
installed or not
and then loads the package but skips to control the package whether it is
loaded or not,
because, most probably, i think that there is a bug for iplots package. even
it is loaded, sometimes do not return true.
for this reason, i prefered not to control the library whether loaded or
not.

On Tue, Dec 8, 2009 at 9:30 PM, Agustin Lobo [via OSGeo.org] <
ml-node+4134711-2016065...@n2.nabble.com
> wrote:

> Dear Volkan,
> Thanks for SDA4PP.
> When I try to run the Linked Statistical Display in SDA4PP (0.141) (R 2.10)
>
> (QGIS 1.3.0 from ubuntu jaunty binaries) I get the following error
> despite having the package rJava installed (also: note that rJava is
> not listed among the dependencies):
>
> Traceback (most recent call last):
>File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4pp.py", line 163, in
> doIplotTool
>  d = iplot.IplotTool(self.iface)
>File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line 64, in
> __init__
>  self.readInputFile()
>File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line 357, in
> readInputFile
>  errorChecking = sda4ppLoadRpackage.readLib("iplot")
>File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py",
> line
> 57, in readLib
>  result += loadIplot(r)
>File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py",
> line
> 137, in loadIplot
>  if (r.require("iplots")[0]):
>File "/usr/local/lib/python2.6/dist-packages/rpy2/robjects/__init__.py",
> line
> 422, in __call__
>  res = super(RFunction, self).__call__(*new_args, **new_kwargs)
> RRuntimeError: Error: package 'rJava' could not be loaded
>
> Thanks,
>
> Agus
>
> ___
> Qgis-user mailing list
> [hidden 
> email]
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> --
>  View message @
> http://n2.nabble.com/Problem-with-SDA4PP-Linked-Statistical-Display-tp4134711p4134711.html
> To unsubscribe from Quantum GIS, click here< (link removed) =>.
>
>
>


-- 
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
http:/ggit.metu.edu.tr

-- 
View this message in context: 
http://n2.nabble.com/Problem-with-SDA4PP-Linked-Statistical-Display-tp4134711p4139061.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


Re: [Qgis-user] geo-referencing

2009-12-09 Thread Yves Jacolin
Hello,

PostGIS/Postgresql does not support Raster data. You should use this
data directly.

Regards,

Y.
legio nostra a écrit :
> Hello everyone,
> 
> I am doing a job for college, and I need to enter in my database, two
> military maps, and also two orthophotomaps. The geo-referencing system
> I'm using is the Datum 73 / Modified Portuguese Grid (deprecated) (EPSG
> : 27492).
> 
> Someone can tell me what is the procedure?
> 
> Thank you for your help.
> 
> 
> P.S. The vector data are already in the Postgres database.
> 
> 
> Orlando Bernardo
> 
> 
> 
> 
> ___
> 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] geo-referencing

2009-12-09 Thread legio nostra
Hello everyone,

I am doing a job for college, and I need to enter in my database, two
military maps, and also two orthophotomaps. The geo-referencing system I'm
using is the Datum 73 / Modified Portuguese Grid (deprecated) (EPSG :
27492).

Someone can tell me what is the procedure?

Thank you for your help.


P.S. The vector data are already in the Postgres database.


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