Re: [Qgis-user] Why no proper QGis Windows installer yet?

2009-03-26 Thread Paolo Cavallini
Michael Toews ha scritto:
 On the topic of GRASS, I'm not sure exactly where the difficulties are, but 
 I'm wondering if GRASS support is really needed for a standalone QGIS 
 installer? From what I understand, QGIS doesn't actually require GRASS at 
 all, except that certain plug-ins do require GRASS. Omitting GRASS from a 
 standalone QGIS installer would cut down the complexity and size of both the 
 installer and installation on host computer. If GRASS functionality is 
 required by a Windows user, then a OSGeo4W should be recommended.

We had a poll a while back, and it turned out that the majority of QGIS
users used the GRASS plugin.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Point sampling tool

2009-03-26 Thread Agustin Lobo

Borys,

First at all, many thanks for your Point Sampling Tool
that we use a lot over here.
I'm now running it for 5000 points and 10 layers on my tiny eee pc
and is taking a while. I was thinking perhaps printing every layer
for every point is making it run much slower?

Agus
begin:vcard
fn:Agustin Lobo
n:Lobo;Agustin
org:Institut de Ciencies de la Terra Jaume Almera CSIC
adr:;;Lluis Sole Sabris s/n;Barcelona;;08028;Spain
email;internet:agustin.l...@ija.csic.es
url:http://www.ija.csic.es/gt/obster
version:2.1
end:vcard

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


Re: [Qgis-user] projecting and un-projecting

2009-03-26 Thread Don MacQueen

Carson and Magnus, thank you for answering.

When I load this shapefile into QGis, the CRS dialog indicates that 
it is EPSG code 4326 :

(+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs ).

That is the default value set in QGis preferences for layers that 
don't have projection information, and not the same as the 
information in the .prj file. Apparently the .prj file is not being 
read??



When I load the shapefile into R using readOGR(), I get:


 proj4string(nycb)
[1]  +proj=lcc +lat_1=40.66 +lat_2=41.03 
+lat_0=40.16 +lon_0=-74 +x_0=30 +y_0=0 +ellps=GRS80 
+datum=NAD83 +to_meter=0.3048006096012192 +no_defs +towgs84=0,0,0



In both QGis and R, the shapefile displays in the projected 
coordinate system, not lat/long.



 bbox(nycb)

min   max
r1 912287.1 1067382.5
r2 116411.4  273617.8

I have since learned how to use spTransform() in R to convert to 
lat/long, i.e.,


new - spTransform(nycb , CRS( +proj=longlat +ellps=GRS80 
+datum=NAD83 +no_defs +towgs84=0,0,0))



 bbox(new)

 min   max
r1 -74.25875 -73.70001
r2  40.48608  40.91766


Going back to QGis, after that little side trip to R:

I tried saving to EPSG code 4269 (+proj=longlat +ellps=GRS80 
+datum=NAD83 +no_defs),
but it had no effect that I can see. For example, I load the saved 
shapefile into QGis, and it overlays exactly on the original.


Note that what Carson suggested is the same as what I used in R's 
spTransform(), except for the +towgs84 string.


At this point I'm at a loss...

-Don

At 8:37 PM + 3/25/09, Carson Farmer wrote:

Hi Don,
I would like to be able do the reverse operation. That is, 
unproject this shapefile and use the Save as Shapefile dialog to 
make a copy that is in lat/long.
Just search by name in the projection selection dialog for nad83, 
and I think you'll find the projection you're looking for... which 
is likely: epsg 4269.


Now you should be able to do the same as before, but you will be 
changing to a geographic CRS, namely, NAD83...


Hope that helps...

Carson

--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation (NCG),
John Hume Building,
National University of Ireland, Maynooth,
Co. Kildare,
Ireland.
Phone: +353 (0) 1 708 6726
Fax:   +353 (0) 1 708 6456
Email: carson.far...@gmail.com
Web:   http:// www. carsonfarmer.com/
  http:// www. ftools.ca/



At 10:58 PM +0100 3/25/09, Magnus Homann wrote:

Don MacQueen skrev:

I would like to be able do the reverse operation. That is, 
unproject this shapefile and use the Save as Shapefile dialog to 
make a copy that is in lat/long.


When you save the shapefile, save it to the WGS 84 projection 
(i.e. CRS). EPSG code is 4326.


I hope that helps!

Magnus



--
--
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062
--
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] question on Ftools - polygon centroids

2009-03-26 Thread Fafner

Hi,
I have a question on the ftool-plugin, and more specifically the geometry tool 
polygon centroids. I find this tool very useful. However, when I use it, 
quite regularly a few points get the X or Y (or both) coordinates transformed 
to negative numbers, instead of x = 1234567 I get x = -1234567. 

Is this a known bug? Is there any way to prevent this? Can I edit the 
coordinates manually to fix this?

I use Qgis 1.0.1_Kore in Ubuntu 8.04lts, I have also experienced the error in 
Qgis for Windows. The coordinate system in use is Sweref99 TM.


thanx / Fafner
-- 
View this message in context: 
http://n2.nabble.com/question-on-Ftools---polygon-centroids-tp2540371p2540371.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] projecting and un-projecting

2009-03-26 Thread Carson Farmer

Don,
When I load this shapefile into QGis, the CRS dialog indicates that it 
is EPSG code 4326 :

(+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs ).

That is the default value set in QGis preferences for layers that 
don't have projection information, and not the same as the information 
in the .prj file. Apparently the .prj file is not being read??
Yes, a bug (that has recently been fixed in trunk) causes non-recognised 
CRS' to be ignored... so really, you have two options... to manually 
adjust the .prj of your shapefile to match one of the ones specified in 
the QGIS database, or two, find the correct CRS using fTools 'define 
current projection' tool to overwrite it automatically... Or you can 
wait for the new release where this probably won't be a problem...



When I load the shapefile into R using readOGR(), I get:


 proj4string(nycb)
[1]  +proj=lcc +lat_1=40.66 +lat_2=41.03 
+lat_0=40.16 +lon_0=-74 +x_0=30 +y_0=0 +ellps=GRS80 
+datum=NAD83 +to_meter=0.3048006096012192 +no_defs +towgs84=0,0,0

Which means R loads the .prj file properly...

Going back to QGis, after that little side trip to R:

I tried saving to EPSG code 4269 (+proj=longlat +ellps=GRS80 
+datum=NAD83 +no_defs),
but it had no effect that I can see. For example, I load the saved 
shapefile into QGis, and it overlays exactly on the original.
Wait, let me get this strait... after transforming the layer in R, you 
saved it to file, and loaded this is QGIS, and it did not recognise the 
projection? Is this correct? Perhaps you could describe your exact steps 
from within R onwards?


Carson

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


Re: [Qgis-user] question on Ftools - polygon centroids

2009-03-26 Thread Carson Farmer

Hi Fafner,
I have a question on the ftool-plugin, and more specifically the geometry tool polygon centroids. I find this tool very useful. However, when I use it, quite regularly a few points get the X or Y (or both) coordinates transformed to negative numbers, instead of x = 1234567 I get x = -1234567. 


Is this a known bug? Is there any way to prevent this? Can I edit the 
coordinates manually to fix this?
  
This is a known bug, and it will be fixed in a future version of fTools, 
however, no simple fix (that I know of) exists yet. It likely only 
happens with certain projections... I'll try to come up with a temporary 
fix in the mean time...


Sorry for the inconvenience,

Carson

--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation (NCG),
John Hume Building,
National University of Ireland, Maynooth,
Co. Kildare,
Ireland.
Phone: +353 (0) 1 708 6726
Fax:   +353 (0) 1 708 6456
Email: carson.far...@gmail.com
Web:   http://www.carsonfarmer.com/
  http://www.ftools.ca/

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


[Qgis-user] Simple question

2009-03-26 Thread Sebastian Cruz

Hello,

I am new at QGIS, I want to know if the measuring tool in QGIS can  
measure in meters instead of degrees. Where do I change this?


Thank you for your help,

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


Re: [Qgis-user] Simple question

2009-03-26 Thread Richard Duivenvoorde

Sebastian Cruz wrote:
I am new at QGIS, I want to know if the measuring tool in QGIS can 
measure in meters instead of degrees. Where do I change this?


Sebas


Hi Sebastian,

IF you are using a projection which is in meters, go to:

Settings / Project Properties / General (tab)
Set Map units part to 'Meters' (and the goo

Hope this helps?

Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] Why no proper QGis Windows installer yet?

2009-03-26 Thread Tim Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Agustin

Agustin Lobo wrote:
 I personally use linux but have had to pay attention to Qgis running on
 Windows
 (and recently on Mac) because most students are using Windows (and, even
 worse, vista).
 But I must say that I feel a bit guilty for this. Somehow I feel that there
 is a lot
 of very good brain time being devoted to deal with windows-related problems
 that could be much better invested on other things (including beach time).
 Therefore, I would prefer being able to push more my students towards linux,
 and this
 would be a good time as they are having so many problems with vista. I'm
 also teching
 people from many different countries (Brazil, Korea, India, USA...), so the
 impact would
 be no-negligeable.
 Nevertheless, I cannot do it. Why? because we still do not have ecw/mrsid
 support for
 binary linux installations of qgis, therefore cannot really tell my students
 that installing qgis for linux is going to be better than installing qgis
 for windows.
 I've said in this list many times that having ecw/mrsid support for
 binary linux installations of qgis is a major issue, perhaps not a sexy one
 for developpers, I can understand it. But, don't know, I must be wrong.
 
 Agus
 
 

The campaign for ecw/sid support on linux is one that should be moved to
the gdal list I think. We are dependent on whatever packages are
available for a givin distro so it makes sense to me to try to get the
gdal packagers to accommodate you here.

Regards



Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknL8cEACgkQqk07qZdiYjd2lgCgsN1OnK4+0lpaA19fIK9i3bWA
oAoAnidikpixS3xicS2iN5lT6PrsO1+7
=5yfO
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] question on Ftools - polygon centroids

2009-03-26 Thread Carson Farmer

Fafner,

Hi Carson
thank you for the prompt reply, thanx also for your awesome work on the ftools.
  
Your first email motivated me to come up with an interim solution (which 
might actually become the permanent fix) this evening.
I will upload this fix to my repository tonight, and you should be able 
to run the centroids tool on pretty much any projection...


Please test (should be version 0.5.8) and let me know if this problem is 
fixed.


Cheers,

Carson

--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation (NCG),
National University of Ireland, Maynooth,
Email: carson.far...@gmail.com
Web:   http://www.carsonfarmer.com/
  http://www.ftools.ca/

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


Re: [Qgis-user] Why no proper QGis Windows installer yet?

2009-03-26 Thread Tim Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Agustin

Agustin Lobo wrote:
 I personally use linux but have had to pay attention to Qgis running on
 Windows
 (and recently on Mac) because most students are using Windows (and, even
 worse, vista).
 But I must say that I feel a bit guilty for this. Somehow I feel that there
 is a lot
 of very good brain time being devoted to deal with windows-related problems
 that could be much better invested on other things (including beach time).
 Therefore, I would prefer being able to push more my students towards linux,
 and this
 would be a good time as they are having so many problems with vista. I'm
 also teching
 people from many different countries (Brazil, Korea, India, USA...), so the
 impact would
 be no-negligeable.
 Nevertheless, I cannot do it. Why? because we still do not have ecw/mrsid
 support for
 binary linux installations of qgis, therefore cannot really tell my students
 that installing qgis for linux is going to be better than installing qgis
 for windows.
 I've said in this list many times that having ecw/mrsid support for
 binary linux installations of qgis is a major issue, perhaps not a sexy one
 for developpers, I can understand it. But, don't know, I must be wrong.
 
 Agus
 
 

The campaign for ecw/sid support on linux is one that should be moved to
the gdal list I think. We are dependent on whatever packages are
available for a givin distro so it makes sense to me to try to get the
gdal packagers to accommodate you here.

Regards



Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknL8cEACgkQqk07qZdiYjd2lgCgsN1OnK4+0lpaA19fIK9i3bWA
oAoAnidikpixS3xicS2iN5lT6PrsO1+7
=5yfO
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] question on Ftools - polygon centroids

2009-03-26 Thread Giovanni Manghi

 Please test (should be version 0.5.8) and let me know if this problem is 
 fixed.
 


Hi Carson,
I just upgraded to 0.5.8 and in manage plugins it now says that ftools
is incompatible and so cannot be activated.


regards

-- Giovanni --

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


Re: [Qgis-user] question on Ftools - polygon centroids

2009-03-26 Thread Carson Farmer
Oops, my bad, I think I deleted the minimum qgis version.. ok I'll 
upload in a minute... the version number won't change, but if you wait 
about 15 minutes you can try to download again...


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